From ed6baec0dbc40b70b93925af108e846008b7ee1c Mon Sep 17 00:00:00 2001 From: Bobbie Soedirgo Date: Sat, 27 Feb 2021 13:07:43 +0800 Subject: [PATCH 1/5] chore: remove old docs These are pretty outdated, we can add back OAS stuff later when we need it. --- README.md | 4 - docs/.dockerignore | 2 - docs/.editorconfig | 12 - docs/.eslintrc.json | 265 - docs/.gitignore | 48 - docs/.nojekyll | 1 - docs/.travis.yml | 9 - docs/Dockerfile | 15 - docs/LICENSE | 204 - docs/Procfile | 1 - docs/README.md | 145 - docs/api.yml | 1114 -- docs/apisguru.html | 981 -- docs/app.json | 19 - docs/arapaho.js | 130 - docs/asyncapi.html | 890 -- docs/buildstyle.js | 35 - docs/docs/include.md | 33 - docs/docs/logo.jpg | Bin 5643 -> 0 bytes docs/docs/screenshot.jpg | Bin 69979 -> 0 bytes docs/index.html | 9883 --------------- docs/index.js | 414 - docs/jsconfig.json | 5 - docs/master.html | 167 - docs/package-lock.json | 5576 --------- docs/package.json | 62 - docs/portal.html | 154 - docs/pub/css/darkula.css | 152 - docs/pub/css/obsidian.css | 152 - docs/pub/css/print.css | 495 - docs/pub/css/print_overrides.css | 1 - docs/pub/css/screen.css | 797 -- docs/pub/css/screen_overrides.css | 43 - docs/pub/css/theme_overrides.css | 1 - docs/pub/css/tradegecko.min.css | 1 - docs/pub/js/.gitignore | 1 - docs/pub/js/dummy.js | 0 docs/semoasa.html | 236 - docs/shins.js | 57 - docs/source/apisguru.html.md | 923 -- docs/source/asyncapi.html.md | 417 - docs/source/fonts/slate.eot | Bin 1876 -> 0 bytes docs/source/fonts/slate.svg | 14 - docs/source/fonts/slate.ttf | Bin 1720 -> 0 bytes docs/source/fonts/slate.woff | Bin 1796 -> 0 bytes docs/source/fonts/slate.woff2 | Bin 796 -> 0 bytes docs/source/images/logo.png | Bin 7967 -> 0 bytes docs/source/images/navbar.png | Bin 96 -> 0 bytes docs/source/include.md | 3 - docs/source/includes/_errors.md | 22 - docs/source/includes/_head.md | 2 - docs/source/index.html.md | 6871 ----------- docs/source/javascripts/.eslintrc.json | 266 - docs/source/javascripts/all.bundle.inc | 1 - docs/source/javascripts/all.inc | 22 - docs/source/javascripts/all.js | 2 - docs/source/javascripts/all_nosearch.inc | 18 - docs/source/javascripts/all_nosearch.js | 16 - docs/source/javascripts/app/.eslintrc.json | 9 - docs/source/javascripts/app/_lang.js | 164 - docs/source/javascripts/app/_search.js | 98 - docs/source/javascripts/app/_toc.js | 122 - docs/source/javascripts/lib/_energize.js | 169 - .../javascripts/lib/_imagesloaded.min.js | 7 - .../javascripts/lib/_jquery.highlight.js | 108 - docs/source/javascripts/lib/_jquery.js | 10253 ---------------- docs/source/javascripts/lib/_lunr.js | 1910 --- docs/source/layouts/layout.ejs | 122 - docs/source/master.html.md | 26 - docs/source/portal.html.md | 54 - docs/source/semoasa.html.md | 133 - docs/source/stylesheets/_icon-font.scss | 38 - docs/source/stylesheets/_normalize.scss | 427 - docs/source/stylesheets/_rtl.scss | 140 - docs/source/stylesheets/_variables.scss | 103 - docs/source/stylesheets/print.css.scss | 147 - docs/source/stylesheets/screen.css.scss | 615 - docs/supabase-light.svg | 21 - docs/updateFromSlate | 10 - src/server/app.ts | 2 +- 80 files changed, 1 insertion(+), 45359 deletions(-) delete mode 100644 docs/.dockerignore delete mode 100644 docs/.editorconfig delete mode 100644 docs/.eslintrc.json delete mode 100644 docs/.gitignore delete mode 100644 docs/.nojekyll delete mode 100644 docs/.travis.yml delete mode 100644 docs/Dockerfile delete mode 100644 docs/LICENSE delete mode 100644 docs/Procfile delete mode 100644 docs/README.md delete mode 100644 docs/api.yml delete mode 100644 docs/apisguru.html delete mode 100644 docs/app.json delete mode 100755 docs/arapaho.js delete mode 100644 docs/asyncapi.html delete mode 100644 docs/buildstyle.js delete mode 100644 docs/docs/include.md delete mode 100644 docs/docs/logo.jpg delete mode 100644 docs/docs/screenshot.jpg delete mode 100644 docs/index.html delete mode 100644 docs/index.js delete mode 100644 docs/jsconfig.json delete mode 100644 docs/master.html delete mode 100644 docs/package-lock.json delete mode 100644 docs/package.json delete mode 100644 docs/portal.html delete mode 100644 docs/pub/css/darkula.css delete mode 100644 docs/pub/css/obsidian.css delete mode 100644 docs/pub/css/print.css delete mode 100644 docs/pub/css/print_overrides.css delete mode 100644 docs/pub/css/screen.css delete mode 100644 docs/pub/css/screen_overrides.css delete mode 100644 docs/pub/css/theme_overrides.css delete mode 100644 docs/pub/css/tradegecko.min.css delete mode 100644 docs/pub/js/.gitignore delete mode 100644 docs/pub/js/dummy.js delete mode 100644 docs/semoasa.html delete mode 100755 docs/shins.js delete mode 100644 docs/source/apisguru.html.md delete mode 100644 docs/source/asyncapi.html.md delete mode 100644 docs/source/fonts/slate.eot delete mode 100644 docs/source/fonts/slate.svg delete mode 100644 docs/source/fonts/slate.ttf delete mode 100644 docs/source/fonts/slate.woff delete mode 100644 docs/source/fonts/slate.woff2 delete mode 100644 docs/source/images/logo.png delete mode 100644 docs/source/images/navbar.png delete mode 100644 docs/source/include.md delete mode 100644 docs/source/includes/_errors.md delete mode 100644 docs/source/includes/_head.md delete mode 100644 docs/source/index.html.md delete mode 100644 docs/source/javascripts/.eslintrc.json delete mode 100644 docs/source/javascripts/all.bundle.inc delete mode 100644 docs/source/javascripts/all.inc delete mode 100644 docs/source/javascripts/all.js delete mode 100644 docs/source/javascripts/all_nosearch.inc delete mode 100644 docs/source/javascripts/all_nosearch.js delete mode 100644 docs/source/javascripts/app/.eslintrc.json delete mode 100644 docs/source/javascripts/app/_lang.js delete mode 100644 docs/source/javascripts/app/_search.js delete mode 100644 docs/source/javascripts/app/_toc.js delete mode 100644 docs/source/javascripts/lib/_energize.js delete mode 100644 docs/source/javascripts/lib/_imagesloaded.min.js delete mode 100644 docs/source/javascripts/lib/_jquery.highlight.js delete mode 100644 docs/source/javascripts/lib/_jquery.js delete mode 100644 docs/source/javascripts/lib/_lunr.js delete mode 100644 docs/source/layouts/layout.ejs delete mode 100644 docs/source/master.html.md delete mode 100644 docs/source/portal.html.md delete mode 100644 docs/source/semoasa.html.md delete mode 100644 docs/source/stylesheets/_icon-font.scss delete mode 100644 docs/source/stylesheets/_normalize.scss delete mode 100644 docs/source/stylesheets/_rtl.scss delete mode 100644 docs/source/stylesheets/_variables.scss delete mode 100644 docs/source/stylesheets/print.css.scss delete mode 100644 docs/source/stylesheets/screen.css.scss delete mode 100644 docs/supabase-light.svg delete mode 100755 docs/updateFromSlate diff --git a/README.md b/README.md index ca7e1be6..fa531814 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,6 @@ A RESTful API for managing your Postgres. Fetch tables, add roles, and run queries (and more). -## Usage - -Full documentation: https://supabase.github.io/postgres-meta/ - ## Quickstart Set the following ENV VARS: diff --git a/docs/.dockerignore b/docs/.dockerignore deleted file mode 100644 index 93f13619..00000000 --- a/docs/.dockerignore +++ /dev/null @@ -1,2 +0,0 @@ -node_modules -npm-debug.log diff --git a/docs/.editorconfig b/docs/.editorconfig deleted file mode 100644 index 88df879c..00000000 --- a/docs/.editorconfig +++ /dev/null @@ -1,12 +0,0 @@ -root = true - -[*] -end_of_line = lf -indent_style = space -indent_size = 4 -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true - -[*.md] -trim_trailing_whitespace = false diff --git a/docs/.eslintrc.json b/docs/.eslintrc.json deleted file mode 100644 index f6fb5351..00000000 --- a/docs/.eslintrc.json +++ /dev/null @@ -1,265 +0,0 @@ -{ - "env": { - "es6": true, - "node": true - }, - "extends": "eslint:recommended", - "rules": { - "accessor-pairs": "error", - "array-bracket-spacing": [ - "off", - "never" - ], - "array-callback-return": "error", - "arrow-body-style": "off", - "arrow-parens": [ - "off", - "as-needed" - ], - "arrow-spacing": [ - "error", - { - "after": true, - "before": true - } - ], - "block-scoped-var": "off", - "block-spacing": "off", - "brace-style": [ - "off", - "stroustrup" - ], - "callback-return": "off", - "camelcase": "off", - "class-methods-use-this": "error", - "comma-dangle": "error", - "comma-spacing": "off", - "comma-style": [ - "error", - "last" - ], - "complexity": "off", - "computed-property-spacing": [ - "error", - "never" - ], - "consistent-return": "off", - "consistent-this": "error", - "curly": "off", - "default-case": "error", - "dot-location": [ - "off", - "property" - ], - "dot-notation": [ - "error", - { - "allowKeywords": true - } - ], - "eol-last": "error", - "eqeqeq": "off", - "func-call-spacing": "error", - "func-name-matching": "off", - "func-names": "off", - "func-style": [ - "error", - "declaration" - ], - "generator-star-spacing": "off", - "global-require": "off", - "guard-for-in": "off", - "handle-callback-err": "off", - "id-blacklist": "error", - "id-length": "off", - "id-match": "error", - "indent": "off", - "init-declarations": "off", - "jsx-quotes": "error", - "key-spacing": "off", - "keyword-spacing": "off", - "line-comment-position": "off", - "linebreak-style": [ - "error", - "unix" - ], - "lines-around-comment": "off", - "lines-around-directive": "off", - "max-depth": "off", - "max-len": "off", - "max-lines": "off", - "max-nested-callbacks": "error", - "max-params": "off", - "max-statements": "off", - "max-statements-per-line": "off", - "multiline-ternary": [ - "off", - "never" - ], - "new-parens": "error", - "newline-after-var": "off", - "newline-before-return": "off", - "newline-per-chained-call": "off", - "no-alert": "error", - "no-array-constructor": "error", - "no-bitwise": "off", - "no-caller": "error", - "no-catch-shadow": "off", - "no-confusing-arrow": "error", - "no-console": "off", - "no-continue": "off", - "no-div-regex": "error", - "no-duplicate-imports": "error", - "no-else-return": "off", - "no-empty": [ - "warn", - { - "allowEmptyCatch": true - } - ], - "no-empty-function": "off", - "no-eq-null": "error", - "no-eval": "error", - "no-extend-native": "off", - "no-extra-bind": "error", - "no-extra-label": "error", - "no-extra-parens": "off", - "no-floating-decimal": "error", - "no-global-assign": "error", - "no-implicit-globals": "error", - "no-implied-eval": "error", - "no-inline-comments": "off", - "no-inner-declarations": [ - "error", - "functions" - ], - "no-invalid-this": "off", - "no-iterator": "error", - "no-label-var": "error", - "no-labels": "error", - "no-lone-blocks": "error", - "no-lonely-if": "off", - "no-loop-func": "off", - "no-magic-numbers": "off", - "no-mixed-operators": "error", - "no-mixed-requires": "error", - "no-multi-spaces": "off", - "no-multi-str": "error", - "no-multiple-empty-lines": "error", - "no-negated-condition": "error", - "no-nested-ternary": "off", - "no-new": "error", - "no-new-func": "error", - "no-new-object": "error", - "no-new-require": "error", - "no-new-wrappers": "error", - "no-octal-escape": "error", - "no-param-reassign": "off", - "no-path-concat": "error", - "no-plusplus": "off", - "no-process-env": "off", - "no-process-exit": "off", - "no-proto": "error", - "no-prototype-builtins": "error", - "no-restricted-globals": "error", - "no-restricted-imports": "error", - "no-restricted-modules": "error", - "no-restricted-properties": "error", - "no-restricted-syntax": "error", - "no-return-assign": "off", - "no-script-url": "error", - "no-self-compare": "error", - "no-sequences": "error", - "no-shadow": "off", - "no-shadow-restricted-names": "error", - "no-spaced-func": "error", - "no-sync": "off", - "no-tabs": "off", - "no-template-curly-in-string": "error", - "no-ternary": "off", - "no-throw-literal": "error", - "no-trailing-spaces": "error", - "no-undef-init": "error", - "no-undefined": "warn", - "no-underscore-dangle": "off", - "no-unmodified-loop-condition": "error", - "no-unneeded-ternary": [ - "error", - { - "defaultAssignment": true - } - ], - "no-unsafe-negation": "error", - "no-unused-expressions": "error", - "no-unused-vars": "off", - "no-use-before-define": "off", - "no-useless-call": "error", - "no-useless-computed-key": "error", - "no-useless-concat": "off", - "no-useless-constructor": "error", - "no-useless-escape": "off", - "no-useless-rename": "error", - "no-var": "off", - "no-void": "error", - "no-warning-comments": "off", - "no-whitespace-before-property": "error", - "no-with": "error", - "object-curly-newline": "off", - "object-curly-spacing": "off", - "object-property-newline": [ - "off", - { - "allowMultiplePropertiesPerLine": true - } - ], - "object-shorthand": "off", - "one-var": "off", - "one-var-declaration-per-line": "error", - "operator-assignment": "off", - "operator-linebreak": "off", - "padded-blocks": "off", - "prefer-arrow-callback": "off", - "prefer-const": "off", - "prefer-numeric-literals": "error", - "prefer-reflect": "off", - "prefer-rest-params": "error", - "prefer-spread": "error", - "prefer-template": "off", - "quote-props": "off", - "quotes": "off", - "radix": "error", - "require-jsdoc": "off", - "require-yield": "off", - "rest-spread-spacing": "error", - "semi": "off", - "semi-spacing": "off", - "sort-imports": "error", - "sort-keys": "off", - "sort-vars": "off", - "space-before-blocks": "off", - "space-before-function-paren": "off", - "space-in-parens": [ - "error", - "never" - ], - "space-infix-ops": "off", - "space-unary-ops": "error", - "spaced-comment": "off", - "strict": "error", - "symbol-description": "error", - "template-curly-spacing": "error", - "unicode-bom": [ - "error", - "never" - ], - "valid-jsdoc": "off", - "vars-on-top": "off", - "wrap-iife": "error", - "wrap-regex": "off", - "yield-star-spacing": "error", - "yoda": [ - "error", - "never" - ] - } -} diff --git a/docs/.gitignore b/docs/.gitignore deleted file mode 100644 index 7d8d18a7..00000000 --- a/docs/.gitignore +++ /dev/null @@ -1,48 +0,0 @@ -*.txt -compare.js -doit.sh -source/layouts/layout*.erb -source/images/custom_logo.* -spectacle -dev/ -test/ -testroot/ - -# Logs -logs -*.log -npm-debug.log* - -# Runtime data -pids -*.pid -*.seed - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage - -# nyc test coverage -.nyc_output - -# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) -.grunt - -# node-waf configuration -.lock-wscript - -# Compiled binary addons (http://nodejs.org/api/addons.html) -build/Release - -# Dependency directories -node_modules -jspm_packages - -# Optional npm cache directory -.npm - -# Optional REPL history -.node_repl_history -.idea diff --git a/docs/.nojekyll b/docs/.nojekyll deleted file mode 100644 index 792d6005..00000000 --- a/docs/.nojekyll +++ /dev/null @@ -1 +0,0 @@ -# diff --git a/docs/.travis.yml b/docs/.travis.yml deleted file mode 100644 index 64d92ea4..00000000 --- a/docs/.travis.yml +++ /dev/null @@ -1,9 +0,0 @@ -language: node_js -node_js: - - "node" - - "lts/*" - - "10" -script: - - npm run build - - npm run lint - - npm run lintejs diff --git a/docs/Dockerfile b/docs/Dockerfile deleted file mode 100644 index f7d9ab5b..00000000 --- a/docs/Dockerfile +++ /dev/null @@ -1,15 +0,0 @@ -FROM node:dubnium-alpine - -WORKDIR /srv/shins - -# install dependencies -COPY package.json . -RUN npm install - -# install the app -COPY . . - -VOLUME /srv/shins/source - -EXPOSE 4567 -CMD [ "npm", "run", "serve" ] diff --git a/docs/LICENSE b/docs/LICENSE deleted file mode 100644 index 34baba5c..00000000 --- a/docs/LICENSE +++ /dev/null @@ -1,204 +0,0 @@ -Copyright 2008-2013 Concur Technologies, Inc. -Copyright 2016 Mike Ralphson - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/docs/Procfile b/docs/Procfile deleted file mode 100644 index f8762c74..00000000 --- a/docs/Procfile +++ /dev/null @@ -1 +0,0 @@ -web: node --optimize_for_size --max_old_space_size=460 --gc_interval=100 arapaho.js diff --git a/docs/README.md b/docs/README.md deleted file mode 100644 index 12017c53..00000000 --- a/docs/README.md +++ /dev/null @@ -1,145 +0,0 @@ -# shins - -### Shins Is Not Slate - -Beautiful static documentation for your API. - -![logo](https://github.com/Mermade/shins/blob/master/docs/logo.jpg?raw=true) - -Shins is a port of [Slate](https://github.com/slatedocs/slate) to Javascript / Nodejs, and would -not be possible without all of that hard work. - -Version numbers of Shins aim to track the version of Slate they are compatible with. - -![screenshot](https://github.com/Mermade/shins/blob/master/docs/screenshot.jpg?raw=true) - -### Usage - -* Fork the repository -* Clone the fork -* Edit source/index.html.md -* `npm install` -* `node shins.js` (alias `npm run build`) or - * `node shins.js --minify` or - * `node shins.js --customcss` or - * `node shins.js --inline` or - * `node shins.js --unsafe` or - * `node shins.js --no-links` -* To add custom logo add `--logo` option with path to your logo image. -* To use a different layout template (default `source/layouts/layout.ejs` use the `--layout` option. -* To make the logo image link to a webpage, add `--logo-url` option with URL to link to. -* To specify a different output filename from the default `./index.html`, use the `--output` or `-o` option. -* To allow css-style attributes in markdown, specify the `--attr` option. -* You can specify another location for the `source` and `pub` directories using the `--root` option. -* To check locally: `node arapaho` or `npm run serve` and browse to [localhost:4567](http://localhost:4567) - changes to your source `.html.md` files and the `source/includes` directory will automatically be picked up and re-rendered. If you use `--launch` or `-l` or `npm run start` your default browser will be opened automatically. You can also pass `shins` options on the `arapaho` command-line. -* Add, commit and push -* Then (in your fork) press this button - -[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy) - -Or, to deploy to GitHub Pages: - -* Change the setting on your fork so Github Pages are served from the root directory -* Browse to `https://{yourname}.github.io/{repository-name}` - -To deploy to your own web-server: - -If you use the option `--minify` to shins, the only things you need to take to your web host is the generated `index.html` and the contents of the `pub` directory, which should be kept relative to it, so the structure is always: - -``` -{whatever}/index.html -{whatever}/pub/css/ -{whatever}/pub/js/ -``` - -If you use the `--inline` option to shins, then everything is bundled into the `index.html` file and no `pub` directory is required. Fonts are by default loaded from this github repository, but this can be overridden with the `--fonturl` option. - -### Docker - -A `Dockerfile` is included. To build: - -* `docker build . -t shins:latest` - -to run: - -* `docker run -p 4567:4567 -v $(pwd)/source:/srv/shins/source shins:latest` - -### Multiple Shins pages / portal - -There is a simple example of using an [index markdown file](./source/portal.html.md) as an entry point to a collection of Shins pages [here](https://mermade.github.io/shins/portal.html). - -### API - -```javascript -const shins = require('shins'); -let options = {}; -options.cli = false; // if true, missing files will trigger an exit(1) -options.minify = false; -options.customCss = false; -options.inline = false; -options.unsafe = false; // setting to true turns off markdown sanitisation -options['no-links'] = false; // if true, do not automatically convert links in text to anchor tags -//options.source = filename; // used to resolve relative paths for included files -shins.render(markdownString, options, function(err, html) { - // ... -}); -``` - -or, with Promises: - -```javascript -const shins = require('shins'); -let options = {}; -options.cli = false; // if true, missing files will trigger an exit(1) -options.minify = false; -options.customCss = false; -options.inline = false; -options.unsafe = false; // setting to true turns off markdown sanitisation -options['no-links'] = false; // if true, do not automatically convert links in text to anchor tags -//options.source = filename; // used to resolve relative paths for included files -options.logo = './my-custom-logo.png'; -options['logo-url'] = 'https://www.example.com'; -shins.render(markdownString, options) -.then(html => { - // ... -}); -``` - -The `err` parameter is the result of the `ejs` rendering step. - -Setting `customCss` to `true` will include the `pub/css/screen_overrides.css`,`pub/css/print_overrides.css` and `pub/css/theme_override.css` files, in which you can override any of the default Slate theme, to save you from having to alter the main css files directly. This should make syncing up with future Shins / Slate releases easier. - -Setting `inline` to `true` will inline all page resources (except resources referenced via CSS, such as fonts) to output html. This way HTML can be used stand-alone, without needing any other resources. It will also set `minify` to `true`. - -Set `logo` path to add your custom logo as absolute path or path relative to process working directory. If `inline` option is on image will be inlined, else it will be copied to `source/images` directory and included via `src` image attribute. - -Set `logo-url` if you want the logo image to link to a webpage. - -### Updating from Slate - -* Note: changes to Slate CSS, Javascript etc may break assumptions made in Shins. Use at your own risk. -* The script `updateFromSlate` assumes you have Ruby Slate checked-out by the side of shins (i.e. in a sibling directory) and will copy .scss files, fonts, Javascript files etc. -* The `buildstyle.js` program can be used to process the .scss files to their .css equivalents. It takes one optional **parameter**, the `outputStyle` used by `node-sass`. This can be either `nested`, `expanded`, `compact` or `compressed`. Default is `nested`. It also respects the `--root` option. - -### Notes - -* Windows is definitely supported -* Syntax highlighting in 189 [languages](https://highlightjs.org/static/demo/) and 91 [themes](https://highlightjs.org/static/demo/) (you can specify the highlighter theme to use by setting `highlight_theme` in your slate markdown header) -* Multiple language tabs per language are supported -* Static TOC as per Slate v2.0 -* [GitHub emoji shortcuts](https://gist.github.com/rxaviers/7360908) are supported -* For converting [OpenAPI / Swagger](https://github.com/OAI/OpenAPI-Specification) or [AsyncAPI](https://github.com/asyncapi/asyncapi) definitions to Shins or Slate, see [widdershins](http://github.com/mermade/widdershins) -* `arapaho` has a `--preserve` or `-p` option which will not overwrite your `.html` output file, but still re-render when necessary -* Shins ships with an alternate theme by [TradeGecko](https://github.com/tradegecko) which is also under the Apache 2.0 license, `pub/css/tradegecko.min.css` can be included with the `--css` option -* Shins additionally supports [AsciiDoc](http://asciidoctor.org/docs/asciidoc-syntax-quick-reference/#include-files) `include::filename[]` syntax as well as `!INCLUDE filename` from [markdown-pp](https://github.com/MikeRalphson/markdown-pp-js) - this is not supported by Slate. See some [more information about including files](/docs/include.md). - -### Shins in the wild - -Please feel free to add a link to your API documentation here - -* [APIs.guru OpenAPI specification extensions (Semoasa) documentation](https://mermade.github.io/shins/apisguru.html) -* [Signal Biometrics Ox documentation](https://signalbiometrics.github.io/ox-docs/) -* [LeApp daemon API](https://leapp-to.github.io/shins/index.html) -* [Shutterstock API](https://api-reference.shutterstock.com/) -* [Shotstack Video Editing API](https://shotstack.io/docs/api/index.html) - diff --git a/docs/api.yml b/docs/api.yml deleted file mode 100644 index 5886d460..00000000 --- a/docs/api.yml +++ /dev/null @@ -1,1114 +0,0 @@ -openapi: 3 - -info: - title: Postgres API - description: | - Manage your PostgreSQL database using a RESTful API. - - This is still in early development, so most of the functionality is read-only. - - The goal of this API is to enable the full management of a Postgres database using a RESTful interface. This includes adding tables, columns, roles, and users at runtime, as well as running ad-hoc queries. - - Made by Supabase: https://supabase.io - - # Getting started - - ## Usage - - > Basic usage - - ```sh - curl -X GET http://localhost:1337/ \ - -H 'Content-Type: application/json' \ - -H 'X-Connection-Encrypted: ENCRYPTED_STRING' - ``` - ```js - const data = await fetch('http://localhost:1337', { - method: 'GET', - headers: { - 'Content-Type': 'application/json', - 'X-Connection-Encrypted': 'ENCRYPTED_STRING' - } - }) - ``` - - For security reasons, this API is best self-hosted and set up with ENV_VARS with the default connection string. - - If you want to use this with multiple Postgres instances, you can pass the connection string as a header but it must be encrypted. - - - ## Self Hosting - - ``` - https://github.com/supabase/pg-api - ``` - - We support several different methods for self-hosting, detailed in the [repository](https://github.com/supabase/pg-api). - - - ## Authentication - - Authentication is not provided. Make sure you use this inside a secure network or behind a secure API proxy. - contact: - name: Support - url: https://github.com/supabase/pg-api/issues/new/choose - email: support@supabase.io - license: - name: Apache 2.0 - url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 0.11.5 - -paths: - /config: - get: - tags: [/config] - summary: Get all configs - operationId: getConfigs - responses: - '200': - description: Successful operation - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/Config' - - /config/version: - get: - tags: [/config/version] - summary: Get version - operationId: getVersion - responses: - '200': - description: Successful operation - content: - application/json: - schema: - $ref: '#/components/schemas/Version' - - /query: - post: - tags: [/query] - summary: Make a query - operationId: query - responses: - '200': - description: Successful operation - content: - application/json: - schema: - type: array - items: - type: object - - /columns: - get: - tags: [/columns] - summary: Get all columns - operationId: getColumns - parameters: - - name: include_system_schemas - in: query - schema: - type: boolean - responses: - '200': - description: Successful operation - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/Column' - - post: - tags: [/columns] - summary: Add a column - operationId: createColumn - requestBody: - content: - application/json: - schema: - type: object - properties: - name: - type: string - table_id: - type: integer - type: - type: string - default_value: - type: string - is_identity: - type: boolean - is_nullable: - type: boolean - is_primary_key: - type: boolean - is_unique: - type: boolean - required: [name, table_id, type] - required: true - responses: - '200': - description: Successful operation - content: - application/json: - schema: - $ref: '#/components/schemas/Column' - - /columns/{id}: - parameters: - - name: id - in: path - required: true - schema: - type: string - pattern: '\d+\.\d+' - - patch: - tags: [/columns] - summary: Update a column by ID - operationId: updateColumn - requestBody: - content: - application/json: - schema: - type: object - properties: - name: - type: string - type: - type: string - drop_default: - type: boolean - default_value: - type: string - is_nullable: - type: boolean - required: true - responses: - '200': - description: Successful operation - content: - application/json: - schema: - $ref: '#/components/schemas/Column' - - delete: - tags: [/columns] - summary: Delete a column by ID - operationId: deleteColumn - responses: - '200': - description: Successful operation - content: - application/json: - schema: - $ref: '#/components/schemas/Column' - - /extensions: - get: - tags: [/extensions] - summary: Get all extensions - operationId: getExtensions - responses: - '200': - description: Successful operation - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/Extension' - - post: - tags: [/extensions] - summary: Install an extension - operationId: createExtension - requestBody: - content: - application/json: - schema: - type: object - properties: - name: - type: string - schema: - type: string - version: - type: string - cascade: - type: boolean - required: [name] - required: true - responses: - '200': - description: Successful operation - content: - application/json: - schema: - $ref: '#/components/schemas/Extension' - - /extensions/{id}: - parameters: - - name: id - in: path - required: true - schema: - type: integer - - patch: - tags: [/extensions] - summary: Update/modify an extension by ID - operationId: updateExtension - requestBody: - content: - application/json: - schema: - type: object - properties: - update: - type: boolean - version: - type: string - schema: - type: string - required: true - responses: - '200': - description: Successful operation - content: - application/json: - schema: - $ref: '#/components/schemas/Extension' - - delete: - tags: [/extensions] - summary: Uninstall an extension by ID - operationId: deleteExtension - responses: - '200': - description: Successful operation - content: - application/json: - schema: - $ref: '#/components/schemas/Extension' - - /functions: - get: - tags: [/functions] - summary: Get all functions - operationId: getFunctions - parameters: - - name: include_system_schemas - in: query - schema: - type: boolean - responses: - '200': - description: Successful operation - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/Function' - - /policies: - get: - tags: [/policies] - summary: Get all policies - operationId: getPolicies - parameters: - - name: include_system_schemas - in: query - schema: - type: boolean - responses: - '200': - description: Successful operation - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/Policy' - - post: - tags: [/policies] - summary: Create a policy - operationId: createPolicy - requestBody: - content: - application/json: - schema: - type: object - properties: - name: - type: string - schema: - type: string - table: - type: string - required: [name, table] - required: true - responses: - '200': - description: Successful operation - content: - application/json: - schema: - $ref: '#/components/schemas/Policy' - - /policies/{id}: - parameters: - - name: id - in: path - required: true - schema: - type: integer - - patch: - tags: [/policies] - summary: Update a policy by ID - operationId: updatePolicy - requestBody: - content: - application/json: - schema: - type: object - properties: - name: - type: string - schema: - type: string - table: - type: string - required: true - responses: - '200': - description: Successful operation - content: - application/json: - schema: - $ref: '#/components/schemas/Policy' - - delete: - tags: [/policies] - summary: Delete a policy by ID - operationId: deletePolicy - responses: - '200': - description: Successful operation - content: - application/json: - schema: - $ref: '#/components/schemas/Policy' - - /roles: - get: - tags: [/roles] - summary: Get all roles - operationId: getRoles - parameters: - - name: include_system_schemas - in: query - schema: - type: boolean - responses: - '200': - description: Successful operation - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/Role' - - post: - tags: [/roles] - summary: Create a role - operationId: createRole - requestBody: - content: - application/json: - schema: - type: object - properties: - name: - type: string - is_superuser: - type: boolean - can_create_db: - type: boolean - can_create_role: - type: boolean - inherit_role: - type: boolean - can_login: - type: boolean - is_replication_role: - type: boolean - can_bypass_rls: - type: boolean - connection_limit: - type: integer - password: - type: string - valid_until: - type: string - member_of: - type: array - items: - type: string - members: - type: array - items: - type: string - admins: - type: array - items: - type: string - required: [name] - required: true - responses: - '200': - description: Successful operation - content: - application/json: - schema: - $ref: '#/components/schemas/Role' - - /roles/{id}: - parameters: - - name: id - in: path - required: true - schema: - type: integer - - patch: - tags: [/roles] - summary: Update a role by ID - operationId: updateRole - requestBody: - content: - application/json: - schema: - type: object - properties: - name: - type: string - is_superuser: - type: boolean - can_create_db: - type: boolean - can_create_role: - type: boolean - inherit_role: - type: boolean - can_login: - type: boolean - is_replication_role: - type: boolean - can_bypass_rls: - type: boolean - connection_limit: - type: integer - password: - type: string - valid_until: - type: string - required: true - responses: - '200': - description: Successful operation - content: - application/json: - schema: - $ref: '#/components/schemas/Role' - - delete: - tags: [/roles] - summary: Delete a role by ID - operationId: deleteRole - responses: - '200': - description: Successful operation - content: - application/json: - schema: - $ref: '#/components/schemas/Role' - - /schemas: - get: - tags: [/schemas] - summary: Get all schemas - operationId: getSchemas - parameters: - - name: include_system_schemas - in: query - schema: - type: boolean - responses: - '200': - description: Successful operation - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/Schema' - - post: - tags: [/schemas] - summary: Create a schema - operationId: createSchema - requestBody: - content: - application/json: - schema: - type: object - properties: - name: - type: string - owner: - type: string - required: [name, owner] - required: true - responses: - '200': - description: Successful operation - content: - application/json: - schema: - $ref: '#/components/schemas/Schema' - - /schemas/{id}: - parameters: - - name: id - in: path - required: true - schema: - type: integer - - patch: - tags: [/schemas] - summary: Update a schema by ID - operationId: updateSchema - requestBody: - content: - application/json: - schema: - type: object - properties: - name: - type: string - owner: - type: string - required: true - responses: - '200': - description: Successful operation - content: - application/json: - schema: - $ref: '#/components/schemas/Schema' - - delete: - tags: [/schemas] - summary: Delete a schema by ID - operationId: deleteSchema - responses: - '200': - description: Successful operation - content: - application/json: - schema: - $ref: '#/components/schemas/Schema' - - /tables: - get: - tags: [/tables] - summary: Get all tables - operationId: getTables - parameters: - - name: include_system_schemas - in: query - schema: - type: boolean - responses: - '200': - description: Successful operation - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/Table' - - post: - tags: [/tables] - summary: Create a table - operationId: createTable - requestBody: - content: - application/json: - schema: - type: object - properties: - name: - type: string - schema: - type: string - required: [name] - required: true - responses: - '200': - description: Successful operation - content: - application/json: - schema: - $ref: '#/components/schemas/Table' - - /tables/{id}: - parameters: - - name: id - in: path - required: true - schema: - type: integer - - patch: - tags: [/tables] - summary: Update a table by ID - operationId: updateTable - requestBody: - content: - application/json: - schema: - type: object - properties: - schema: - type: string - name: - type: string - rls_enabled: - type: boolean - rls_forced: - type: boolean - required: true - responses: - '200': - description: Successful operation - content: - application/json: - schema: - $ref: '#/components/schemas/Table' - - delete: - tags: [/tables] - summary: Delete a table by ID - operationId: deleteTable - responses: - '200': - description: Successful operation - content: - application/json: - schema: - $ref: '#/components/schemas/Table' - - /types: - get: - tags: [/types] - summary: Get all types - operationId: getTypes - parameters: - - name: include_system_schemas - in: query - schema: - type: boolean - responses: - '200': - description: Successful operation - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/Type' - -components: - schemas: - Column: - type: object - properties: - table_id: - type: integer - schema: - type: string - table: - type: string - id: - type: string - pattern: '\d+\.\d+' - ordinal_position: - type: integer - name: - type: string - default_value: - type: string - data_type: - type: string - format: - type: string - description: - type: string - is_identity: - type: boolean - identity_generation: - type: string - is_nullable: - type: boolean - is_updatable: - type: boolean - enums: - type: array - items: - type: string - - Config: - type: object - properties: - name: - type: string - setting: - type: string - category: - type: string - group: - type: string - subgroup: - type: string - unit: - type: string - nullable: true - short_desc: - type: string - extra_desc: - type: string - nullable: true - context: - type: string - vartype: - type: string - source: - type: string - min_val: - type: string - nullable: true - max_val: - type: string - nullable: true - enumvals: - type: array - items: - type: string - nullable: true - boot_val: - type: string - reset_val: - type: string - sourcefile: - type: string - nullable: true - sourceline: - type: integer - nullable: true - pending_restart: - type: boolean - - Extension: - type: object - properties: - name: - type: string - comment: - type: string - default_version: - type: string - installed_version: - type: string - - Function: - type: object - properties: - id: - type: integer - schema: - type: string - name: - type: string - language: - type: string - definition: - type: string - argument_types: - type: string - return_type: - type: string - - Grant: - type: object - properties: - table_id: - type: integer - grantor: - type: string - grantee: - type: string - catalog: - type: string - schema: - type: string - table_name: - type: string - privilege_type: - type: string - is_grantable: - type: boolean - with_hierarchy: - type: boolean - - Policy: - type: object - properties: - id: - type: integer - name: - type: string - schema: - type: string - table: - type: string - table_id: - type: integer - action: - type: string - enum: [PERMISSIVE, RESTRICTIVE] - roles: - type: array - items: - type: string - command: - type: string - definition: - type: string - check: - type: string - nullable: true - - Role: - type: object - properties: - id: - type: integer - name: - type: string - is_superuser: - type: boolean - can_create_db: - type: boolean - can_create_role: - type: boolean - inherit_role: - type: boolean - can_login: - type: boolean - is_replication_role: - type: boolean - can_bypass_rls: - type: boolean - active_connections: - type: integer - connection_limit: - type: integer - password: - type: string - valid_until: - type: string - nullable: true - config: - type: string - nullable: true - grants: - type: array - items: - $ref: '#/components/schemas/Grant' - - Schema: - type: object - properties: - id: - type: integer - catalog_name: - type: string - name: - type: string - owner: - type: string - default_character_set_catalog: - type: string - nullable: true - default_character_set_schema: - type: string - nullable: true - default_character_set_name: - type: string - nullable: true - sql_path: - type: string - nullable: true - - Table: - type: object - properties: - id: - type: integer - catalog: - type: string - schema: - type: string - name: - type: string - is_insertable_into: - type: boolean - rls_enabled: - type: boolean - rls_forced: - type: boolean - is_typed: - type: boolean - bytes: - type: integer - size: - type: string - seq_scan_count: - type: integer - seq_row_read_count: - type: integer - idx_scan_count: - type: integer - idx_row_read_count: - type: integer - row_ins_count: - type: integer - row_upd_count: - type: integer - row_del_count: - type: integer - row_hot_upd_count: - type: integer - live_row_count: - type: integer - dead_row_count: - type: integer - rows_mod_since_analyze: - type: integer - last_vacuum: - type: string - nullable: true - last_autovacuum: - type: string - nullable: true - last_analyze: - type: string - nullable: true - last_autoanalyze: - type: string - nullable: true - vacuum_count: - type: integer - autovacuum_count: - type: integer - analyze_count: - type: integer - autoanalyze_count: - type: integer - columns: - type: array - items: - $ref: '#/components/schemas/Column' - grants: - type: array - items: - $ref: '#/components/schemas/Grant' - policies: - type: array - items: - $ref: '#/components/schemas/Policy' - primary_keys: - type: array - items: - type: object - properties: - schema: - type: string - table_name: - type: string - name: - type: string - table_id: - type: integer - relationships: - type: array - items: - type: object - properties: - source_schema: - type: string - source_table_name: - type: string - source_column_name: - type: string - target_table_schema: - type: string - target_table_name: - type: string - target_column_name: - type: string - constraint_name: - type: string - - Type: - type: object - properties: - id: - type: integer - name: - type: string - schema: - type: string - format: - type: string - description: - type: string - nullable: true - enums: - type: array - items: - type: string - - Version: - type: object - properties: - version: - type: string - version_number: - type: integer - active_connections: - type: integer - max_connections: - type: integer diff --git a/docs/apisguru.html b/docs/apisguru.html deleted file mode 100644 index 43ef3789..00000000 --- a/docs/apisguru.html +++ /dev/null @@ -1,981 +0,0 @@ - - - - - - - - - Semoasa documentation - - - - - - - - - - - - - - - - - - - - - - - NAV - Navigation - - -
- - -
- - - json - - - - yaml - - -
- - - - - -
- -
- - - -
-
-
-
-

OpenAPI Extensions Documentation

-
-

Scroll down for schema examples. Select a format for examples from the tabs above or the mobile navigation menu.

-
-

This documentation was automatically generated from a v0.1.0 Semoasa document.

-

Semoasa is a machine-readable format for extensions to Swagger/OpenAPI 2.0 and 3.0 specifications.

-

guru.apis

-

Provider: APIs.guru

-

x-apiClientRegistration

-
-

x-apiClientRegistration example

-
-
{
-  "url": "https://developer.bbc.co.uk/user/register"
-}
-
-
url: 'https://developer.bbc.co.uk/user/register'
-
-
-

A link to a sign-up page for the API.

-

A property of the info object, x-apiClientRegistration includes a URL-formatted property url containing the URL to the resource where developers can register to authenticate with the API.

-

APIs.guru OpenAPI Directory Wiki

- - - - - - - - - - - - - - - - - -
PropertyTypeRequiredDescription
urlstring(uri-ref)trueNo description
-

In the OpenAPI specification v2.0, this extension can be used as follows:

- - - - - - - - - - - - - - -
ObjectDescription
InfoObjectThe object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.
-

In the OpenAPI specification v3.x, this extension can be used as follows:

- - - - - - - - - - - - - - -
ObjectDescription
InfoObjectThe object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.
-

x-apisguru-categories

-
-

x-apisguru-categories example

-
-
[
-  "string"
-]
-
-
- string
-
-
-

A property of the info object, x-apisguru-categories is an array of valid values from the list of APIs.guru categories.

-

APIs.guru OpenAPI Directory Wiki

- - - - - - - - - - - - - - - - - -
PropertyTypeRequiredDescription
anonymous[string]falseNo description
-

In the OpenAPI specification v2.0, this extension can be used as follows:

- - - - - - - - - - - - - - -
ObjectDescription
InfoObjectThe object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.
-

In the OpenAPI specification v3.x, this extension can be used as follows:

- - - - - - - - - - - - - - -
ObjectDescription
InfoObjectThe object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.
-

x-description-language

-
-

x-description-language example

-
-
"string"
-
-
string
-
-
-

An ISO-639 two-character language code to identify the natural language used in descriptions, summaries and titles. This can be used as an input to translating these items.

- - - - - - - - - - - - - - - - - -
PropertyTypeRequiredDescription
simplestringfalseNo description
-

In the OpenAPI specification v2.0, this extension can be used as follows:

- - - - - - - - - - - - - - -
ObjectDescription
InfoObjectThe object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.
-

In the OpenAPI specification v3.x, this extension can be used as follows:

- - - - - - - - - - - - - - -
ObjectDescription
InfoObjectThe object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.
-

x-hasEquivalentPaths

-
-

x-hasEquivalentPaths example

-
-
true
-
-
true
-
-
-

A property of the root object, x-hasEquivalentPaths indicates the source specification has multiple paths which map to the same OpenAPI path (possibly disambiguated with HTML fragment identifiers or differently named path parameters).

- - - - - - - - - - - - - - - - - -
PropertyTypeRequiredDescription
simplebooleanfalseNo description
-

In the OpenAPI specification v2.0, this extension can be used as follows:

- - - - - - - - - - - - - - -
ObjectDescription
SwaggerObjectDescription not found
-

In the OpenAPI specification v3.x, this extension can be used as follows:

- - - - - - - - - - - - - - -
ObjectDescription
OpenAPIObjectDescription not found
- -
-

x-logo example

-
-
{
-  "url": "string",
-  "backgroundColor": "string"
-}
-
-
url: string
-backgroundColor: string
-
-
-

A logo for the API.

-

A property of the info object, the x-logo structure holds an absolute URL to the API logo and an optional background colour in HTML hex notation.

-

APIs.guru OpenAPI Directory Wiki

- - - - - - - - - - - - - - - - - - - - - - - -
PropertyTypeRequiredDescription
urlstring(uri-ref)trueNo description
backgroundColorstringfalseNo description
-

In the OpenAPI specification v2.0, this extension can be used as follows:

- - - - - - - - - - - - - - -
ObjectDescription
InfoObjectThe object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.
-

In the OpenAPI specification v3.x, this extension can be used as follows:

- - - - - - - - - - - - - - -
ObjectDescription
InfoObjectThe object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.
-

x-origin

-
-

x-origin example

-
-
[
-  {
-    "url": "http://programmes.api.bbc.com/nitro/api",
-    "contentType": "application/json",
-    "converter": {
-      "url": "https://github.com/mermade/bbcparse",
-      "version": "1.2.0"
-    }
-  },
-  {
-    "format": "swagger",
-    "url": "https://raw.githubusercontent.com/Mermade/bbcparse/master/iblApi/swagger.json",
-    "version": "2.0"
-  }
-]
-
-
- url: 'http://programmes.api.bbc.com/nitro/api'
-  contentType: application/json
-  converter:
-    url: 'https://github.com/mermade/bbcparse'
-    version: 1.2.0
-- format: swagger
-  url: >-
-    https://raw.githubusercontent.com/Mermade/bbcparse/master/iblApi/swagger.json
-  version: '2.0'
-
-
-

A property of the info object, the x-origin structure is used to document the source and format of an API in the collection. It is used to round-trip the process of keeping the APIs updated.

-

Please note, if you include an x-origin extension within your API definition APIs.guru will then append to this array if it exists, allowing an audit trail of the source(s) of an API definition. -Valid values for format

-
    -
  • swagger
  • -
  • api_blueprint
  • -
  • raml
  • -
  • google
  • -
-

In your own x-origin entries you may alternatively use a contentType property instead of a format property. The version property is then optional.

-

You may also specify the converter and version used.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PropertyTypeRequiredDescription
anonymous[object]falseNo description
» urlstring(uri-ref)trueNo description
» formatstringfalseNo description
» versionstringfalseNo description
» contentTypestringfalseNo description
» converterobjectfalseNo description
»» urlstring(uri-ref)falseNo description
»» versionstringfalseNo description
-

In the OpenAPI specification v2.0, this extension can be used as follows:

- - - - - - - - - - - - - - -
ObjectDescription
InfoObjectThe object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.
-

In the OpenAPI specification v3.x, this extension can be used as follows:

- - - - - - - - - - - - - - -
ObjectDescription
InfoObjectThe object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.
-

x-preferred

-
-

x-preferred example

-
-
"string"
-
-
string
-
-
-

A property of the info object, x-preferred is a Boolean property which distinguishes between multiple versions of the same API. Where the x-providerName and x-serviceName are the same, only one definition should be marked x-preferred: true. This helps users of the APIs.guru collection organise and display the APIs.

- - - - - - - - - - - - - - - - - -
PropertyTypeRequiredDescription
simplestringfalseNo description
-

In the OpenAPI specification v2.0, this extension can be used as follows:

- - - - - - - - - - - - - - -
ObjectDescription
InfoObjectThe object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.
-

In the OpenAPI specification v3.x, this extension can be used as follows:

- - - - - - - - - - - - - - -
ObjectDescription
InfoObjectThe object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.
-

x-providerName

-
-

x-providerName example

-
-
"string"
-
-
string
-
-
-

A property of the info object, x-providerName is used to identify the domain of the API host. It is added automatically by APIs.guru

- - - - - - - - - - - - - - - - - -
PropertyTypeRequiredDescription
simplestringfalseNo description
-

In the OpenAPI specification v2.0, this extension can be used as follows:

- - - - - - - - - - - - - - -
ObjectDescription
InfoObjectThe object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.
-

In the OpenAPI specification v3.x, this extension can be used as follows:

- - - - - - - - - - - - - - -
ObjectDescription
InfoObjectThe object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.
-

x-serviceName

-
-

x-serviceName example

-
-
"string"
-
-
string
-
-
-

A property of the info object, x-serviceName is used to distinguish APIs which are served from the same domain. It may be the subdomain if the API uses one. It is added automatically by APIs.guru

- - - - - - - - - - - - - - - - - -
PropertyTypeRequiredDescription
simplestringfalseNo description
-

In the OpenAPI specification v2.0, this extension can be used as follows:

- - - - - - - - - - - - - - -
ObjectDescription
InfoObjectThe object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.
-

In the OpenAPI specification v3.x, this extension can be used as follows:

- - - - - - - - - - - - - - -
ObjectDescription
InfoObjectThe object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.
-

x-tags

-
-

x-tags example

-
-
[
-  "string"
-]
-
-
- string
-
-
-

Also a property of the info object, x-tags is an array of free-form keywords/tags applicable to the API.

- - - - - - - - - - - - - - - - - -
PropertyTypeRequiredDescription
anonymous[string]falseNo description
-

In the OpenAPI specification v2.0, this extension can be used as follows:

- - - - - - - - - - - - - - -
ObjectDescription
InfoObjectThe object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.
-

In the OpenAPI specification v3.x, this extension can be used as follows:

- - - - - - - - - - - - - - -
ObjectDescription
InfoObjectThe object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.
-

x-unofficialSpec

-
-

x-unofficialSpec example

-
-
true
-
-
true
-
-
-

A property of the info object, x-unofficialSpec indicates the definition is produced by a third-party, either manually, by scraping existing documentation or converting a proprietary/undocumented format.

- - - - - - - - - - - - - - - - - -
PropertyTypeRequiredDescription
simplebooleanfalseNo description
-

In the OpenAPI specification v2.0, this extension can be used as follows:

- - - - - - - - - - - - - - -
ObjectDescription
InfoObjectThe object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.
-

In the OpenAPI specification v3.x, this extension can be used as follows:

- - - - - - - - - - - - - - -
ObjectDescription
InfoObjectThe object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.
- - -
-
- -
- - - json - - - - yaml - - -
- -
-
- - diff --git a/docs/app.json b/docs/app.json deleted file mode 100644 index e705eb8d..00000000 --- a/docs/app.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "Shins", - "description": "Shins Is Not Slate", - "repository": "https://github.com/mermade/shins", - "logo": "http://mermade.github.io/shins/logo.jpg", - "keywords": ["api", "slate", "doc", "documentation", "swagger", "openapi", "shins"], - "env": { - "DYNAMIC_URL": { - "description": "The URL to load the source markdown from", - "value": "", - "required": false - }, - "OPENAPI_URL": { - "description": "The URL to load the source OpenAPI spec. from", - "value": "", - "required": false - } - } -} diff --git a/docs/arapaho.js b/docs/arapaho.js deleted file mode 100755 index bb08dfe3..00000000 --- a/docs/arapaho.js +++ /dev/null @@ -1,130 +0,0 @@ -#!/usr/bin/env node -// @ts-check -'use strict'; - -const fs = require('fs'); -const path = require('path'); - -const express = require('express'); -const ejs = require('ejs'); -const compression = require('compression'); -const args = require('tiny-opts-parser')(process.argv); -const opn = require('opn'); -const chokidar = require('chokidar'); - -const shins = require('./index.js'); - -let includesModified = false; -let lastGenTime = {}; -if (args.p) args.preserve = args.p; -if (args.l) args.launch = args.l; -if (args.h) args.help = args.h; -if (args.v) args.verbose = args.v; - -if (args.help) { - console.log('Usage: node arapaho [port] [-l|--launch] [-p|--preserve] [shins-options]'); - process.exit(0); -} - -let app = express(); -app.use(compression()); - -app.set('view engine', 'html'); -app.engine('html', ejs.renderFile); - -if (fs.existsSync('source/includes')) { - chokidar.watch('source/includes', {ignoreInitial:true}).on('all',function(eventType, filename) { - if (args.verbose) console.log(eventType, filename); - includesModified = true; - }); -} - -function getLastGenTime(fpath) { - if (lastGenTime[fpath]) return lastGenTime[fpath]; - return new Date(0); -} - -function check(req,res,fpath) { - fpath = fpath.split('/').join(''); - var srcStat = {mtime: new Date(0)}; - try { - srcStat = fs.statSync(path.join(__dirname,'source',fpath+'.md')); - } - catch (ex) {} - var dstStat = {mtime:getLastGenTime(fpath)}; - if (!args.preserve) { - try { - dstStat = fs.statSync(path.join(__dirname,fpath)); - } - catch (ex) { } - } - if (includesModified || (srcStat.mtime>dstStat.mtime)) { - includesModified = false; - lastGenTime[fpath] = new Date(); - let source = path.join(__dirname,'source',fpath+'.md'); - console.log('Rebuilding',fpath,'from',source); - fs.readFile(source,'utf8',function(err,markdown){ - if (markdown) { - let options = Object.assign({},args); - if (req.query.customcss) { - options.customCss = true; - } - if (req.query.inline) { - options.inline = true; - } - if (req.query.minify) { - options.minify = true; - } - if (req.query.attr) { - options.attr = true; - } - options.source = source; - shins.render(markdown,options,function(err,html){ - if (err) { - console.warn(err); - res.send(err); - } - else { - res.send(html); - if (!args.preserve) { - fs.writeFile(path.join(__dirname,fpath),html,'utf8',function(){}); - } - } - }); - } - else { - res.send(err); - } - }); - } - else { - res.render(path.join(__dirname,fpath)); - } -} - -app.get('/', function(req,res) { - check(req,res,'index.html'); -}); -app.get('*.html', function(req,res) { - check(req,res,req.path); -}); -app.use("/", express.static(__dirname)); - -var myport = process.env.PORT || 4567; -if (args._.length>2) myport = args._[2]; - -var server = app.listen(myport, function () { - var host = server.address().address; - var port = server.address().port; - - console.log('Arapaho server listening at http://%s:%s', host, port); - if (args.launch) { - console.log('Launching...'); - - var url = 'http://'+(host === '::' ? 'localhost' : 'host') + ':' +port+'/' - opn(url).catch(function (ex) { - console.error(`Unable to open URL '${url}'`); - console.error(ex); - }) - } -}); diff --git a/docs/asyncapi.html b/docs/asyncapi.html deleted file mode 100644 index 55ef4067..00000000 --- a/docs/asyncapi.html +++ /dev/null @@ -1,890 +0,0 @@ - - - - - - - - - - AsyncAPI Sample v1.0.0 - - - - - - - - - - - - - - - - - - - - - - - - - NAV - Navigation - - -
- - -
- - - Node.JS - - - - JavaScript - - - - Ruby - - - - Python - - - - Java - - - - Go - - -
- - - - - -
- -
- - - -
-
-
-
-

AsyncAPI Sample v1.0.0

-
-

Scroll down for code samples, example headers and payloads. Select a language for code samples from the tabs above or the mobile navigation menu.

-
-

This is a simple example of an AsyncAPI document.

-

Base URLs:

- -

Base Topic: hitch

-

Terms of service

-

user

-

accounts.1.0.action.user.signup

-

publish

-

Note: Deprecated

-
-

Example headers

-
-

-{
-  "qos": 1,
-  "retainFlag": false
-}
-
-
-

Example payload

-
-

-{
-  "user": {
-    "full_name": "string",
-    "username": "string"
-  },
-  "signup": {
-    "method": "email",
-    "datetime": "2018-04-03T07:32:55Z"
-  }
-}
-
-
-

Code Samples

-
-
const hermes = require('hermesjs');
-const app = hermes();
-
-app.from.client.send({
-  topic: 'accounts.1.0.action.user.signup',
-  payload: {
-  "user": {
-    "full_name": "string",
-    "username": "string"
-  },
-  "signup": {
-    "method": "email",
-    "datetime": "2018-04-03T07:32:55Z"
-  }
-}
-});
-
-
-
//Coming soon...
-
-
-
# Coming soon...
-
-
-
//Coming soon...
-
-
-
/* asyncapi-java-tools */
-try (JmsServer client = builder.build()) {
-
-  client.accounts.1.0.action.user.signup()
-    .publish({
-  "user": {
-    "full_name": "string",
-    "username": "string"
-  },
-  "signup": {
-    "method": "email",
-    "datetime": "2018-04-03T07:32:55Z"
-  }
-})
-    .toCompletableFuture()
-    .get();
-}
-
-
-
//Coming soon...
-
-
-

Action to sign a user up.

-

Multiline description of what this action does. It allows Markdown.

-

Headers

-
Properties
- - - - - - - - - - - - - - - - - - - - - - - -
NameTypeRequiredDescription
qosintegerfalseQuality of Service
retainFlagbooleanfalseThis flag determines if the message will be saved by the broker for the specified topic as last known good value. New clients that subscribe to that topic will receive the last retained message on that topic instantly after subscribing. More on retained messages and best practices in one of the next posts.
-

Payload

-
Properties
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeRequiredDescription
userobjectfalseNo description
full_namestringfalseUser full name
usernamestringtrueUser handle
signupobjectfalseNo description
methodstringtrueSignup method
datetimestringtrueDate and Time of the message
- -

Default

-

accounts.1.0.event.user.signup

-

subscribe

-
-

Example payload

-
-

-{
-  "user": {
-    "id": "string",
-    "full_name": "string",
-    "username": "string"
-  },
-  "signup": {
-    "method": "email",
-    "datetime": "2018-04-03T07:32:55Z"
-  }
-}
-
-
-

Code Samples

-
-
const hermes = require('hermesjs');
-const app = hermes();
-
-app.from.client.send({
-  topic: 'accounts.1.0.event.user.signup',
-  payload: {
-  "user": {
-    "id": "string",
-    "full_name": "string",
-    "username": "string"
-  },
-  "signup": {
-    "method": "email",
-    "datetime": "2018-04-03T07:32:55Z"
-  }
-}
-});
-
-
-
//Coming soon...
-
-
-
# Coming soon...
-
-
-
//Coming soon...
-
-
-
/* asyncapi-java-tools */
-try (JmsServer client = builder.build()) {
-
-  client.accounts.1.0.event.user.signup()
-    .publish({
-  "user": {
-    "id": "string",
-    "full_name": "string",
-    "username": "string"
-  },
-  "signup": {
-    "method": "email",
-    "datetime": "2018-04-03T07:32:55Z"
-  }
-})
-    .toCompletableFuture()
-    .get();
-}
-
-
-
//Coming soon...
-
-
-

Payload

-
Properties
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeRequiredDescription
userobjectfalseNo description
idstringtrueResource identifier
full_namestringfalseUser full name
usernamestringtrueUser handle
signupobjectfalseNo description
methodstringtrueSignup method
datetimestringtrueDate and Time of the message
- -

Schemas

-

id

-

-
"string"
-
-

Properties

- - - - - - - - - - - - - - - - - -
NameTypeRequiredDescription
ididfalseResource identifier
-

username

-

-
"string"
-
-

Properties

- - - - - - - - - - - - - - - - - -
NameTypeRequiredDescription
usernameusernamefalseUser handle
-

datetime

-

-
"2018-04-03T07:32:55Z"
-
-

Properties

- - - - - - - - - - - - - - - - - -
NameTypeRequiredDescription
datetimedatetime(date-time)falseDate and Time of the message
-

MQTTQoSHeader

-

-
1
-
-

Properties

- - - - - - - - - - - - - - - - - -
NameTypeRequiredDescription
qosMQTTQoSHeader(int32)falseQuality of Service
-

Enumerated Values

- - - - - - - - - - - - - - - - - -
PropertyValue
qos0
qos2
-

MQTTRetainHeader

-

-
false
-
-

Properties

- - - - - - - - - - - - - - - - - -
NameTypeRequiredDescription
retainFlagMQTTRetainHeaderfalseThis flag determines if the message will be saved by the broker for the specified topic as last known good value. New clients that subscribe to that topic will receive the last retained message on that topic instantly after subscribing. More on retained messages and best practices in one of the next posts.
-

user

-

-
{
-  "id": "string",
-  "full_name": "string",
-  "username": "string"
-}
-
-

Properties

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeRequiredDescription
» ididtrueResource identifier
» full_namestringfalseUser full name
» usernameusernametrueUser handle
-

userCreate

-

-
{
-  "full_name": "string",
-  "username": "string"
-}
-
-

Properties

- - - - - - - - - - - - - - - - - - - - - - - -
NameTypeRequiredDescription
» full_namestringfalseUser full name
» usernameusernametrueUser handle
-

signup

-

-
{
-  "method": "email",
-  "datetime": "2018-04-03T07:32:55Z"
-}
-
-

Properties

- - - - - - - - - - - - - - - - - - - - - - - -
NameTypeRequiredDescription
» methodstringtrueSignup method
» datetimedatetime(date-time)trueDate and Time of the message
-

Enumerated Values

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PropertyValue
methodemail
methodfacebook
methodtwitter
methodgithub
methodgoogle
- -
-
- -
- - - Node.JS - - - - JavaScript - - - - Ruby - - - - Python - - - - Java - - - - Go - - -
- -
-
- - diff --git a/docs/buildstyle.js b/docs/buildstyle.js deleted file mode 100644 index d19a894e..00000000 --- a/docs/buildstyle.js +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/env node -// @ts-check - -'use strict'; - -const fs = require('fs'); -const path = require('path'); -const sass = require('node-sass'); -const assetFunctions = require('node-sass-asset-functions'); -const options = require('tiny-opts-parser')(process.argv); - -const outputStyle = options._.length > 2 ? options._[2] : 'nested'; - -if (options.r) options.root = options.r; -if (!options.root) options.root = '.'; - -function sassRender(infile,outfile) { - sass.render({ - file: infile, - outputStyle : outputStyle, - functions: assetFunctions({ - http_fonts_path: '../../source/fonts' - }) - }, function(err, result) { - if (err) console.error(err) - else { - fs.writeFile(outfile,result.css.toString(),'utf8',function(err){ - if (err) console.warn(err.message); - }); - } - }); -} - -sassRender(path.join(options.root,'source/stylesheets/screen.css.scss'),path.join(options.root,'pub/css/screen.css')); -sassRender(path.join(options.root,'source/stylesheets/print.css.scss'),path.join(options.root,'pub/css/print.css')); diff --git a/docs/docs/include.md b/docs/docs/include.md deleted file mode 100644 index d0e58cee..00000000 --- a/docs/docs/include.md +++ /dev/null @@ -1,33 +0,0 @@ -# Including files - -Include content from separate markdown files either by using the `include::filename[]` or `!INCLUDE filename` syntax or by configuring them in the header of your markdown file. - -The configuration below will include the files `_file1.md`, `_file2.md` and `_file3.md` from the `/source/includes` path. (Please note that the files will have to begin with an `_` and end with a `.md` extension) - -``` ---- -title: MyAPI v1.0.0 -includes: - - file1 - - file2 - - file3 ---- -``` - -If you wish to include files relative to the shins root path instead just begin the name with a `/`. - -The configuration below will include the files `file1.md`, `file2.md` and `file3.md` from `shins/myfolder`. (Please note that the files have to end with a `.md` extension) -``` ---- -title: MyAPI v1.0.0 -includes: - - /myfolder/file1 - - /myfolder/file2 - - /myfolder/file3 ---- -``` - -The same example if you include files using [widdershins](https://github.com/Mermade/widdershins/). -``` ---includes '/myfolder/file1,/myfolder/file2,/myfolder/file3' -``` diff --git a/docs/docs/logo.jpg b/docs/docs/logo.jpg deleted file mode 100644 index 32bc89316f42baf27dbdf03944164ce411a955d8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5643 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 F{{^pw-P-^F diff --git a/docs/index.html b/docs/index.html deleted file mode 100644 index f4d47c40..00000000 --- a/docs/index.html +++ /dev/null @@ -1,9883 +0,0 @@ - - - - - - - - - - Postgres API v0.0.0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - NAV - Navigation - - -
- - -
- - - Shell - - - - HTTP - - - - JavaScript - - - - Ruby - - - - Python - - - - PHP - - - - Java - - - - Go - - -
- - - -
    - -
    - -
    - - - -
    -
    -
    -
    -

    Postgres API v0.0.0

    -
    -

    Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.

    -
    -

    Manage your PostgreSQL database using a RESTful API.

    -

    This is still in early development, so most of the functionality is read-only.

    -

    The goal of this API is to enable the full management of a Postgres database using a RESTful interface. This includes adding tables, columns, roles, and users at runtime, as well as running ad-hoc queries.

    -

    Made by Supabase: https://supabase.io

    -

    Getting started

    -

    Usage

    -
    -

    Basic usage

    -
    -
    curl -X GET http://localhost:1337/ \
    --H 'Content-Type: application/json' \
    --H 'X-Connection-Encrypted: ENCRYPTED_STRING'
    -
    -
    const data = await fetch('http://localhost:1337', {
    -method: 'GET',
    -headers: {
    -    'Content-Type': 'application/json',
    -    'X-Connection-Encrypted': 'ENCRYPTED_STRING'
    -}
    -})
    -
    -

    For security reasons, this API is best self-hosted and set up with ENV_VARS with the default connection string.

    -

    If you want to use this with multiple Postgres instances, you can pass the connection string as a header but it must be encrypted.

    -

    Self Hosting

    -
    https://github.com/supabase/pg-api
    -
    -

    We support several different methods for self-hosting, detailed in the repository.

    -

    Authentication

    -

    Authentication is not provided. Make sure you use this inside a secure network or behind a secure API proxy.

    -

    Email: Support Web: Support -License: Apache 2.0

    -

    /config

    -

    Get all configs

    -

    -
    -

    Code samples

    -
    -
    # You can also use wget
    -curl -X GET /config \
    -  -H 'Accept: application/json'
    -
    -
    -
    GET /config HTTP/1.1
    -
    -Accept: application/json
    -
    -
    -
    
    -const headers = {
    -  'Accept':'application/json'
    -};
    -
    -fetch('/config',
    -{
    -  method: 'GET',
    -
    -  headers: headers
    -})
    -.then(function(res) {
    -    return res.json();
    -}).then(function(body) {
    -    console.log(body);
    -});
    -
    -
    -
    require 'rest-client'
    -require 'json'
    -
    -headers = {
    -  'Accept' => 'application/json'
    -}
    -
    -result = RestClient.get '/config',
    -  params: {
    -  }, headers: headers
    -
    -p JSON.parse(result)
    -
    -
    -
    import requests
    -headers = {
    -  'Accept': 'application/json'
    -}
    -
    -r = requests.get('/config', headers = headers)
    -
    -print(r.json())
    -
    -
    -
     'application/json',
    -);
    -
    -$client = new \GuzzleHttp\Client();
    -
    -// Define array of request body.
    -$request_body = array();
    -
    -try {
    -    $response = $client->request('GET','/config', array(
    -        'headers' => $headers,
    -        'json' => $request_body,
    -       )
    -    );
    -    print_r($response->getBody()->getContents());
    - }
    - catch (\GuzzleHttp\Exception\BadResponseException $e) {
    -    // handle exception or api errors.
    -    print_r($e->getMessage());
    - }
    -
    - // ...
    -
    -
    -
    URL obj = new URL("/config");
    -HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    -con.setRequestMethod("GET");
    -int responseCode = con.getResponseCode();
    -BufferedReader in = new BufferedReader(
    -    new InputStreamReader(con.getInputStream()));
    -String inputLine;
    -StringBuffer response = new StringBuffer();
    -while ((inputLine = in.readLine()) != null) {
    -    response.append(inputLine);
    -}
    -in.close();
    -System.out.println(response.toString());
    -
    -
    -
    package main
    -
    -import (
    -       "bytes"
    -       "net/http"
    -)
    -
    -func main() {
    -
    -    headers := map[string][]string{
    -        "Accept": []string{"application/json"},
    -    }
    -
    -    data := bytes.NewBuffer([]byte{jsonReq})
    -    req, err := http.NewRequest("GET", "/config", data)
    -    req.Header = headers
    -
    -    client := &http.Client{}
    -    resp, err := client.Do(req)
    -    // ...
    -}
    -
    -
    -

    GET /config

    -
    -

    Example responses

    -
    -
    -

    200 Response

    -
    -
    [
    -  {
    -    "name": "string",
    -    "setting": "string",
    -    "category": "string",
    -    "group": "string",
    -    "subgroup": "string",
    -    "unit": "string",
    -    "short_desc": "string",
    -    "extra_desc": "string",
    -    "context": "string",
    -    "vartype": "string",
    -    "source": "string",
    -    "min_val": "string",
    -    "max_val": "string",
    -    "enumvals": [
    -      "string"
    -    ],
    -    "boot_val": "string",
    -    "reset_val": "string",
    -    "sourcefile": "string",
    -    "sourceline": 0,
    -    "pending_restart": true
    -  }
    -]
    -
    -

    Responses

    - - - - - - - - - - - - - - - - - -
    StatusMeaningDescriptionSchema
    200OKSuccessful operationInline
    -

    Response Schema

    -

    Status Code 200

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeRequiredRestrictionsDescription
    anonymous[Config]falsenonenone
    » namestringfalsenonenone
    » settingstringfalsenonenone
    » categorystringfalsenonenone
    » groupstringfalsenonenone
    » subgroupstringfalsenonenone
    » unitstring¦nullfalsenonenone
    » short_descstringfalsenonenone
    » extra_descstring¦nullfalsenonenone
    » contextstringfalsenonenone
    » vartypestringfalsenonenone
    » sourcestringfalsenonenone
    » min_valstring¦nullfalsenonenone
    » max_valstring¦nullfalsenonenone
    » enumvals[string]¦nullfalsenonenone
    » boot_valstringfalsenonenone
    » reset_valstringfalsenonenone
    » sourcefilestring¦nullfalsenonenone
    » sourcelineinteger¦nullfalsenonenone
    » pending_restartbooleanfalsenonenone
    - -

    /config/version

    -

    Get version

    -

    -
    -

    Code samples

    -
    -
    # You can also use wget
    -curl -X GET /config/version \
    -  -H 'Accept: application/json'
    -
    -
    -
    GET /config/version HTTP/1.1
    -
    -Accept: application/json
    -
    -
    -
    
    -const headers = {
    -  'Accept':'application/json'
    -};
    -
    -fetch('/config/version',
    -{
    -  method: 'GET',
    -
    -  headers: headers
    -})
    -.then(function(res) {
    -    return res.json();
    -}).then(function(body) {
    -    console.log(body);
    -});
    -
    -
    -
    require 'rest-client'
    -require 'json'
    -
    -headers = {
    -  'Accept' => 'application/json'
    -}
    -
    -result = RestClient.get '/config/version',
    -  params: {
    -  }, headers: headers
    -
    -p JSON.parse(result)
    -
    -
    -
    import requests
    -headers = {
    -  'Accept': 'application/json'
    -}
    -
    -r = requests.get('/config/version', headers = headers)
    -
    -print(r.json())
    -
    -
    -
     'application/json',
    -);
    -
    -$client = new \GuzzleHttp\Client();
    -
    -// Define array of request body.
    -$request_body = array();
    -
    -try {
    -    $response = $client->request('GET','/config/version', array(
    -        'headers' => $headers,
    -        'json' => $request_body,
    -       )
    -    );
    -    print_r($response->getBody()->getContents());
    - }
    - catch (\GuzzleHttp\Exception\BadResponseException $e) {
    -    // handle exception or api errors.
    -    print_r($e->getMessage());
    - }
    -
    - // ...
    -
    -
    -
    URL obj = new URL("/config/version");
    -HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    -con.setRequestMethod("GET");
    -int responseCode = con.getResponseCode();
    -BufferedReader in = new BufferedReader(
    -    new InputStreamReader(con.getInputStream()));
    -String inputLine;
    -StringBuffer response = new StringBuffer();
    -while ((inputLine = in.readLine()) != null) {
    -    response.append(inputLine);
    -}
    -in.close();
    -System.out.println(response.toString());
    -
    -
    -
    package main
    -
    -import (
    -       "bytes"
    -       "net/http"
    -)
    -
    -func main() {
    -
    -    headers := map[string][]string{
    -        "Accept": []string{"application/json"},
    -    }
    -
    -    data := bytes.NewBuffer([]byte{jsonReq})
    -    req, err := http.NewRequest("GET", "/config/version", data)
    -    req.Header = headers
    -
    -    client := &http.Client{}
    -    resp, err := client.Do(req)
    -    // ...
    -}
    -
    -
    -

    GET /config/version

    -
    -

    Example responses

    -
    -
    -

    200 Response

    -
    -
    {
    -  "version": "string",
    -  "version_number": 0,
    -  "active_connections": 0,
    -  "max_connections": 0
    -}
    -
    -

    Responses

    - - - - - - - - - - - - - - - - - -
    StatusMeaningDescriptionSchema
    200OKSuccessful operationVersion
    - -

    /query

    -

    Make a query

    -

    -
    -

    Code samples

    -
    -
    # You can also use wget
    -curl -X POST /query \
    -  -H 'Accept: application/json'
    -
    -
    -
    POST /query HTTP/1.1
    -
    -Accept: application/json
    -
    -
    -
    
    -const headers = {
    -  'Accept':'application/json'
    -};
    -
    -fetch('/query',
    -{
    -  method: 'POST',
    -
    -  headers: headers
    -})
    -.then(function(res) {
    -    return res.json();
    -}).then(function(body) {
    -    console.log(body);
    -});
    -
    -
    -
    require 'rest-client'
    -require 'json'
    -
    -headers = {
    -  'Accept' => 'application/json'
    -}
    -
    -result = RestClient.post '/query',
    -  params: {
    -  }, headers: headers
    -
    -p JSON.parse(result)
    -
    -
    -
    import requests
    -headers = {
    -  'Accept': 'application/json'
    -}
    -
    -r = requests.post('/query', headers = headers)
    -
    -print(r.json())
    -
    -
    -
     'application/json',
    -);
    -
    -$client = new \GuzzleHttp\Client();
    -
    -// Define array of request body.
    -$request_body = array();
    -
    -try {
    -    $response = $client->request('POST','/query', array(
    -        'headers' => $headers,
    -        'json' => $request_body,
    -       )
    -    );
    -    print_r($response->getBody()->getContents());
    - }
    - catch (\GuzzleHttp\Exception\BadResponseException $e) {
    -    // handle exception or api errors.
    -    print_r($e->getMessage());
    - }
    -
    - // ...
    -
    -
    -
    URL obj = new URL("/query");
    -HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    -con.setRequestMethod("POST");
    -int responseCode = con.getResponseCode();
    -BufferedReader in = new BufferedReader(
    -    new InputStreamReader(con.getInputStream()));
    -String inputLine;
    -StringBuffer response = new StringBuffer();
    -while ((inputLine = in.readLine()) != null) {
    -    response.append(inputLine);
    -}
    -in.close();
    -System.out.println(response.toString());
    -
    -
    -
    package main
    -
    -import (
    -       "bytes"
    -       "net/http"
    -)
    -
    -func main() {
    -
    -    headers := map[string][]string{
    -        "Accept": []string{"application/json"},
    -    }
    -
    -    data := bytes.NewBuffer([]byte{jsonReq})
    -    req, err := http.NewRequest("POST", "/query", data)
    -    req.Header = headers
    -
    -    client := &http.Client{}
    -    resp, err := client.Do(req)
    -    // ...
    -}
    -
    -
    -

    POST /query

    -
    -

    Example responses

    -
    -
    -

    200 Response

    -
    -
    [
    -  {}
    -]
    -
    -

    Responses

    - - - - - - - - - - - - - - - - - -
    StatusMeaningDescriptionSchema
    200OKSuccessful operationInline
    -

    Response Schema

    - -

    /columns

    -

    Get all columns

    -

    -
    -

    Code samples

    -
    -
    # You can also use wget
    -curl -X GET /columns \
    -  -H 'Accept: application/json'
    -
    -
    -
    GET /columns HTTP/1.1
    -
    -Accept: application/json
    -
    -
    -
    
    -const headers = {
    -  'Accept':'application/json'
    -};
    -
    -fetch('/columns',
    -{
    -  method: 'GET',
    -
    -  headers: headers
    -})
    -.then(function(res) {
    -    return res.json();
    -}).then(function(body) {
    -    console.log(body);
    -});
    -
    -
    -
    require 'rest-client'
    -require 'json'
    -
    -headers = {
    -  'Accept' => 'application/json'
    -}
    -
    -result = RestClient.get '/columns',
    -  params: {
    -  }, headers: headers
    -
    -p JSON.parse(result)
    -
    -
    -
    import requests
    -headers = {
    -  'Accept': 'application/json'
    -}
    -
    -r = requests.get('/columns', headers = headers)
    -
    -print(r.json())
    -
    -
    -
     'application/json',
    -);
    -
    -$client = new \GuzzleHttp\Client();
    -
    -// Define array of request body.
    -$request_body = array();
    -
    -try {
    -    $response = $client->request('GET','/columns', array(
    -        'headers' => $headers,
    -        'json' => $request_body,
    -       )
    -    );
    -    print_r($response->getBody()->getContents());
    - }
    - catch (\GuzzleHttp\Exception\BadResponseException $e) {
    -    // handle exception or api errors.
    -    print_r($e->getMessage());
    - }
    -
    - // ...
    -
    -
    -
    URL obj = new URL("/columns");
    -HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    -con.setRequestMethod("GET");
    -int responseCode = con.getResponseCode();
    -BufferedReader in = new BufferedReader(
    -    new InputStreamReader(con.getInputStream()));
    -String inputLine;
    -StringBuffer response = new StringBuffer();
    -while ((inputLine = in.readLine()) != null) {
    -    response.append(inputLine);
    -}
    -in.close();
    -System.out.println(response.toString());
    -
    -
    -
    package main
    -
    -import (
    -       "bytes"
    -       "net/http"
    -)
    -
    -func main() {
    -
    -    headers := map[string][]string{
    -        "Accept": []string{"application/json"},
    -    }
    -
    -    data := bytes.NewBuffer([]byte{jsonReq})
    -    req, err := http.NewRequest("GET", "/columns", data)
    -    req.Header = headers
    -
    -    client := &http.Client{}
    -    resp, err := client.Do(req)
    -    // ...
    -}
    -
    -
    -

    GET /columns

    -

    Parameters

    - - - - - - - - - - - - - - - - - - - -
    NameInTypeRequiredDescription
    include_system_schemasquerybooleanfalsenone
    -
    -

    Example responses

    -
    -
    -

    200 Response

    -
    -
    [
    -  {
    -    "table_id": 0,
    -    "schema": "string",
    -    "table": "string",
    -    "id": "string",
    -    "ordinal_position": 0,
    -    "name": "string",
    -    "default_value": "string",
    -    "data_type": "string",
    -    "format": "string",
    -    "description": "string",
    -    "is_identity": true,
    -    "identity_generation": "string",
    -    "is_nullable": true,
    -    "is_updatable": true,
    -    "enums": [
    -      "string"
    -    ]
    -  }
    -]
    -
    -

    Responses

    - - - - - - - - - - - - - - - - - -
    StatusMeaningDescriptionSchema
    200OKSuccessful operationInline
    -

    Response Schema

    -

    Status Code 200

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeRequiredRestrictionsDescription
    anonymous[Column]falsenonenone
    » table_idintegerfalsenonenone
    » schemastringfalsenonenone
    » tablestringfalsenonenone
    » idstringfalsenonenone
    » ordinal_positionintegerfalsenonenone
    » namestringfalsenonenone
    » default_valuestringfalsenonenone
    » data_typestringfalsenonenone
    » formatstringfalsenonenone
    » descriptionstringfalsenonenone
    » is_identitybooleanfalsenonenone
    » identity_generationstringfalsenonenone
    » is_nullablebooleanfalsenonenone
    » is_updatablebooleanfalsenonenone
    » enums[string]falsenonenone
    - -

    Add a column

    -

    -
    -

    Code samples

    -
    -
    # You can also use wget
    -curl -X POST /columns \
    -  -H 'Content-Type: application/json' \
    -  -H 'Accept: application/json'
    -
    -
    -
    POST /columns HTTP/1.1
    -
    -Content-Type: application/json
    -Accept: application/json
    -
    -
    -
    const inputBody = '{
    -  "name": "string",
    -  "table_id": 0,
    -  "type": "string",
    -  "default_value": "string",
    -  "is_identity": true,
    -  "is_nullable": true,
    -  "is_primary_key": true,
    -  "is_unique": true
    -}';
    -const headers = {
    -  'Content-Type':'application/json',
    -  'Accept':'application/json'
    -};
    -
    -fetch('/columns',
    -{
    -  method: 'POST',
    -  body: inputBody,
    -  headers: headers
    -})
    -.then(function(res) {
    -    return res.json();
    -}).then(function(body) {
    -    console.log(body);
    -});
    -
    -
    -
    require 'rest-client'
    -require 'json'
    -
    -headers = {
    -  'Content-Type' => 'application/json',
    -  'Accept' => 'application/json'
    -}
    -
    -result = RestClient.post '/columns',
    -  params: {
    -  }, headers: headers
    -
    -p JSON.parse(result)
    -
    -
    -
    import requests
    -headers = {
    -  'Content-Type': 'application/json',
    -  'Accept': 'application/json'
    -}
    -
    -r = requests.post('/columns', headers = headers)
    -
    -print(r.json())
    -
    -
    -
     'application/json',
    -    'Accept' => 'application/json',
    -);
    -
    -$client = new \GuzzleHttp\Client();
    -
    -// Define array of request body.
    -$request_body = array();
    -
    -try {
    -    $response = $client->request('POST','/columns', array(
    -        'headers' => $headers,
    -        'json' => $request_body,
    -       )
    -    );
    -    print_r($response->getBody()->getContents());
    - }
    - catch (\GuzzleHttp\Exception\BadResponseException $e) {
    -    // handle exception or api errors.
    -    print_r($e->getMessage());
    - }
    -
    - // ...
    -
    -
    -
    URL obj = new URL("/columns");
    -HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    -con.setRequestMethod("POST");
    -int responseCode = con.getResponseCode();
    -BufferedReader in = new BufferedReader(
    -    new InputStreamReader(con.getInputStream()));
    -String inputLine;
    -StringBuffer response = new StringBuffer();
    -while ((inputLine = in.readLine()) != null) {
    -    response.append(inputLine);
    -}
    -in.close();
    -System.out.println(response.toString());
    -
    -
    -
    package main
    -
    -import (
    -       "bytes"
    -       "net/http"
    -)
    -
    -func main() {
    -
    -    headers := map[string][]string{
    -        "Content-Type": []string{"application/json"},
    -        "Accept": []string{"application/json"},
    -    }
    -
    -    data := bytes.NewBuffer([]byte{jsonReq})
    -    req, err := http.NewRequest("POST", "/columns", data)
    -    req.Header = headers
    -
    -    client := &http.Client{}
    -    resp, err := client.Do(req)
    -    // ...
    -}
    -
    -
    -

    POST /columns

    -
    -

    Body parameter

    -
    -
    {
    -  "name": "string",
    -  "table_id": 0,
    -  "type": "string",
    -  "default_value": "string",
    -  "is_identity": true,
    -  "is_nullable": true,
    -  "is_primary_key": true,
    -  "is_unique": true
    -}
    -
    -

    Parameters

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameInTypeRequiredDescription
    bodybodyobjecttruenone
    » namebodystringtruenone
    » table_idbodyintegertruenone
    » typebodystringtruenone
    » default_valuebodystringfalsenone
    » is_identitybodybooleanfalsenone
    » is_nullablebodybooleanfalsenone
    » is_primary_keybodybooleanfalsenone
    » is_uniquebodybooleanfalsenone
    -
    -

    Example responses

    -
    -
    -

    200 Response

    -
    -
    {
    -  "table_id": 0,
    -  "schema": "string",
    -  "table": "string",
    -  "id": "string",
    -  "ordinal_position": 0,
    -  "name": "string",
    -  "default_value": "string",
    -  "data_type": "string",
    -  "format": "string",
    -  "description": "string",
    -  "is_identity": true,
    -  "identity_generation": "string",
    -  "is_nullable": true,
    -  "is_updatable": true,
    -  "enums": [
    -    "string"
    -  ]
    -}
    -
    -

    Responses

    - - - - - - - - - - - - - - - - - -
    StatusMeaningDescriptionSchema
    200OKSuccessful operationColumn
    - -

    Update a column by ID

    -

    -
    -

    Code samples

    -
    -
    # You can also use wget
    -curl -X PATCH /columns/{id} \
    -  -H 'Content-Type: application/json' \
    -  -H 'Accept: application/json'
    -
    -
    -
    PATCH /columns/{id} HTTP/1.1
    -
    -Content-Type: application/json
    -Accept: application/json
    -
    -
    -
    const inputBody = '{
    -  "name": "string",
    -  "type": "string",
    -  "drop_default": true,
    -  "default_value": "string",
    -  "is_nullable": true
    -}';
    -const headers = {
    -  'Content-Type':'application/json',
    -  'Accept':'application/json'
    -};
    -
    -fetch('/columns/{id}',
    -{
    -  method: 'PATCH',
    -  body: inputBody,
    -  headers: headers
    -})
    -.then(function(res) {
    -    return res.json();
    -}).then(function(body) {
    -    console.log(body);
    -});
    -
    -
    -
    require 'rest-client'
    -require 'json'
    -
    -headers = {
    -  'Content-Type' => 'application/json',
    -  'Accept' => 'application/json'
    -}
    -
    -result = RestClient.patch '/columns/{id}',
    -  params: {
    -  }, headers: headers
    -
    -p JSON.parse(result)
    -
    -
    -
    import requests
    -headers = {
    -  'Content-Type': 'application/json',
    -  'Accept': 'application/json'
    -}
    -
    -r = requests.patch('/columns/{id}', headers = headers)
    -
    -print(r.json())
    -
    -
    -
     'application/json',
    -    'Accept' => 'application/json',
    -);
    -
    -$client = new \GuzzleHttp\Client();
    -
    -// Define array of request body.
    -$request_body = array();
    -
    -try {
    -    $response = $client->request('PATCH','/columns/{id}', array(
    -        'headers' => $headers,
    -        'json' => $request_body,
    -       )
    -    );
    -    print_r($response->getBody()->getContents());
    - }
    - catch (\GuzzleHttp\Exception\BadResponseException $e) {
    -    // handle exception or api errors.
    -    print_r($e->getMessage());
    - }
    -
    - // ...
    -
    -
    -
    URL obj = new URL("/columns/{id}");
    -HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    -con.setRequestMethod("PATCH");
    -int responseCode = con.getResponseCode();
    -BufferedReader in = new BufferedReader(
    -    new InputStreamReader(con.getInputStream()));
    -String inputLine;
    -StringBuffer response = new StringBuffer();
    -while ((inputLine = in.readLine()) != null) {
    -    response.append(inputLine);
    -}
    -in.close();
    -System.out.println(response.toString());
    -
    -
    -
    package main
    -
    -import (
    -       "bytes"
    -       "net/http"
    -)
    -
    -func main() {
    -
    -    headers := map[string][]string{
    -        "Content-Type": []string{"application/json"},
    -        "Accept": []string{"application/json"},
    -    }
    -
    -    data := bytes.NewBuffer([]byte{jsonReq})
    -    req, err := http.NewRequest("PATCH", "/columns/{id}", data)
    -    req.Header = headers
    -
    -    client := &http.Client{}
    -    resp, err := client.Do(req)
    -    // ...
    -}
    -
    -
    -

    PATCH /columns/{id}

    -
    -

    Body parameter

    -
    -
    {
    -  "name": "string",
    -  "type": "string",
    -  "drop_default": true,
    -  "default_value": "string",
    -  "is_nullable": true
    -}
    -
    -

    Parameters

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameInTypeRequiredDescription
    bodybodyobjecttruenone
    » namebodystringfalsenone
    » typebodystringfalsenone
    » drop_defaultbodybooleanfalsenone
    » default_valuebodystringfalsenone
    » is_nullablebodybooleanfalsenone
    idpathstringtruenone
    -
    -

    Example responses

    -
    -
    -

    200 Response

    -
    -
    {
    -  "table_id": 0,
    -  "schema": "string",
    -  "table": "string",
    -  "id": "string",
    -  "ordinal_position": 0,
    -  "name": "string",
    -  "default_value": "string",
    -  "data_type": "string",
    -  "format": "string",
    -  "description": "string",
    -  "is_identity": true,
    -  "identity_generation": "string",
    -  "is_nullable": true,
    -  "is_updatable": true,
    -  "enums": [
    -    "string"
    -  ]
    -}
    -
    -

    Responses

    - - - - - - - - - - - - - - - - - -
    StatusMeaningDescriptionSchema
    200OKSuccessful operationColumn
    - -

    Delete a column by ID

    -

    -
    -

    Code samples

    -
    -
    # You can also use wget
    -curl -X DELETE /columns/{id} \
    -  -H 'Accept: application/json'
    -
    -
    -
    DELETE /columns/{id} HTTP/1.1
    -
    -Accept: application/json
    -
    -
    -
    
    -const headers = {
    -  'Accept':'application/json'
    -};
    -
    -fetch('/columns/{id}',
    -{
    -  method: 'DELETE',
    -
    -  headers: headers
    -})
    -.then(function(res) {
    -    return res.json();
    -}).then(function(body) {
    -    console.log(body);
    -});
    -
    -
    -
    require 'rest-client'
    -require 'json'
    -
    -headers = {
    -  'Accept' => 'application/json'
    -}
    -
    -result = RestClient.delete '/columns/{id}',
    -  params: {
    -  }, headers: headers
    -
    -p JSON.parse(result)
    -
    -
    -
    import requests
    -headers = {
    -  'Accept': 'application/json'
    -}
    -
    -r = requests.delete('/columns/{id}', headers = headers)
    -
    -print(r.json())
    -
    -
    -
     'application/json',
    -);
    -
    -$client = new \GuzzleHttp\Client();
    -
    -// Define array of request body.
    -$request_body = array();
    -
    -try {
    -    $response = $client->request('DELETE','/columns/{id}', array(
    -        'headers' => $headers,
    -        'json' => $request_body,
    -       )
    -    );
    -    print_r($response->getBody()->getContents());
    - }
    - catch (\GuzzleHttp\Exception\BadResponseException $e) {
    -    // handle exception or api errors.
    -    print_r($e->getMessage());
    - }
    -
    - // ...
    -
    -
    -
    URL obj = new URL("/columns/{id}");
    -HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    -con.setRequestMethod("DELETE");
    -int responseCode = con.getResponseCode();
    -BufferedReader in = new BufferedReader(
    -    new InputStreamReader(con.getInputStream()));
    -String inputLine;
    -StringBuffer response = new StringBuffer();
    -while ((inputLine = in.readLine()) != null) {
    -    response.append(inputLine);
    -}
    -in.close();
    -System.out.println(response.toString());
    -
    -
    -
    package main
    -
    -import (
    -       "bytes"
    -       "net/http"
    -)
    -
    -func main() {
    -
    -    headers := map[string][]string{
    -        "Accept": []string{"application/json"},
    -    }
    -
    -    data := bytes.NewBuffer([]byte{jsonReq})
    -    req, err := http.NewRequest("DELETE", "/columns/{id}", data)
    -    req.Header = headers
    -
    -    client := &http.Client{}
    -    resp, err := client.Do(req)
    -    // ...
    -}
    -
    -
    -

    DELETE /columns/{id}

    -

    Parameters

    - - - - - - - - - - - - - - - - - - - -
    NameInTypeRequiredDescription
    idpathstringtruenone
    -
    -

    Example responses

    -
    -
    -

    200 Response

    -
    -
    {
    -  "table_id": 0,
    -  "schema": "string",
    -  "table": "string",
    -  "id": "string",
    -  "ordinal_position": 0,
    -  "name": "string",
    -  "default_value": "string",
    -  "data_type": "string",
    -  "format": "string",
    -  "description": "string",
    -  "is_identity": true,
    -  "identity_generation": "string",
    -  "is_nullable": true,
    -  "is_updatable": true,
    -  "enums": [
    -    "string"
    -  ]
    -}
    -
    -

    Responses

    - - - - - - - - - - - - - - - - - -
    StatusMeaningDescriptionSchema
    200OKSuccessful operationColumn
    - -

    /extensions

    -

    Get all extensions

    -

    -
    -

    Code samples

    -
    -
    # You can also use wget
    -curl -X GET /extensions \
    -  -H 'Accept: application/json'
    -
    -
    -
    GET /extensions HTTP/1.1
    -
    -Accept: application/json
    -
    -
    -
    
    -const headers = {
    -  'Accept':'application/json'
    -};
    -
    -fetch('/extensions',
    -{
    -  method: 'GET',
    -
    -  headers: headers
    -})
    -.then(function(res) {
    -    return res.json();
    -}).then(function(body) {
    -    console.log(body);
    -});
    -
    -
    -
    require 'rest-client'
    -require 'json'
    -
    -headers = {
    -  'Accept' => 'application/json'
    -}
    -
    -result = RestClient.get '/extensions',
    -  params: {
    -  }, headers: headers
    -
    -p JSON.parse(result)
    -
    -
    -
    import requests
    -headers = {
    -  'Accept': 'application/json'
    -}
    -
    -r = requests.get('/extensions', headers = headers)
    -
    -print(r.json())
    -
    -
    -
     'application/json',
    -);
    -
    -$client = new \GuzzleHttp\Client();
    -
    -// Define array of request body.
    -$request_body = array();
    -
    -try {
    -    $response = $client->request('GET','/extensions', array(
    -        'headers' => $headers,
    -        'json' => $request_body,
    -       )
    -    );
    -    print_r($response->getBody()->getContents());
    - }
    - catch (\GuzzleHttp\Exception\BadResponseException $e) {
    -    // handle exception or api errors.
    -    print_r($e->getMessage());
    - }
    -
    - // ...
    -
    -
    -
    URL obj = new URL("/extensions");
    -HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    -con.setRequestMethod("GET");
    -int responseCode = con.getResponseCode();
    -BufferedReader in = new BufferedReader(
    -    new InputStreamReader(con.getInputStream()));
    -String inputLine;
    -StringBuffer response = new StringBuffer();
    -while ((inputLine = in.readLine()) != null) {
    -    response.append(inputLine);
    -}
    -in.close();
    -System.out.println(response.toString());
    -
    -
    -
    package main
    -
    -import (
    -       "bytes"
    -       "net/http"
    -)
    -
    -func main() {
    -
    -    headers := map[string][]string{
    -        "Accept": []string{"application/json"},
    -    }
    -
    -    data := bytes.NewBuffer([]byte{jsonReq})
    -    req, err := http.NewRequest("GET", "/extensions", data)
    -    req.Header = headers
    -
    -    client := &http.Client{}
    -    resp, err := client.Do(req)
    -    // ...
    -}
    -
    -
    -

    GET /extensions

    -
    -

    Example responses

    -
    -
    -

    200 Response

    -
    -
    [
    -  {
    -    "name": "string",
    -    "comment": "string",
    -    "default_version": "string",
    -    "installed_version": "string"
    -  }
    -]
    -
    -

    Responses

    - - - - - - - - - - - - - - - - - -
    StatusMeaningDescriptionSchema
    200OKSuccessful operationInline
    -

    Response Schema

    -

    Status Code 200

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeRequiredRestrictionsDescription
    anonymous[Extension]falsenonenone
    » namestringfalsenonenone
    » commentstringfalsenonenone
    » default_versionstringfalsenonenone
    » installed_versionstringfalsenonenone
    - -

    Install an extension

    -

    -
    -

    Code samples

    -
    -
    # You can also use wget
    -curl -X POST /extensions \
    -  -H 'Content-Type: application/json' \
    -  -H 'Accept: application/json'
    -
    -
    -
    POST /extensions HTTP/1.1
    -
    -Content-Type: application/json
    -Accept: application/json
    -
    -
    -
    const inputBody = '{
    -  "name": "string",
    -  "schema": "string",
    -  "version": "string",
    -  "cascade": true
    -}';
    -const headers = {
    -  'Content-Type':'application/json',
    -  'Accept':'application/json'
    -};
    -
    -fetch('/extensions',
    -{
    -  method: 'POST',
    -  body: inputBody,
    -  headers: headers
    -})
    -.then(function(res) {
    -    return res.json();
    -}).then(function(body) {
    -    console.log(body);
    -});
    -
    -
    -
    require 'rest-client'
    -require 'json'
    -
    -headers = {
    -  'Content-Type' => 'application/json',
    -  'Accept' => 'application/json'
    -}
    -
    -result = RestClient.post '/extensions',
    -  params: {
    -  }, headers: headers
    -
    -p JSON.parse(result)
    -
    -
    -
    import requests
    -headers = {
    -  'Content-Type': 'application/json',
    -  'Accept': 'application/json'
    -}
    -
    -r = requests.post('/extensions', headers = headers)
    -
    -print(r.json())
    -
    -
    -
     'application/json',
    -    'Accept' => 'application/json',
    -);
    -
    -$client = new \GuzzleHttp\Client();
    -
    -// Define array of request body.
    -$request_body = array();
    -
    -try {
    -    $response = $client->request('POST','/extensions', array(
    -        'headers' => $headers,
    -        'json' => $request_body,
    -       )
    -    );
    -    print_r($response->getBody()->getContents());
    - }
    - catch (\GuzzleHttp\Exception\BadResponseException $e) {
    -    // handle exception or api errors.
    -    print_r($e->getMessage());
    - }
    -
    - // ...
    -
    -
    -
    URL obj = new URL("/extensions");
    -HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    -con.setRequestMethod("POST");
    -int responseCode = con.getResponseCode();
    -BufferedReader in = new BufferedReader(
    -    new InputStreamReader(con.getInputStream()));
    -String inputLine;
    -StringBuffer response = new StringBuffer();
    -while ((inputLine = in.readLine()) != null) {
    -    response.append(inputLine);
    -}
    -in.close();
    -System.out.println(response.toString());
    -
    -
    -
    package main
    -
    -import (
    -       "bytes"
    -       "net/http"
    -)
    -
    -func main() {
    -
    -    headers := map[string][]string{
    -        "Content-Type": []string{"application/json"},
    -        "Accept": []string{"application/json"},
    -    }
    -
    -    data := bytes.NewBuffer([]byte{jsonReq})
    -    req, err := http.NewRequest("POST", "/extensions", data)
    -    req.Header = headers
    -
    -    client := &http.Client{}
    -    resp, err := client.Do(req)
    -    // ...
    -}
    -
    -
    -

    POST /extensions

    -
    -

    Body parameter

    -
    -
    {
    -  "name": "string",
    -  "schema": "string",
    -  "version": "string",
    -  "cascade": true
    -}
    -
    -

    Parameters

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameInTypeRequiredDescription
    bodybodyobjecttruenone
    » namebodystringtruenone
    » schemabodystringfalsenone
    » versionbodystringfalsenone
    » cascadebodybooleanfalsenone
    -
    -

    Example responses

    -
    -
    -

    200 Response

    -
    -
    {
    -  "name": "string",
    -  "comment": "string",
    -  "default_version": "string",
    -  "installed_version": "string"
    -}
    -
    -

    Responses

    - - - - - - - - - - - - - - - - - -
    StatusMeaningDescriptionSchema
    200OKSuccessful operationExtension
    - -

    Update/modify an extension by ID

    -

    -
    -

    Code samples

    -
    -
    # You can also use wget
    -curl -X PATCH /extensions/{id} \
    -  -H 'Content-Type: application/json' \
    -  -H 'Accept: application/json'
    -
    -
    -
    PATCH /extensions/{id} HTTP/1.1
    -
    -Content-Type: application/json
    -Accept: application/json
    -
    -
    -
    const inputBody = '{
    -  "update": true,
    -  "version": "string",
    -  "schema": "string"
    -}';
    -const headers = {
    -  'Content-Type':'application/json',
    -  'Accept':'application/json'
    -};
    -
    -fetch('/extensions/{id}',
    -{
    -  method: 'PATCH',
    -  body: inputBody,
    -  headers: headers
    -})
    -.then(function(res) {
    -    return res.json();
    -}).then(function(body) {
    -    console.log(body);
    -});
    -
    -
    -
    require 'rest-client'
    -require 'json'
    -
    -headers = {
    -  'Content-Type' => 'application/json',
    -  'Accept' => 'application/json'
    -}
    -
    -result = RestClient.patch '/extensions/{id}',
    -  params: {
    -  }, headers: headers
    -
    -p JSON.parse(result)
    -
    -
    -
    import requests
    -headers = {
    -  'Content-Type': 'application/json',
    -  'Accept': 'application/json'
    -}
    -
    -r = requests.patch('/extensions/{id}', headers = headers)
    -
    -print(r.json())
    -
    -
    -
     'application/json',
    -    'Accept' => 'application/json',
    -);
    -
    -$client = new \GuzzleHttp\Client();
    -
    -// Define array of request body.
    -$request_body = array();
    -
    -try {
    -    $response = $client->request('PATCH','/extensions/{id}', array(
    -        'headers' => $headers,
    -        'json' => $request_body,
    -       )
    -    );
    -    print_r($response->getBody()->getContents());
    - }
    - catch (\GuzzleHttp\Exception\BadResponseException $e) {
    -    // handle exception or api errors.
    -    print_r($e->getMessage());
    - }
    -
    - // ...
    -
    -
    -
    URL obj = new URL("/extensions/{id}");
    -HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    -con.setRequestMethod("PATCH");
    -int responseCode = con.getResponseCode();
    -BufferedReader in = new BufferedReader(
    -    new InputStreamReader(con.getInputStream()));
    -String inputLine;
    -StringBuffer response = new StringBuffer();
    -while ((inputLine = in.readLine()) != null) {
    -    response.append(inputLine);
    -}
    -in.close();
    -System.out.println(response.toString());
    -
    -
    -
    package main
    -
    -import (
    -       "bytes"
    -       "net/http"
    -)
    -
    -func main() {
    -
    -    headers := map[string][]string{
    -        "Content-Type": []string{"application/json"},
    -        "Accept": []string{"application/json"},
    -    }
    -
    -    data := bytes.NewBuffer([]byte{jsonReq})
    -    req, err := http.NewRequest("PATCH", "/extensions/{id}", data)
    -    req.Header = headers
    -
    -    client := &http.Client{}
    -    resp, err := client.Do(req)
    -    // ...
    -}
    -
    -
    -

    PATCH /extensions/{id}

    -
    -

    Body parameter

    -
    -
    {
    -  "update": true,
    -  "version": "string",
    -  "schema": "string"
    -}
    -
    -

    Parameters

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameInTypeRequiredDescription
    bodybodyobjecttruenone
    » updatebodybooleanfalsenone
    » versionbodystringfalsenone
    » schemabodystringfalsenone
    idpathintegertruenone
    -
    -

    Example responses

    -
    -
    -

    200 Response

    -
    -
    {
    -  "name": "string",
    -  "comment": "string",
    -  "default_version": "string",
    -  "installed_version": "string"
    -}
    -
    -

    Responses

    - - - - - - - - - - - - - - - - - -
    StatusMeaningDescriptionSchema
    200OKSuccessful operationExtension
    - -

    Uninstall an extension by ID

    -

    -
    -

    Code samples

    -
    -
    # You can also use wget
    -curl -X DELETE /extensions/{id} \
    -  -H 'Accept: application/json'
    -
    -
    -
    DELETE /extensions/{id} HTTP/1.1
    -
    -Accept: application/json
    -
    -
    -
    
    -const headers = {
    -  'Accept':'application/json'
    -};
    -
    -fetch('/extensions/{id}',
    -{
    -  method: 'DELETE',
    -
    -  headers: headers
    -})
    -.then(function(res) {
    -    return res.json();
    -}).then(function(body) {
    -    console.log(body);
    -});
    -
    -
    -
    require 'rest-client'
    -require 'json'
    -
    -headers = {
    -  'Accept' => 'application/json'
    -}
    -
    -result = RestClient.delete '/extensions/{id}',
    -  params: {
    -  }, headers: headers
    -
    -p JSON.parse(result)
    -
    -
    -
    import requests
    -headers = {
    -  'Accept': 'application/json'
    -}
    -
    -r = requests.delete('/extensions/{id}', headers = headers)
    -
    -print(r.json())
    -
    -
    -
     'application/json',
    -);
    -
    -$client = new \GuzzleHttp\Client();
    -
    -// Define array of request body.
    -$request_body = array();
    -
    -try {
    -    $response = $client->request('DELETE','/extensions/{id}', array(
    -        'headers' => $headers,
    -        'json' => $request_body,
    -       )
    -    );
    -    print_r($response->getBody()->getContents());
    - }
    - catch (\GuzzleHttp\Exception\BadResponseException $e) {
    -    // handle exception or api errors.
    -    print_r($e->getMessage());
    - }
    -
    - // ...
    -
    -
    -
    URL obj = new URL("/extensions/{id}");
    -HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    -con.setRequestMethod("DELETE");
    -int responseCode = con.getResponseCode();
    -BufferedReader in = new BufferedReader(
    -    new InputStreamReader(con.getInputStream()));
    -String inputLine;
    -StringBuffer response = new StringBuffer();
    -while ((inputLine = in.readLine()) != null) {
    -    response.append(inputLine);
    -}
    -in.close();
    -System.out.println(response.toString());
    -
    -
    -
    package main
    -
    -import (
    -       "bytes"
    -       "net/http"
    -)
    -
    -func main() {
    -
    -    headers := map[string][]string{
    -        "Accept": []string{"application/json"},
    -    }
    -
    -    data := bytes.NewBuffer([]byte{jsonReq})
    -    req, err := http.NewRequest("DELETE", "/extensions/{id}", data)
    -    req.Header = headers
    -
    -    client := &http.Client{}
    -    resp, err := client.Do(req)
    -    // ...
    -}
    -
    -
    -

    DELETE /extensions/{id}

    -

    Parameters

    - - - - - - - - - - - - - - - - - - - -
    NameInTypeRequiredDescription
    idpathintegertruenone
    -
    -

    Example responses

    -
    -
    -

    200 Response

    -
    -
    {
    -  "name": "string",
    -  "comment": "string",
    -  "default_version": "string",
    -  "installed_version": "string"
    -}
    -
    -

    Responses

    - - - - - - - - - - - - - - - - - -
    StatusMeaningDescriptionSchema
    200OKSuccessful operationExtension
    - -

    /functions

    -

    Get all functions

    -

    -
    -

    Code samples

    -
    -
    # You can also use wget
    -curl -X GET /functions \
    -  -H 'Accept: application/json'
    -
    -
    -
    GET /functions HTTP/1.1
    -
    -Accept: application/json
    -
    -
    -
    
    -const headers = {
    -  'Accept':'application/json'
    -};
    -
    -fetch('/functions',
    -{
    -  method: 'GET',
    -
    -  headers: headers
    -})
    -.then(function(res) {
    -    return res.json();
    -}).then(function(body) {
    -    console.log(body);
    -});
    -
    -
    -
    require 'rest-client'
    -require 'json'
    -
    -headers = {
    -  'Accept' => 'application/json'
    -}
    -
    -result = RestClient.get '/functions',
    -  params: {
    -  }, headers: headers
    -
    -p JSON.parse(result)
    -
    -
    -
    import requests
    -headers = {
    -  'Accept': 'application/json'
    -}
    -
    -r = requests.get('/functions', headers = headers)
    -
    -print(r.json())
    -
    -
    -
     'application/json',
    -);
    -
    -$client = new \GuzzleHttp\Client();
    -
    -// Define array of request body.
    -$request_body = array();
    -
    -try {
    -    $response = $client->request('GET','/functions', array(
    -        'headers' => $headers,
    -        'json' => $request_body,
    -       )
    -    );
    -    print_r($response->getBody()->getContents());
    - }
    - catch (\GuzzleHttp\Exception\BadResponseException $e) {
    -    // handle exception or api errors.
    -    print_r($e->getMessage());
    - }
    -
    - // ...
    -
    -
    -
    URL obj = new URL("/functions");
    -HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    -con.setRequestMethod("GET");
    -int responseCode = con.getResponseCode();
    -BufferedReader in = new BufferedReader(
    -    new InputStreamReader(con.getInputStream()));
    -String inputLine;
    -StringBuffer response = new StringBuffer();
    -while ((inputLine = in.readLine()) != null) {
    -    response.append(inputLine);
    -}
    -in.close();
    -System.out.println(response.toString());
    -
    -
    -
    package main
    -
    -import (
    -       "bytes"
    -       "net/http"
    -)
    -
    -func main() {
    -
    -    headers := map[string][]string{
    -        "Accept": []string{"application/json"},
    -    }
    -
    -    data := bytes.NewBuffer([]byte{jsonReq})
    -    req, err := http.NewRequest("GET", "/functions", data)
    -    req.Header = headers
    -
    -    client := &http.Client{}
    -    resp, err := client.Do(req)
    -    // ...
    -}
    -
    -
    -

    GET /functions

    -

    Parameters

    - - - - - - - - - - - - - - - - - - - -
    NameInTypeRequiredDescription
    include_system_schemasquerybooleanfalsenone
    -
    -

    Example responses

    -
    -
    -

    200 Response

    -
    -
    [
    -  {
    -    "id": 0,
    -    "schema": "string",
    -    "name": "string",
    -    "language": "string",
    -    "definition": "string",
    -    "argument_types": "string",
    -    "return_type": "string"
    -  }
    -]
    -
    -

    Responses

    - - - - - - - - - - - - - - - - - -
    StatusMeaningDescriptionSchema
    200OKSuccessful operationInline
    -

    Response Schema

    -

    Status Code 200

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeRequiredRestrictionsDescription
    anonymous[Function]falsenonenone
    » idintegerfalsenonenone
    » schemastringfalsenonenone
    » namestringfalsenonenone
    » languagestringfalsenonenone
    » definitionstringfalsenonenone
    » argument_typesstringfalsenonenone
    » return_typestringfalsenonenone
    - -

    /policies

    -

    Get all policies

    -

    -
    -

    Code samples

    -
    -
    # You can also use wget
    -curl -X GET /policies \
    -  -H 'Accept: application/json'
    -
    -
    -
    GET /policies HTTP/1.1
    -
    -Accept: application/json
    -
    -
    -
    
    -const headers = {
    -  'Accept':'application/json'
    -};
    -
    -fetch('/policies',
    -{
    -  method: 'GET',
    -
    -  headers: headers
    -})
    -.then(function(res) {
    -    return res.json();
    -}).then(function(body) {
    -    console.log(body);
    -});
    -
    -
    -
    require 'rest-client'
    -require 'json'
    -
    -headers = {
    -  'Accept' => 'application/json'
    -}
    -
    -result = RestClient.get '/policies',
    -  params: {
    -  }, headers: headers
    -
    -p JSON.parse(result)
    -
    -
    -
    import requests
    -headers = {
    -  'Accept': 'application/json'
    -}
    -
    -r = requests.get('/policies', headers = headers)
    -
    -print(r.json())
    -
    -
    -
     'application/json',
    -);
    -
    -$client = new \GuzzleHttp\Client();
    -
    -// Define array of request body.
    -$request_body = array();
    -
    -try {
    -    $response = $client->request('GET','/policies', array(
    -        'headers' => $headers,
    -        'json' => $request_body,
    -       )
    -    );
    -    print_r($response->getBody()->getContents());
    - }
    - catch (\GuzzleHttp\Exception\BadResponseException $e) {
    -    // handle exception or api errors.
    -    print_r($e->getMessage());
    - }
    -
    - // ...
    -
    -
    -
    URL obj = new URL("/policies");
    -HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    -con.setRequestMethod("GET");
    -int responseCode = con.getResponseCode();
    -BufferedReader in = new BufferedReader(
    -    new InputStreamReader(con.getInputStream()));
    -String inputLine;
    -StringBuffer response = new StringBuffer();
    -while ((inputLine = in.readLine()) != null) {
    -    response.append(inputLine);
    -}
    -in.close();
    -System.out.println(response.toString());
    -
    -
    -
    package main
    -
    -import (
    -       "bytes"
    -       "net/http"
    -)
    -
    -func main() {
    -
    -    headers := map[string][]string{
    -        "Accept": []string{"application/json"},
    -    }
    -
    -    data := bytes.NewBuffer([]byte{jsonReq})
    -    req, err := http.NewRequest("GET", "/policies", data)
    -    req.Header = headers
    -
    -    client := &http.Client{}
    -    resp, err := client.Do(req)
    -    // ...
    -}
    -
    -
    -

    GET /policies

    -

    Parameters

    - - - - - - - - - - - - - - - - - - - -
    NameInTypeRequiredDescription
    include_system_schemasquerybooleanfalsenone
    -
    -

    Example responses

    -
    -
    -

    200 Response

    -
    -
    [
    -  {
    -    "id": 0,
    -    "name": "string",
    -    "schema": "string",
    -    "table": "string",
    -    "table_id": 0,
    -    "action": "PERMISSIVE",
    -    "roles": [
    -      "string"
    -    ],
    -    "command": "string",
    -    "definition": "string",
    -    "check": "string"
    -  }
    -]
    -
    -

    Responses

    - - - - - - - - - - - - - - - - - -
    StatusMeaningDescriptionSchema
    200OKSuccessful operationInline
    -

    Response Schema

    -

    Status Code 200

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeRequiredRestrictionsDescription
    anonymous[Policy]falsenonenone
    » idintegerfalsenonenone
    » namestringfalsenonenone
    » schemastringfalsenonenone
    » tablestringfalsenonenone
    » table_idintegerfalsenonenone
    » actionstringfalsenonenone
    » roles[string]falsenonenone
    » commandstringfalsenonenone
    » definitionstringfalsenonenone
    » checkstring¦nullfalsenonenone
    -

    Enumerated Values

    - - - - - - - - - - - - - - - - - -
    PropertyValue
    actionPERMISSIVE
    actionRESTRICTIVE
    - -

    Create a policy

    -

    -
    -

    Code samples

    -
    -
    # You can also use wget
    -curl -X POST /policies \
    -  -H 'Content-Type: application/json' \
    -  -H 'Accept: application/json'
    -
    -
    -
    POST /policies HTTP/1.1
    -
    -Content-Type: application/json
    -Accept: application/json
    -
    -
    -
    const inputBody = '{
    -  "name": "string",
    -  "schema": "string",
    -  "table": "string"
    -}';
    -const headers = {
    -  'Content-Type':'application/json',
    -  'Accept':'application/json'
    -};
    -
    -fetch('/policies',
    -{
    -  method: 'POST',
    -  body: inputBody,
    -  headers: headers
    -})
    -.then(function(res) {
    -    return res.json();
    -}).then(function(body) {
    -    console.log(body);
    -});
    -
    -
    -
    require 'rest-client'
    -require 'json'
    -
    -headers = {
    -  'Content-Type' => 'application/json',
    -  'Accept' => 'application/json'
    -}
    -
    -result = RestClient.post '/policies',
    -  params: {
    -  }, headers: headers
    -
    -p JSON.parse(result)
    -
    -
    -
    import requests
    -headers = {
    -  'Content-Type': 'application/json',
    -  'Accept': 'application/json'
    -}
    -
    -r = requests.post('/policies', headers = headers)
    -
    -print(r.json())
    -
    -
    -
     'application/json',
    -    'Accept' => 'application/json',
    -);
    -
    -$client = new \GuzzleHttp\Client();
    -
    -// Define array of request body.
    -$request_body = array();
    -
    -try {
    -    $response = $client->request('POST','/policies', array(
    -        'headers' => $headers,
    -        'json' => $request_body,
    -       )
    -    );
    -    print_r($response->getBody()->getContents());
    - }
    - catch (\GuzzleHttp\Exception\BadResponseException $e) {
    -    // handle exception or api errors.
    -    print_r($e->getMessage());
    - }
    -
    - // ...
    -
    -
    -
    URL obj = new URL("/policies");
    -HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    -con.setRequestMethod("POST");
    -int responseCode = con.getResponseCode();
    -BufferedReader in = new BufferedReader(
    -    new InputStreamReader(con.getInputStream()));
    -String inputLine;
    -StringBuffer response = new StringBuffer();
    -while ((inputLine = in.readLine()) != null) {
    -    response.append(inputLine);
    -}
    -in.close();
    -System.out.println(response.toString());
    -
    -
    -
    package main
    -
    -import (
    -       "bytes"
    -       "net/http"
    -)
    -
    -func main() {
    -
    -    headers := map[string][]string{
    -        "Content-Type": []string{"application/json"},
    -        "Accept": []string{"application/json"},
    -    }
    -
    -    data := bytes.NewBuffer([]byte{jsonReq})
    -    req, err := http.NewRequest("POST", "/policies", data)
    -    req.Header = headers
    -
    -    client := &http.Client{}
    -    resp, err := client.Do(req)
    -    // ...
    -}
    -
    -
    -

    POST /policies

    -
    -

    Body parameter

    -
    -
    {
    -  "name": "string",
    -  "schema": "string",
    -  "table": "string"
    -}
    -
    -

    Parameters

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameInTypeRequiredDescription
    bodybodyobjecttruenone
    » namebodystringtruenone
    » schemabodystringfalsenone
    » tablebodystringtruenone
    -
    -

    Example responses

    -
    -
    -

    200 Response

    -
    -
    {
    -  "id": 0,
    -  "name": "string",
    -  "schema": "string",
    -  "table": "string",
    -  "table_id": 0,
    -  "action": "PERMISSIVE",
    -  "roles": [
    -    "string"
    -  ],
    -  "command": "string",
    -  "definition": "string",
    -  "check": "string"
    -}
    -
    -

    Responses

    - - - - - - - - - - - - - - - - - -
    StatusMeaningDescriptionSchema
    200OKSuccessful operationPolicy
    - -

    Update a policy by ID

    -

    -
    -

    Code samples

    -
    -
    # You can also use wget
    -curl -X PATCH /policies/{id} \
    -  -H 'Content-Type: application/json' \
    -  -H 'Accept: application/json'
    -
    -
    -
    PATCH /policies/{id} HTTP/1.1
    -
    -Content-Type: application/json
    -Accept: application/json
    -
    -
    -
    const inputBody = '{
    -  "name": "string",
    -  "schema": "string",
    -  "table": "string"
    -}';
    -const headers = {
    -  'Content-Type':'application/json',
    -  'Accept':'application/json'
    -};
    -
    -fetch('/policies/{id}',
    -{
    -  method: 'PATCH',
    -  body: inputBody,
    -  headers: headers
    -})
    -.then(function(res) {
    -    return res.json();
    -}).then(function(body) {
    -    console.log(body);
    -});
    -
    -
    -
    require 'rest-client'
    -require 'json'
    -
    -headers = {
    -  'Content-Type' => 'application/json',
    -  'Accept' => 'application/json'
    -}
    -
    -result = RestClient.patch '/policies/{id}',
    -  params: {
    -  }, headers: headers
    -
    -p JSON.parse(result)
    -
    -
    -
    import requests
    -headers = {
    -  'Content-Type': 'application/json',
    -  'Accept': 'application/json'
    -}
    -
    -r = requests.patch('/policies/{id}', headers = headers)
    -
    -print(r.json())
    -
    -
    -
     'application/json',
    -    'Accept' => 'application/json',
    -);
    -
    -$client = new \GuzzleHttp\Client();
    -
    -// Define array of request body.
    -$request_body = array();
    -
    -try {
    -    $response = $client->request('PATCH','/policies/{id}', array(
    -        'headers' => $headers,
    -        'json' => $request_body,
    -       )
    -    );
    -    print_r($response->getBody()->getContents());
    - }
    - catch (\GuzzleHttp\Exception\BadResponseException $e) {
    -    // handle exception or api errors.
    -    print_r($e->getMessage());
    - }
    -
    - // ...
    -
    -
    -
    URL obj = new URL("/policies/{id}");
    -HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    -con.setRequestMethod("PATCH");
    -int responseCode = con.getResponseCode();
    -BufferedReader in = new BufferedReader(
    -    new InputStreamReader(con.getInputStream()));
    -String inputLine;
    -StringBuffer response = new StringBuffer();
    -while ((inputLine = in.readLine()) != null) {
    -    response.append(inputLine);
    -}
    -in.close();
    -System.out.println(response.toString());
    -
    -
    -
    package main
    -
    -import (
    -       "bytes"
    -       "net/http"
    -)
    -
    -func main() {
    -
    -    headers := map[string][]string{
    -        "Content-Type": []string{"application/json"},
    -        "Accept": []string{"application/json"},
    -    }
    -
    -    data := bytes.NewBuffer([]byte{jsonReq})
    -    req, err := http.NewRequest("PATCH", "/policies/{id}", data)
    -    req.Header = headers
    -
    -    client := &http.Client{}
    -    resp, err := client.Do(req)
    -    // ...
    -}
    -
    -
    -

    PATCH /policies/{id}

    -
    -

    Body parameter

    -
    -
    {
    -  "name": "string",
    -  "schema": "string",
    -  "table": "string"
    -}
    -
    -

    Parameters

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameInTypeRequiredDescription
    bodybodyobjecttruenone
    » namebodystringfalsenone
    » schemabodystringfalsenone
    » tablebodystringfalsenone
    idpathintegertruenone
    -
    -

    Example responses

    -
    -
    -

    200 Response

    -
    -
    {
    -  "id": 0,
    -  "name": "string",
    -  "schema": "string",
    -  "table": "string",
    -  "table_id": 0,
    -  "action": "PERMISSIVE",
    -  "roles": [
    -    "string"
    -  ],
    -  "command": "string",
    -  "definition": "string",
    -  "check": "string"
    -}
    -
    -

    Responses

    - - - - - - - - - - - - - - - - - -
    StatusMeaningDescriptionSchema
    200OKSuccessful operationPolicy
    - -

    Delete a policy by ID

    -

    -
    -

    Code samples

    -
    -
    # You can also use wget
    -curl -X DELETE /policies/{id} \
    -  -H 'Accept: application/json'
    -
    -
    -
    DELETE /policies/{id} HTTP/1.1
    -
    -Accept: application/json
    -
    -
    -
    
    -const headers = {
    -  'Accept':'application/json'
    -};
    -
    -fetch('/policies/{id}',
    -{
    -  method: 'DELETE',
    -
    -  headers: headers
    -})
    -.then(function(res) {
    -    return res.json();
    -}).then(function(body) {
    -    console.log(body);
    -});
    -
    -
    -
    require 'rest-client'
    -require 'json'
    -
    -headers = {
    -  'Accept' => 'application/json'
    -}
    -
    -result = RestClient.delete '/policies/{id}',
    -  params: {
    -  }, headers: headers
    -
    -p JSON.parse(result)
    -
    -
    -
    import requests
    -headers = {
    -  'Accept': 'application/json'
    -}
    -
    -r = requests.delete('/policies/{id}', headers = headers)
    -
    -print(r.json())
    -
    -
    -
     'application/json',
    -);
    -
    -$client = new \GuzzleHttp\Client();
    -
    -// Define array of request body.
    -$request_body = array();
    -
    -try {
    -    $response = $client->request('DELETE','/policies/{id}', array(
    -        'headers' => $headers,
    -        'json' => $request_body,
    -       )
    -    );
    -    print_r($response->getBody()->getContents());
    - }
    - catch (\GuzzleHttp\Exception\BadResponseException $e) {
    -    // handle exception or api errors.
    -    print_r($e->getMessage());
    - }
    -
    - // ...
    -
    -
    -
    URL obj = new URL("/policies/{id}");
    -HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    -con.setRequestMethod("DELETE");
    -int responseCode = con.getResponseCode();
    -BufferedReader in = new BufferedReader(
    -    new InputStreamReader(con.getInputStream()));
    -String inputLine;
    -StringBuffer response = new StringBuffer();
    -while ((inputLine = in.readLine()) != null) {
    -    response.append(inputLine);
    -}
    -in.close();
    -System.out.println(response.toString());
    -
    -
    -
    package main
    -
    -import (
    -       "bytes"
    -       "net/http"
    -)
    -
    -func main() {
    -
    -    headers := map[string][]string{
    -        "Accept": []string{"application/json"},
    -    }
    -
    -    data := bytes.NewBuffer([]byte{jsonReq})
    -    req, err := http.NewRequest("DELETE", "/policies/{id}", data)
    -    req.Header = headers
    -
    -    client := &http.Client{}
    -    resp, err := client.Do(req)
    -    // ...
    -}
    -
    -
    -

    DELETE /policies/{id}

    -

    Parameters

    - - - - - - - - - - - - - - - - - - - -
    NameInTypeRequiredDescription
    idpathintegertruenone
    -
    -

    Example responses

    -
    -
    -

    200 Response

    -
    -
    {
    -  "id": 0,
    -  "name": "string",
    -  "schema": "string",
    -  "table": "string",
    -  "table_id": 0,
    -  "action": "PERMISSIVE",
    -  "roles": [
    -    "string"
    -  ],
    -  "command": "string",
    -  "definition": "string",
    -  "check": "string"
    -}
    -
    -

    Responses

    - - - - - - - - - - - - - - - - - -
    StatusMeaningDescriptionSchema
    200OKSuccessful operationPolicy
    - -

    /roles

    -

    Get all roles

    -

    -
    -

    Code samples

    -
    -
    # You can also use wget
    -curl -X GET /roles \
    -  -H 'Accept: application/json'
    -
    -
    -
    GET /roles HTTP/1.1
    -
    -Accept: application/json
    -
    -
    -
    
    -const headers = {
    -  'Accept':'application/json'
    -};
    -
    -fetch('/roles',
    -{
    -  method: 'GET',
    -
    -  headers: headers
    -})
    -.then(function(res) {
    -    return res.json();
    -}).then(function(body) {
    -    console.log(body);
    -});
    -
    -
    -
    require 'rest-client'
    -require 'json'
    -
    -headers = {
    -  'Accept' => 'application/json'
    -}
    -
    -result = RestClient.get '/roles',
    -  params: {
    -  }, headers: headers
    -
    -p JSON.parse(result)
    -
    -
    -
    import requests
    -headers = {
    -  'Accept': 'application/json'
    -}
    -
    -r = requests.get('/roles', headers = headers)
    -
    -print(r.json())
    -
    -
    -
     'application/json',
    -);
    -
    -$client = new \GuzzleHttp\Client();
    -
    -// Define array of request body.
    -$request_body = array();
    -
    -try {
    -    $response = $client->request('GET','/roles', array(
    -        'headers' => $headers,
    -        'json' => $request_body,
    -       )
    -    );
    -    print_r($response->getBody()->getContents());
    - }
    - catch (\GuzzleHttp\Exception\BadResponseException $e) {
    -    // handle exception or api errors.
    -    print_r($e->getMessage());
    - }
    -
    - // ...
    -
    -
    -
    URL obj = new URL("/roles");
    -HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    -con.setRequestMethod("GET");
    -int responseCode = con.getResponseCode();
    -BufferedReader in = new BufferedReader(
    -    new InputStreamReader(con.getInputStream()));
    -String inputLine;
    -StringBuffer response = new StringBuffer();
    -while ((inputLine = in.readLine()) != null) {
    -    response.append(inputLine);
    -}
    -in.close();
    -System.out.println(response.toString());
    -
    -
    -
    package main
    -
    -import (
    -       "bytes"
    -       "net/http"
    -)
    -
    -func main() {
    -
    -    headers := map[string][]string{
    -        "Accept": []string{"application/json"},
    -    }
    -
    -    data := bytes.NewBuffer([]byte{jsonReq})
    -    req, err := http.NewRequest("GET", "/roles", data)
    -    req.Header = headers
    -
    -    client := &http.Client{}
    -    resp, err := client.Do(req)
    -    // ...
    -}
    -
    -
    -

    GET /roles

    -

    Parameters

    - - - - - - - - - - - - - - - - - - - -
    NameInTypeRequiredDescription
    include_system_schemasquerybooleanfalsenone
    -
    -

    Example responses

    -
    -
    -

    200 Response

    -
    -
    [
    -  {
    -    "id": 0,
    -    "name": "string",
    -    "is_superuser": true,
    -    "can_create_db": true,
    -    "can_create_role": true,
    -    "inherit_role": true,
    -    "can_login": true,
    -    "is_replication_role": true,
    -    "can_bypass_rls": true,
    -    "active_connections": 0,
    -    "connection_limit": 0,
    -    "password": "string",
    -    "valid_until": "string",
    -    "config": "string",
    -    "grants": [
    -      {
    -        "table_id": 0,
    -        "grantor": "string",
    -        "grantee": "string",
    -        "catalog": "string",
    -        "schema": "string",
    -        "table_name": "string",
    -        "privilege_type": "string",
    -        "is_grantable": true,
    -        "with_hierarchy": true
    -      }
    -    ]
    -  }
    -]
    -
    -

    Responses

    - - - - - - - - - - - - - - - - - -
    StatusMeaningDescriptionSchema
    200OKSuccessful operationInline
    -

    Response Schema

    -

    Status Code 200

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeRequiredRestrictionsDescription
    anonymous[Role]falsenonenone
    » idintegerfalsenonenone
    » namestringfalsenonenone
    » is_superuserbooleanfalsenonenone
    » can_create_dbbooleanfalsenonenone
    » can_create_rolebooleanfalsenonenone
    » inherit_rolebooleanfalsenonenone
    » can_loginbooleanfalsenonenone
    » is_replication_rolebooleanfalsenonenone
    » can_bypass_rlsbooleanfalsenonenone
    » active_connectionsintegerfalsenonenone
    » connection_limitintegerfalsenonenone
    » passwordstringfalsenonenone
    » valid_untilstring¦nullfalsenonenone
    » configstring¦nullfalsenonenone
    » grants[Grant]falsenonenone
    »» table_idintegerfalsenonenone
    »» grantorstringfalsenonenone
    »» granteestringfalsenonenone
    »» catalogstringfalsenonenone
    »» schemastringfalsenonenone
    »» table_namestringfalsenonenone
    »» privilege_typestringfalsenonenone
    »» is_grantablebooleanfalsenonenone
    »» with_hierarchybooleanfalsenonenone
    - -

    Create a role

    -

    -
    -

    Code samples

    -
    -
    # You can also use wget
    -curl -X POST /roles \
    -  -H 'Content-Type: application/json' \
    -  -H 'Accept: application/json'
    -
    -
    -
    POST /roles HTTP/1.1
    -
    -Content-Type: application/json
    -Accept: application/json
    -
    -
    -
    const inputBody = '{
    -  "name": "string",
    -  "is_superuser": true,
    -  "can_create_db": true,
    -  "can_create_role": true,
    -  "inherit_role": true,
    -  "can_login": true,
    -  "is_replication_role": true,
    -  "can_bypass_rls": true,
    -  "connection_limit": 0,
    -  "password": "string",
    -  "valid_until": "string",
    -  "member_of": [
    -    "string"
    -  ],
    -  "members": [
    -    "string"
    -  ],
    -  "admins": [
    -    "string"
    -  ]
    -}';
    -const headers = {
    -  'Content-Type':'application/json',
    -  'Accept':'application/json'
    -};
    -
    -fetch('/roles',
    -{
    -  method: 'POST',
    -  body: inputBody,
    -  headers: headers
    -})
    -.then(function(res) {
    -    return res.json();
    -}).then(function(body) {
    -    console.log(body);
    -});
    -
    -
    -
    require 'rest-client'
    -require 'json'
    -
    -headers = {
    -  'Content-Type' => 'application/json',
    -  'Accept' => 'application/json'
    -}
    -
    -result = RestClient.post '/roles',
    -  params: {
    -  }, headers: headers
    -
    -p JSON.parse(result)
    -
    -
    -
    import requests
    -headers = {
    -  'Content-Type': 'application/json',
    -  'Accept': 'application/json'
    -}
    -
    -r = requests.post('/roles', headers = headers)
    -
    -print(r.json())
    -
    -
    -
     'application/json',
    -    'Accept' => 'application/json',
    -);
    -
    -$client = new \GuzzleHttp\Client();
    -
    -// Define array of request body.
    -$request_body = array();
    -
    -try {
    -    $response = $client->request('POST','/roles', array(
    -        'headers' => $headers,
    -        'json' => $request_body,
    -       )
    -    );
    -    print_r($response->getBody()->getContents());
    - }
    - catch (\GuzzleHttp\Exception\BadResponseException $e) {
    -    // handle exception or api errors.
    -    print_r($e->getMessage());
    - }
    -
    - // ...
    -
    -
    -
    URL obj = new URL("/roles");
    -HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    -con.setRequestMethod("POST");
    -int responseCode = con.getResponseCode();
    -BufferedReader in = new BufferedReader(
    -    new InputStreamReader(con.getInputStream()));
    -String inputLine;
    -StringBuffer response = new StringBuffer();
    -while ((inputLine = in.readLine()) != null) {
    -    response.append(inputLine);
    -}
    -in.close();
    -System.out.println(response.toString());
    -
    -
    -
    package main
    -
    -import (
    -       "bytes"
    -       "net/http"
    -)
    -
    -func main() {
    -
    -    headers := map[string][]string{
    -        "Content-Type": []string{"application/json"},
    -        "Accept": []string{"application/json"},
    -    }
    -
    -    data := bytes.NewBuffer([]byte{jsonReq})
    -    req, err := http.NewRequest("POST", "/roles", data)
    -    req.Header = headers
    -
    -    client := &http.Client{}
    -    resp, err := client.Do(req)
    -    // ...
    -}
    -
    -
    -

    POST /roles

    -
    -

    Body parameter

    -
    -
    {
    -  "name": "string",
    -  "is_superuser": true,
    -  "can_create_db": true,
    -  "can_create_role": true,
    -  "inherit_role": true,
    -  "can_login": true,
    -  "is_replication_role": true,
    -  "can_bypass_rls": true,
    -  "connection_limit": 0,
    -  "password": "string",
    -  "valid_until": "string",
    -  "member_of": [
    -    "string"
    -  ],
    -  "members": [
    -    "string"
    -  ],
    -  "admins": [
    -    "string"
    -  ]
    -}
    -
    -

    Parameters

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameInTypeRequiredDescription
    bodybodyobjecttruenone
    » namebodystringtruenone
    » is_superuserbodybooleanfalsenone
    » can_create_dbbodybooleanfalsenone
    » can_create_rolebodybooleanfalsenone
    » inherit_rolebodybooleanfalsenone
    » can_loginbodybooleanfalsenone
    » is_replication_rolebodybooleanfalsenone
    » can_bypass_rlsbodybooleanfalsenone
    » connection_limitbodyintegerfalsenone
    » passwordbodystringfalsenone
    » valid_untilbodystringfalsenone
    » member_ofbody[string]falsenone
    » membersbody[string]falsenone
    » adminsbody[string]falsenone
    -
    -

    Example responses

    -
    -
    -

    200 Response

    -
    -
    {
    -  "id": 0,
    -  "name": "string",
    -  "is_superuser": true,
    -  "can_create_db": true,
    -  "can_create_role": true,
    -  "inherit_role": true,
    -  "can_login": true,
    -  "is_replication_role": true,
    -  "can_bypass_rls": true,
    -  "active_connections": 0,
    -  "connection_limit": 0,
    -  "password": "string",
    -  "valid_until": "string",
    -  "config": "string",
    -  "grants": [
    -    {
    -      "table_id": 0,
    -      "grantor": "string",
    -      "grantee": "string",
    -      "catalog": "string",
    -      "schema": "string",
    -      "table_name": "string",
    -      "privilege_type": "string",
    -      "is_grantable": true,
    -      "with_hierarchy": true
    -    }
    -  ]
    -}
    -
    -

    Responses

    - - - - - - - - - - - - - - - - - -
    StatusMeaningDescriptionSchema
    200OKSuccessful operationRole
    - -

    Update a role by ID

    -

    -
    -

    Code samples

    -
    -
    # You can also use wget
    -curl -X PATCH /roles/{id} \
    -  -H 'Content-Type: application/json' \
    -  -H 'Accept: application/json'
    -
    -
    -
    PATCH /roles/{id} HTTP/1.1
    -
    -Content-Type: application/json
    -Accept: application/json
    -
    -
    -
    const inputBody = '{
    -  "name": "string",
    -  "is_superuser": true,
    -  "can_create_db": true,
    -  "can_create_role": true,
    -  "inherit_role": true,
    -  "can_login": true,
    -  "is_replication_role": true,
    -  "can_bypass_rls": true,
    -  "connection_limit": 0,
    -  "password": "string",
    -  "valid_until": "string"
    -}';
    -const headers = {
    -  'Content-Type':'application/json',
    -  'Accept':'application/json'
    -};
    -
    -fetch('/roles/{id}',
    -{
    -  method: 'PATCH',
    -  body: inputBody,
    -  headers: headers
    -})
    -.then(function(res) {
    -    return res.json();
    -}).then(function(body) {
    -    console.log(body);
    -});
    -
    -
    -
    require 'rest-client'
    -require 'json'
    -
    -headers = {
    -  'Content-Type' => 'application/json',
    -  'Accept' => 'application/json'
    -}
    -
    -result = RestClient.patch '/roles/{id}',
    -  params: {
    -  }, headers: headers
    -
    -p JSON.parse(result)
    -
    -
    -
    import requests
    -headers = {
    -  'Content-Type': 'application/json',
    -  'Accept': 'application/json'
    -}
    -
    -r = requests.patch('/roles/{id}', headers = headers)
    -
    -print(r.json())
    -
    -
    -
     'application/json',
    -    'Accept' => 'application/json',
    -);
    -
    -$client = new \GuzzleHttp\Client();
    -
    -// Define array of request body.
    -$request_body = array();
    -
    -try {
    -    $response = $client->request('PATCH','/roles/{id}', array(
    -        'headers' => $headers,
    -        'json' => $request_body,
    -       )
    -    );
    -    print_r($response->getBody()->getContents());
    - }
    - catch (\GuzzleHttp\Exception\BadResponseException $e) {
    -    // handle exception or api errors.
    -    print_r($e->getMessage());
    - }
    -
    - // ...
    -
    -
    -
    URL obj = new URL("/roles/{id}");
    -HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    -con.setRequestMethod("PATCH");
    -int responseCode = con.getResponseCode();
    -BufferedReader in = new BufferedReader(
    -    new InputStreamReader(con.getInputStream()));
    -String inputLine;
    -StringBuffer response = new StringBuffer();
    -while ((inputLine = in.readLine()) != null) {
    -    response.append(inputLine);
    -}
    -in.close();
    -System.out.println(response.toString());
    -
    -
    -
    package main
    -
    -import (
    -       "bytes"
    -       "net/http"
    -)
    -
    -func main() {
    -
    -    headers := map[string][]string{
    -        "Content-Type": []string{"application/json"},
    -        "Accept": []string{"application/json"},
    -    }
    -
    -    data := bytes.NewBuffer([]byte{jsonReq})
    -    req, err := http.NewRequest("PATCH", "/roles/{id}", data)
    -    req.Header = headers
    -
    -    client := &http.Client{}
    -    resp, err := client.Do(req)
    -    // ...
    -}
    -
    -
    -

    PATCH /roles/{id}

    -
    -

    Body parameter

    -
    -
    {
    -  "name": "string",
    -  "is_superuser": true,
    -  "can_create_db": true,
    -  "can_create_role": true,
    -  "inherit_role": true,
    -  "can_login": true,
    -  "is_replication_role": true,
    -  "can_bypass_rls": true,
    -  "connection_limit": 0,
    -  "password": "string",
    -  "valid_until": "string"
    -}
    -
    -

    Parameters

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameInTypeRequiredDescription
    bodybodyobjecttruenone
    » namebodystringfalsenone
    » is_superuserbodybooleanfalsenone
    » can_create_dbbodybooleanfalsenone
    » can_create_rolebodybooleanfalsenone
    » inherit_rolebodybooleanfalsenone
    » can_loginbodybooleanfalsenone
    » is_replication_rolebodybooleanfalsenone
    » can_bypass_rlsbodybooleanfalsenone
    » connection_limitbodyintegerfalsenone
    » passwordbodystringfalsenone
    » valid_untilbodystringfalsenone
    idpathintegertruenone
    -
    -

    Example responses

    -
    -
    -

    200 Response

    -
    -
    {
    -  "id": 0,
    -  "name": "string",
    -  "is_superuser": true,
    -  "can_create_db": true,
    -  "can_create_role": true,
    -  "inherit_role": true,
    -  "can_login": true,
    -  "is_replication_role": true,
    -  "can_bypass_rls": true,
    -  "active_connections": 0,
    -  "connection_limit": 0,
    -  "password": "string",
    -  "valid_until": "string",
    -  "config": "string",
    -  "grants": [
    -    {
    -      "table_id": 0,
    -      "grantor": "string",
    -      "grantee": "string",
    -      "catalog": "string",
    -      "schema": "string",
    -      "table_name": "string",
    -      "privilege_type": "string",
    -      "is_grantable": true,
    -      "with_hierarchy": true
    -    }
    -  ]
    -}
    -
    -

    Responses

    - - - - - - - - - - - - - - - - - -
    StatusMeaningDescriptionSchema
    200OKSuccessful operationRole
    - -

    Delete a role by ID

    -

    -
    -

    Code samples

    -
    -
    # You can also use wget
    -curl -X DELETE /roles/{id} \
    -  -H 'Accept: application/json'
    -
    -
    -
    DELETE /roles/{id} HTTP/1.1
    -
    -Accept: application/json
    -
    -
    -
    
    -const headers = {
    -  'Accept':'application/json'
    -};
    -
    -fetch('/roles/{id}',
    -{
    -  method: 'DELETE',
    -
    -  headers: headers
    -})
    -.then(function(res) {
    -    return res.json();
    -}).then(function(body) {
    -    console.log(body);
    -});
    -
    -
    -
    require 'rest-client'
    -require 'json'
    -
    -headers = {
    -  'Accept' => 'application/json'
    -}
    -
    -result = RestClient.delete '/roles/{id}',
    -  params: {
    -  }, headers: headers
    -
    -p JSON.parse(result)
    -
    -
    -
    import requests
    -headers = {
    -  'Accept': 'application/json'
    -}
    -
    -r = requests.delete('/roles/{id}', headers = headers)
    -
    -print(r.json())
    -
    -
    -
     'application/json',
    -);
    -
    -$client = new \GuzzleHttp\Client();
    -
    -// Define array of request body.
    -$request_body = array();
    -
    -try {
    -    $response = $client->request('DELETE','/roles/{id}', array(
    -        'headers' => $headers,
    -        'json' => $request_body,
    -       )
    -    );
    -    print_r($response->getBody()->getContents());
    - }
    - catch (\GuzzleHttp\Exception\BadResponseException $e) {
    -    // handle exception or api errors.
    -    print_r($e->getMessage());
    - }
    -
    - // ...
    -
    -
    -
    URL obj = new URL("/roles/{id}");
    -HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    -con.setRequestMethod("DELETE");
    -int responseCode = con.getResponseCode();
    -BufferedReader in = new BufferedReader(
    -    new InputStreamReader(con.getInputStream()));
    -String inputLine;
    -StringBuffer response = new StringBuffer();
    -while ((inputLine = in.readLine()) != null) {
    -    response.append(inputLine);
    -}
    -in.close();
    -System.out.println(response.toString());
    -
    -
    -
    package main
    -
    -import (
    -       "bytes"
    -       "net/http"
    -)
    -
    -func main() {
    -
    -    headers := map[string][]string{
    -        "Accept": []string{"application/json"},
    -    }
    -
    -    data := bytes.NewBuffer([]byte{jsonReq})
    -    req, err := http.NewRequest("DELETE", "/roles/{id}", data)
    -    req.Header = headers
    -
    -    client := &http.Client{}
    -    resp, err := client.Do(req)
    -    // ...
    -}
    -
    -
    -

    DELETE /roles/{id}

    -

    Parameters

    - - - - - - - - - - - - - - - - - - - -
    NameInTypeRequiredDescription
    idpathintegertruenone
    -
    -

    Example responses

    -
    -
    -

    200 Response

    -
    -
    {
    -  "id": 0,
    -  "name": "string",
    -  "is_superuser": true,
    -  "can_create_db": true,
    -  "can_create_role": true,
    -  "inherit_role": true,
    -  "can_login": true,
    -  "is_replication_role": true,
    -  "can_bypass_rls": true,
    -  "active_connections": 0,
    -  "connection_limit": 0,
    -  "password": "string",
    -  "valid_until": "string",
    -  "config": "string",
    -  "grants": [
    -    {
    -      "table_id": 0,
    -      "grantor": "string",
    -      "grantee": "string",
    -      "catalog": "string",
    -      "schema": "string",
    -      "table_name": "string",
    -      "privilege_type": "string",
    -      "is_grantable": true,
    -      "with_hierarchy": true
    -    }
    -  ]
    -}
    -
    -

    Responses

    - - - - - - - - - - - - - - - - - -
    StatusMeaningDescriptionSchema
    200OKSuccessful operationRole
    - -

    /schemas

    -

    Get all schemas

    -

    -
    -

    Code samples

    -
    -
    # You can also use wget
    -curl -X GET /schemas \
    -  -H 'Accept: application/json'
    -
    -
    -
    GET /schemas HTTP/1.1
    -
    -Accept: application/json
    -
    -
    -
    
    -const headers = {
    -  'Accept':'application/json'
    -};
    -
    -fetch('/schemas',
    -{
    -  method: 'GET',
    -
    -  headers: headers
    -})
    -.then(function(res) {
    -    return res.json();
    -}).then(function(body) {
    -    console.log(body);
    -});
    -
    -
    -
    require 'rest-client'
    -require 'json'
    -
    -headers = {
    -  'Accept' => 'application/json'
    -}
    -
    -result = RestClient.get '/schemas',
    -  params: {
    -  }, headers: headers
    -
    -p JSON.parse(result)
    -
    -
    -
    import requests
    -headers = {
    -  'Accept': 'application/json'
    -}
    -
    -r = requests.get('/schemas', headers = headers)
    -
    -print(r.json())
    -
    -
    -
     'application/json',
    -);
    -
    -$client = new \GuzzleHttp\Client();
    -
    -// Define array of request body.
    -$request_body = array();
    -
    -try {
    -    $response = $client->request('GET','/schemas', array(
    -        'headers' => $headers,
    -        'json' => $request_body,
    -       )
    -    );
    -    print_r($response->getBody()->getContents());
    - }
    - catch (\GuzzleHttp\Exception\BadResponseException $e) {
    -    // handle exception or api errors.
    -    print_r($e->getMessage());
    - }
    -
    - // ...
    -
    -
    -
    URL obj = new URL("/schemas");
    -HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    -con.setRequestMethod("GET");
    -int responseCode = con.getResponseCode();
    -BufferedReader in = new BufferedReader(
    -    new InputStreamReader(con.getInputStream()));
    -String inputLine;
    -StringBuffer response = new StringBuffer();
    -while ((inputLine = in.readLine()) != null) {
    -    response.append(inputLine);
    -}
    -in.close();
    -System.out.println(response.toString());
    -
    -
    -
    package main
    -
    -import (
    -       "bytes"
    -       "net/http"
    -)
    -
    -func main() {
    -
    -    headers := map[string][]string{
    -        "Accept": []string{"application/json"},
    -    }
    -
    -    data := bytes.NewBuffer([]byte{jsonReq})
    -    req, err := http.NewRequest("GET", "/schemas", data)
    -    req.Header = headers
    -
    -    client := &http.Client{}
    -    resp, err := client.Do(req)
    -    // ...
    -}
    -
    -
    -

    GET /schemas

    -

    Parameters

    - - - - - - - - - - - - - - - - - - - -
    NameInTypeRequiredDescription
    include_system_schemasquerybooleanfalsenone
    -
    -

    Example responses

    -
    -
    -

    200 Response

    -
    -
    [
    -  {
    -    "id": 0,
    -    "catalog_name": "string",
    -    "name": "string",
    -    "owner": "string",
    -    "default_character_set_catalog": "string",
    -    "default_character_set_schema": "string",
    -    "default_character_set_name": "string",
    -    "sql_path": "string"
    -  }
    -]
    -
    -

    Responses

    - - - - - - - - - - - - - - - - - -
    StatusMeaningDescriptionSchema
    200OKSuccessful operationInline
    -

    Response Schema

    -

    Status Code 200

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeRequiredRestrictionsDescription
    anonymous[Schema]falsenonenone
    » idintegerfalsenonenone
    » catalog_namestringfalsenonenone
    » namestringfalsenonenone
    » ownerstringfalsenonenone
    » default_character_set_catalogstring¦nullfalsenonenone
    » default_character_set_schemastring¦nullfalsenonenone
    » default_character_set_namestring¦nullfalsenonenone
    » sql_pathstring¦nullfalsenonenone
    - -

    Create a schema

    -

    -
    -

    Code samples

    -
    -
    # You can also use wget
    -curl -X POST /schemas \
    -  -H 'Content-Type: application/json' \
    -  -H 'Accept: application/json'
    -
    -
    -
    POST /schemas HTTP/1.1
    -
    -Content-Type: application/json
    -Accept: application/json
    -
    -
    -
    const inputBody = '{
    -  "name": "string",
    -  "owner": "string"
    -}';
    -const headers = {
    -  'Content-Type':'application/json',
    -  'Accept':'application/json'
    -};
    -
    -fetch('/schemas',
    -{
    -  method: 'POST',
    -  body: inputBody,
    -  headers: headers
    -})
    -.then(function(res) {
    -    return res.json();
    -}).then(function(body) {
    -    console.log(body);
    -});
    -
    -
    -
    require 'rest-client'
    -require 'json'
    -
    -headers = {
    -  'Content-Type' => 'application/json',
    -  'Accept' => 'application/json'
    -}
    -
    -result = RestClient.post '/schemas',
    -  params: {
    -  }, headers: headers
    -
    -p JSON.parse(result)
    -
    -
    -
    import requests
    -headers = {
    -  'Content-Type': 'application/json',
    -  'Accept': 'application/json'
    -}
    -
    -r = requests.post('/schemas', headers = headers)
    -
    -print(r.json())
    -
    -
    -
     'application/json',
    -    'Accept' => 'application/json',
    -);
    -
    -$client = new \GuzzleHttp\Client();
    -
    -// Define array of request body.
    -$request_body = array();
    -
    -try {
    -    $response = $client->request('POST','/schemas', array(
    -        'headers' => $headers,
    -        'json' => $request_body,
    -       )
    -    );
    -    print_r($response->getBody()->getContents());
    - }
    - catch (\GuzzleHttp\Exception\BadResponseException $e) {
    -    // handle exception or api errors.
    -    print_r($e->getMessage());
    - }
    -
    - // ...
    -
    -
    -
    URL obj = new URL("/schemas");
    -HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    -con.setRequestMethod("POST");
    -int responseCode = con.getResponseCode();
    -BufferedReader in = new BufferedReader(
    -    new InputStreamReader(con.getInputStream()));
    -String inputLine;
    -StringBuffer response = new StringBuffer();
    -while ((inputLine = in.readLine()) != null) {
    -    response.append(inputLine);
    -}
    -in.close();
    -System.out.println(response.toString());
    -
    -
    -
    package main
    -
    -import (
    -       "bytes"
    -       "net/http"
    -)
    -
    -func main() {
    -
    -    headers := map[string][]string{
    -        "Content-Type": []string{"application/json"},
    -        "Accept": []string{"application/json"},
    -    }
    -
    -    data := bytes.NewBuffer([]byte{jsonReq})
    -    req, err := http.NewRequest("POST", "/schemas", data)
    -    req.Header = headers
    -
    -    client := &http.Client{}
    -    resp, err := client.Do(req)
    -    // ...
    -}
    -
    -
    -

    POST /schemas

    -
    -

    Body parameter

    -
    -
    {
    -  "name": "string",
    -  "owner": "string"
    -}
    -
    -

    Parameters

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameInTypeRequiredDescription
    bodybodyobjecttruenone
    » namebodystringtruenone
    » ownerbodystringtruenone
    -
    -

    Example responses

    -
    -
    -

    200 Response

    -
    -
    {
    -  "id": 0,
    -  "catalog_name": "string",
    -  "name": "string",
    -  "owner": "string",
    -  "default_character_set_catalog": "string",
    -  "default_character_set_schema": "string",
    -  "default_character_set_name": "string",
    -  "sql_path": "string"
    -}
    -
    -

    Responses

    - - - - - - - - - - - - - - - - - -
    StatusMeaningDescriptionSchema
    200OKSuccessful operationSchema
    - -

    Update a schema by ID

    -

    -
    -

    Code samples

    -
    -
    # You can also use wget
    -curl -X PATCH /schemas/{id} \
    -  -H 'Content-Type: application/json' \
    -  -H 'Accept: application/json'
    -
    -
    -
    PATCH /schemas/{id} HTTP/1.1
    -
    -Content-Type: application/json
    -Accept: application/json
    -
    -
    -
    const inputBody = '{
    -  "name": "string",
    -  "owner": "string"
    -}';
    -const headers = {
    -  'Content-Type':'application/json',
    -  'Accept':'application/json'
    -};
    -
    -fetch('/schemas/{id}',
    -{
    -  method: 'PATCH',
    -  body: inputBody,
    -  headers: headers
    -})
    -.then(function(res) {
    -    return res.json();
    -}).then(function(body) {
    -    console.log(body);
    -});
    -
    -
    -
    require 'rest-client'
    -require 'json'
    -
    -headers = {
    -  'Content-Type' => 'application/json',
    -  'Accept' => 'application/json'
    -}
    -
    -result = RestClient.patch '/schemas/{id}',
    -  params: {
    -  }, headers: headers
    -
    -p JSON.parse(result)
    -
    -
    -
    import requests
    -headers = {
    -  'Content-Type': 'application/json',
    -  'Accept': 'application/json'
    -}
    -
    -r = requests.patch('/schemas/{id}', headers = headers)
    -
    -print(r.json())
    -
    -
    -
     'application/json',
    -    'Accept' => 'application/json',
    -);
    -
    -$client = new \GuzzleHttp\Client();
    -
    -// Define array of request body.
    -$request_body = array();
    -
    -try {
    -    $response = $client->request('PATCH','/schemas/{id}', array(
    -        'headers' => $headers,
    -        'json' => $request_body,
    -       )
    -    );
    -    print_r($response->getBody()->getContents());
    - }
    - catch (\GuzzleHttp\Exception\BadResponseException $e) {
    -    // handle exception or api errors.
    -    print_r($e->getMessage());
    - }
    -
    - // ...
    -
    -
    -
    URL obj = new URL("/schemas/{id}");
    -HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    -con.setRequestMethod("PATCH");
    -int responseCode = con.getResponseCode();
    -BufferedReader in = new BufferedReader(
    -    new InputStreamReader(con.getInputStream()));
    -String inputLine;
    -StringBuffer response = new StringBuffer();
    -while ((inputLine = in.readLine()) != null) {
    -    response.append(inputLine);
    -}
    -in.close();
    -System.out.println(response.toString());
    -
    -
    -
    package main
    -
    -import (
    -       "bytes"
    -       "net/http"
    -)
    -
    -func main() {
    -
    -    headers := map[string][]string{
    -        "Content-Type": []string{"application/json"},
    -        "Accept": []string{"application/json"},
    -    }
    -
    -    data := bytes.NewBuffer([]byte{jsonReq})
    -    req, err := http.NewRequest("PATCH", "/schemas/{id}", data)
    -    req.Header = headers
    -
    -    client := &http.Client{}
    -    resp, err := client.Do(req)
    -    // ...
    -}
    -
    -
    -

    PATCH /schemas/{id}

    -
    -

    Body parameter

    -
    -
    {
    -  "name": "string",
    -  "owner": "string"
    -}
    -
    -

    Parameters

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameInTypeRequiredDescription
    bodybodyobjecttruenone
    » namebodystringfalsenone
    » ownerbodystringfalsenone
    idpathintegertruenone
    -
    -

    Example responses

    -
    -
    -

    200 Response

    -
    -
    {
    -  "id": 0,
    -  "catalog_name": "string",
    -  "name": "string",
    -  "owner": "string",
    -  "default_character_set_catalog": "string",
    -  "default_character_set_schema": "string",
    -  "default_character_set_name": "string",
    -  "sql_path": "string"
    -}
    -
    -

    Responses

    - - - - - - - - - - - - - - - - - -
    StatusMeaningDescriptionSchema
    200OKSuccessful operationSchema
    - -

    Delete a schema by ID

    -

    -
    -

    Code samples

    -
    -
    # You can also use wget
    -curl -X DELETE /schemas/{id} \
    -  -H 'Accept: application/json'
    -
    -
    -
    DELETE /schemas/{id} HTTP/1.1
    -
    -Accept: application/json
    -
    -
    -
    
    -const headers = {
    -  'Accept':'application/json'
    -};
    -
    -fetch('/schemas/{id}',
    -{
    -  method: 'DELETE',
    -
    -  headers: headers
    -})
    -.then(function(res) {
    -    return res.json();
    -}).then(function(body) {
    -    console.log(body);
    -});
    -
    -
    -
    require 'rest-client'
    -require 'json'
    -
    -headers = {
    -  'Accept' => 'application/json'
    -}
    -
    -result = RestClient.delete '/schemas/{id}',
    -  params: {
    -  }, headers: headers
    -
    -p JSON.parse(result)
    -
    -
    -
    import requests
    -headers = {
    -  'Accept': 'application/json'
    -}
    -
    -r = requests.delete('/schemas/{id}', headers = headers)
    -
    -print(r.json())
    -
    -
    -
     'application/json',
    -);
    -
    -$client = new \GuzzleHttp\Client();
    -
    -// Define array of request body.
    -$request_body = array();
    -
    -try {
    -    $response = $client->request('DELETE','/schemas/{id}', array(
    -        'headers' => $headers,
    -        'json' => $request_body,
    -       )
    -    );
    -    print_r($response->getBody()->getContents());
    - }
    - catch (\GuzzleHttp\Exception\BadResponseException $e) {
    -    // handle exception or api errors.
    -    print_r($e->getMessage());
    - }
    -
    - // ...
    -
    -
    -
    URL obj = new URL("/schemas/{id}");
    -HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    -con.setRequestMethod("DELETE");
    -int responseCode = con.getResponseCode();
    -BufferedReader in = new BufferedReader(
    -    new InputStreamReader(con.getInputStream()));
    -String inputLine;
    -StringBuffer response = new StringBuffer();
    -while ((inputLine = in.readLine()) != null) {
    -    response.append(inputLine);
    -}
    -in.close();
    -System.out.println(response.toString());
    -
    -
    -
    package main
    -
    -import (
    -       "bytes"
    -       "net/http"
    -)
    -
    -func main() {
    -
    -    headers := map[string][]string{
    -        "Accept": []string{"application/json"},
    -    }
    -
    -    data := bytes.NewBuffer([]byte{jsonReq})
    -    req, err := http.NewRequest("DELETE", "/schemas/{id}", data)
    -    req.Header = headers
    -
    -    client := &http.Client{}
    -    resp, err := client.Do(req)
    -    // ...
    -}
    -
    -
    -

    DELETE /schemas/{id}

    -

    Parameters

    - - - - - - - - - - - - - - - - - - - -
    NameInTypeRequiredDescription
    idpathintegertruenone
    -
    -

    Example responses

    -
    -
    -

    200 Response

    -
    -
    {
    -  "id": 0,
    -  "catalog_name": "string",
    -  "name": "string",
    -  "owner": "string",
    -  "default_character_set_catalog": "string",
    -  "default_character_set_schema": "string",
    -  "default_character_set_name": "string",
    -  "sql_path": "string"
    -}
    -
    -

    Responses

    - - - - - - - - - - - - - - - - - -
    StatusMeaningDescriptionSchema
    200OKSuccessful operationSchema
    - -

    /tables

    -

    Get all tables

    -

    -
    -

    Code samples

    -
    -
    # You can also use wget
    -curl -X GET /tables \
    -  -H 'Accept: application/json'
    -
    -
    -
    GET /tables HTTP/1.1
    -
    -Accept: application/json
    -
    -
    -
    
    -const headers = {
    -  'Accept':'application/json'
    -};
    -
    -fetch('/tables',
    -{
    -  method: 'GET',
    -
    -  headers: headers
    -})
    -.then(function(res) {
    -    return res.json();
    -}).then(function(body) {
    -    console.log(body);
    -});
    -
    -
    -
    require 'rest-client'
    -require 'json'
    -
    -headers = {
    -  'Accept' => 'application/json'
    -}
    -
    -result = RestClient.get '/tables',
    -  params: {
    -  }, headers: headers
    -
    -p JSON.parse(result)
    -
    -
    -
    import requests
    -headers = {
    -  'Accept': 'application/json'
    -}
    -
    -r = requests.get('/tables', headers = headers)
    -
    -print(r.json())
    -
    -
    -
     'application/json',
    -);
    -
    -$client = new \GuzzleHttp\Client();
    -
    -// Define array of request body.
    -$request_body = array();
    -
    -try {
    -    $response = $client->request('GET','/tables', array(
    -        'headers' => $headers,
    -        'json' => $request_body,
    -       )
    -    );
    -    print_r($response->getBody()->getContents());
    - }
    - catch (\GuzzleHttp\Exception\BadResponseException $e) {
    -    // handle exception or api errors.
    -    print_r($e->getMessage());
    - }
    -
    - // ...
    -
    -
    -
    URL obj = new URL("/tables");
    -HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    -con.setRequestMethod("GET");
    -int responseCode = con.getResponseCode();
    -BufferedReader in = new BufferedReader(
    -    new InputStreamReader(con.getInputStream()));
    -String inputLine;
    -StringBuffer response = new StringBuffer();
    -while ((inputLine = in.readLine()) != null) {
    -    response.append(inputLine);
    -}
    -in.close();
    -System.out.println(response.toString());
    -
    -
    -
    package main
    -
    -import (
    -       "bytes"
    -       "net/http"
    -)
    -
    -func main() {
    -
    -    headers := map[string][]string{
    -        "Accept": []string{"application/json"},
    -    }
    -
    -    data := bytes.NewBuffer([]byte{jsonReq})
    -    req, err := http.NewRequest("GET", "/tables", data)
    -    req.Header = headers
    -
    -    client := &http.Client{}
    -    resp, err := client.Do(req)
    -    // ...
    -}
    -
    -
    -

    GET /tables

    -

    Parameters

    - - - - - - - - - - - - - - - - - - - -
    NameInTypeRequiredDescription
    include_system_schemasquerybooleanfalsenone
    -
    -

    Example responses

    -
    -
    -

    200 Response

    -
    -
    [
    -  {
    -    "id": 0,
    -    "catalog": "string",
    -    "schema": "string",
    -    "name": "string",
    -    "is_insertable_into": true,
    -    "rls_enabled": true,
    -    "rls_forced": true,
    -    "is_typed": true,
    -    "bytes": 0,
    -    "size": "string",
    -    "seq_scan_count": 0,
    -    "seq_row_read_count": 0,
    -    "idx_scan_count": 0,
    -    "idx_row_read_count": 0,
    -    "row_ins_count": 0,
    -    "row_upd_count": 0,
    -    "row_del_count": 0,
    -    "row_hot_upd_count": 0,
    -    "live_row_count": 0,
    -    "dead_row_count": 0,
    -    "rows_mod_since_analyze": 0,
    -    "last_vacuum": "string",
    -    "last_autovacuum": "string",
    -    "last_analyze": "string",
    -    "last_autoanalyze": "string",
    -    "vacuum_count": 0,
    -    "autovacuum_count": 0,
    -    "analyze_count": 0,
    -    "autoanalyze_count": 0,
    -    "columns": [
    -      {
    -        "table_id": 0,
    -        "schema": "string",
    -        "table": "string",
    -        "id": "string",
    -        "ordinal_position": 0,
    -        "name": "string",
    -        "default_value": "string",
    -        "data_type": "string",
    -        "format": "string",
    -        "description": "string",
    -        "is_identity": true,
    -        "identity_generation": "string",
    -        "is_nullable": true,
    -        "is_updatable": true,
    -        "enums": [
    -          "string"
    -        ]
    -      }
    -    ],
    -    "grants": [
    -      {
    -        "table_id": 0,
    -        "grantor": "string",
    -        "grantee": "string",
    -        "catalog": "string",
    -        "schema": "string",
    -        "table_name": "string",
    -        "privilege_type": "string",
    -        "is_grantable": true,
    -        "with_hierarchy": true
    -      }
    -    ],
    -    "policies": [
    -      {
    -        "id": 0,
    -        "name": "string",
    -        "schema": "string",
    -        "table": "string",
    -        "table_id": 0,
    -        "action": "PERMISSIVE",
    -        "roles": [
    -          "string"
    -        ],
    -        "command": "string",
    -        "definition": "string",
    -        "check": "string"
    -      }
    -    ],
    -    "primary_keys": [
    -      {
    -        "schema": "string",
    -        "table_name": "string",
    -        "name": "string",
    -        "table_id": 0
    -      }
    -    ],
    -    "relationships": [
    -      {
    -        "source_schema": "string",
    -        "source_table_name": "string",
    -        "source_column_name": "string",
    -        "target_table_schema": "string",
    -        "target_table_name": "string",
    -        "target_column_name": "string",
    -        "constraint_name": "string"
    -      }
    -    ]
    -  }
    -]
    -
    -

    Responses

    - - - - - - - - - - - - - - - - - -
    StatusMeaningDescriptionSchema
    200OKSuccessful operationInline
    -

    Response Schema

    -

    Status Code 200

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeRequiredRestrictionsDescription
    anonymous[Table]falsenonenone
    » idintegerfalsenonenone
    » catalogstringfalsenonenone
    » schemastringfalsenonenone
    » namestringfalsenonenone
    » is_insertable_intobooleanfalsenonenone
    » rls_enabledbooleanfalsenonenone
    » rls_forcedbooleanfalsenonenone
    » is_typedbooleanfalsenonenone
    » bytesintegerfalsenonenone
    » sizestringfalsenonenone
    » seq_scan_countintegerfalsenonenone
    » seq_row_read_countintegerfalsenonenone
    » idx_scan_countintegerfalsenonenone
    » idx_row_read_countintegerfalsenonenone
    » row_ins_countintegerfalsenonenone
    » row_upd_countintegerfalsenonenone
    » row_del_countintegerfalsenonenone
    » row_hot_upd_countintegerfalsenonenone
    » live_row_countintegerfalsenonenone
    » dead_row_countintegerfalsenonenone
    » rows_mod_since_analyzeintegerfalsenonenone
    » last_vacuumstring¦nullfalsenonenone
    » last_autovacuumstring¦nullfalsenonenone
    » last_analyzestring¦nullfalsenonenone
    » last_autoanalyzestring¦nullfalsenonenone
    » vacuum_countintegerfalsenonenone
    » autovacuum_countintegerfalsenonenone
    » analyze_countintegerfalsenonenone
    » autoanalyze_countintegerfalsenonenone
    » columns[Column]falsenonenone
    »» table_idintegerfalsenonenone
    »» schemastringfalsenonenone
    »» tablestringfalsenonenone
    »» idstringfalsenonenone
    »» ordinal_positionintegerfalsenonenone
    »» namestringfalsenonenone
    »» default_valuestringfalsenonenone
    »» data_typestringfalsenonenone
    »» formatstringfalsenonenone
    »» descriptionstringfalsenonenone
    »» is_identitybooleanfalsenonenone
    »» identity_generationstringfalsenonenone
    »» is_nullablebooleanfalsenonenone
    »» is_updatablebooleanfalsenonenone
    »» enums[string]falsenonenone
    » grants[Grant]falsenonenone
    »» table_idintegerfalsenonenone
    »» grantorstringfalsenonenone
    »» granteestringfalsenonenone
    »» catalogstringfalsenonenone
    »» schemastringfalsenonenone
    »» table_namestringfalsenonenone
    »» privilege_typestringfalsenonenone
    »» is_grantablebooleanfalsenonenone
    »» with_hierarchybooleanfalsenonenone
    » policies[Policy]falsenonenone
    »» idintegerfalsenonenone
    »» namestringfalsenonenone
    »» schemastringfalsenonenone
    »» tablestringfalsenonenone
    »» table_idintegerfalsenonenone
    »» actionstringfalsenonenone
    »» roles[string]falsenonenone
    »» commandstringfalsenonenone
    »» definitionstringfalsenonenone
    »» checkstring¦nullfalsenonenone
    » primary_keys[object]falsenonenone
    »» schemastringfalsenonenone
    »» table_namestringfalsenonenone
    »» namestringfalsenonenone
    »» table_idintegerfalsenonenone
    » relationships[object]falsenonenone
    »» source_schemastringfalsenonenone
    »» source_table_namestringfalsenonenone
    »» source_column_namestringfalsenonenone
    »» target_table_schemastringfalsenonenone
    »» target_table_namestringfalsenonenone
    »» target_column_namestringfalsenonenone
    »» constraint_namestringfalsenonenone
    -

    Enumerated Values

    - - - - - - - - - - - - - - - - - -
    PropertyValue
    actionPERMISSIVE
    actionRESTRICTIVE
    - -

    Create a table

    -

    -
    -

    Code samples

    -
    -
    # You can also use wget
    -curl -X POST /tables \
    -  -H 'Content-Type: application/json' \
    -  -H 'Accept: application/json'
    -
    -
    -
    POST /tables HTTP/1.1
    -
    -Content-Type: application/json
    -Accept: application/json
    -
    -
    -
    const inputBody = '{
    -  "name": "string",
    -  "schema": "string"
    -}';
    -const headers = {
    -  'Content-Type':'application/json',
    -  'Accept':'application/json'
    -};
    -
    -fetch('/tables',
    -{
    -  method: 'POST',
    -  body: inputBody,
    -  headers: headers
    -})
    -.then(function(res) {
    -    return res.json();
    -}).then(function(body) {
    -    console.log(body);
    -});
    -
    -
    -
    require 'rest-client'
    -require 'json'
    -
    -headers = {
    -  'Content-Type' => 'application/json',
    -  'Accept' => 'application/json'
    -}
    -
    -result = RestClient.post '/tables',
    -  params: {
    -  }, headers: headers
    -
    -p JSON.parse(result)
    -
    -
    -
    import requests
    -headers = {
    -  'Content-Type': 'application/json',
    -  'Accept': 'application/json'
    -}
    -
    -r = requests.post('/tables', headers = headers)
    -
    -print(r.json())
    -
    -
    -
     'application/json',
    -    'Accept' => 'application/json',
    -);
    -
    -$client = new \GuzzleHttp\Client();
    -
    -// Define array of request body.
    -$request_body = array();
    -
    -try {
    -    $response = $client->request('POST','/tables', array(
    -        'headers' => $headers,
    -        'json' => $request_body,
    -       )
    -    );
    -    print_r($response->getBody()->getContents());
    - }
    - catch (\GuzzleHttp\Exception\BadResponseException $e) {
    -    // handle exception or api errors.
    -    print_r($e->getMessage());
    - }
    -
    - // ...
    -
    -
    -
    URL obj = new URL("/tables");
    -HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    -con.setRequestMethod("POST");
    -int responseCode = con.getResponseCode();
    -BufferedReader in = new BufferedReader(
    -    new InputStreamReader(con.getInputStream()));
    -String inputLine;
    -StringBuffer response = new StringBuffer();
    -while ((inputLine = in.readLine()) != null) {
    -    response.append(inputLine);
    -}
    -in.close();
    -System.out.println(response.toString());
    -
    -
    -
    package main
    -
    -import (
    -       "bytes"
    -       "net/http"
    -)
    -
    -func main() {
    -
    -    headers := map[string][]string{
    -        "Content-Type": []string{"application/json"},
    -        "Accept": []string{"application/json"},
    -    }
    -
    -    data := bytes.NewBuffer([]byte{jsonReq})
    -    req, err := http.NewRequest("POST", "/tables", data)
    -    req.Header = headers
    -
    -    client := &http.Client{}
    -    resp, err := client.Do(req)
    -    // ...
    -}
    -
    -
    -

    POST /tables

    -
    -

    Body parameter

    -
    -
    {
    -  "name": "string",
    -  "schema": "string"
    -}
    -
    -

    Parameters

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameInTypeRequiredDescription
    bodybodyobjecttruenone
    » namebodystringtruenone
    » schemabodystringfalsenone
    -
    -

    Example responses

    -
    -
    -

    200 Response

    -
    -
    {
    -  "id": 0,
    -  "catalog": "string",
    -  "schema": "string",
    -  "name": "string",
    -  "is_insertable_into": true,
    -  "rls_enabled": true,
    -  "rls_forced": true,
    -  "is_typed": true,
    -  "bytes": 0,
    -  "size": "string",
    -  "seq_scan_count": 0,
    -  "seq_row_read_count": 0,
    -  "idx_scan_count": 0,
    -  "idx_row_read_count": 0,
    -  "row_ins_count": 0,
    -  "row_upd_count": 0,
    -  "row_del_count": 0,
    -  "row_hot_upd_count": 0,
    -  "live_row_count": 0,
    -  "dead_row_count": 0,
    -  "rows_mod_since_analyze": 0,
    -  "last_vacuum": "string",
    -  "last_autovacuum": "string",
    -  "last_analyze": "string",
    -  "last_autoanalyze": "string",
    -  "vacuum_count": 0,
    -  "autovacuum_count": 0,
    -  "analyze_count": 0,
    -  "autoanalyze_count": 0,
    -  "columns": [
    -    {
    -      "table_id": 0,
    -      "schema": "string",
    -      "table": "string",
    -      "id": "string",
    -      "ordinal_position": 0,
    -      "name": "string",
    -      "default_value": "string",
    -      "data_type": "string",
    -      "format": "string",
    -      "description": "string",
    -      "is_identity": true,
    -      "identity_generation": "string",
    -      "is_nullable": true,
    -      "is_updatable": true,
    -      "enums": [
    -        "string"
    -      ]
    -    }
    -  ],
    -  "grants": [
    -    {
    -      "table_id": 0,
    -      "grantor": "string",
    -      "grantee": "string",
    -      "catalog": "string",
    -      "schema": "string",
    -      "table_name": "string",
    -      "privilege_type": "string",
    -      "is_grantable": true,
    -      "with_hierarchy": true
    -    }
    -  ],
    -  "policies": [
    -    {
    -      "id": 0,
    -      "name": "string",
    -      "schema": "string",
    -      "table": "string",
    -      "table_id": 0,
    -      "action": "PERMISSIVE",
    -      "roles": [
    -        "string"
    -      ],
    -      "command": "string",
    -      "definition": "string",
    -      "check": "string"
    -    }
    -  ],
    -  "primary_keys": [
    -    {
    -      "schema": "string",
    -      "table_name": "string",
    -      "name": "string",
    -      "table_id": 0
    -    }
    -  ],
    -  "relationships": [
    -    {
    -      "source_schema": "string",
    -      "source_table_name": "string",
    -      "source_column_name": "string",
    -      "target_table_schema": "string",
    -      "target_table_name": "string",
    -      "target_column_name": "string",
    -      "constraint_name": "string"
    -    }
    -  ]
    -}
    -
    -

    Responses

    - - - - - - - - - - - - - - - - - -
    StatusMeaningDescriptionSchema
    200OKSuccessful operationTable
    - -

    Update a table by ID

    -

    -
    -

    Code samples

    -
    -
    # You can also use wget
    -curl -X PATCH /tables/{id} \
    -  -H 'Content-Type: application/json' \
    -  -H 'Accept: application/json'
    -
    -
    -
    PATCH /tables/{id} HTTP/1.1
    -
    -Content-Type: application/json
    -Accept: application/json
    -
    -
    -
    const inputBody = '{
    -  "schema": "string",
    -  "name": "string",
    -  "rls_enabled": true,
    -  "rls_forced": true
    -}';
    -const headers = {
    -  'Content-Type':'application/json',
    -  'Accept':'application/json'
    -};
    -
    -fetch('/tables/{id}',
    -{
    -  method: 'PATCH',
    -  body: inputBody,
    -  headers: headers
    -})
    -.then(function(res) {
    -    return res.json();
    -}).then(function(body) {
    -    console.log(body);
    -});
    -
    -
    -
    require 'rest-client'
    -require 'json'
    -
    -headers = {
    -  'Content-Type' => 'application/json',
    -  'Accept' => 'application/json'
    -}
    -
    -result = RestClient.patch '/tables/{id}',
    -  params: {
    -  }, headers: headers
    -
    -p JSON.parse(result)
    -
    -
    -
    import requests
    -headers = {
    -  'Content-Type': 'application/json',
    -  'Accept': 'application/json'
    -}
    -
    -r = requests.patch('/tables/{id}', headers = headers)
    -
    -print(r.json())
    -
    -
    -
     'application/json',
    -    'Accept' => 'application/json',
    -);
    -
    -$client = new \GuzzleHttp\Client();
    -
    -// Define array of request body.
    -$request_body = array();
    -
    -try {
    -    $response = $client->request('PATCH','/tables/{id}', array(
    -        'headers' => $headers,
    -        'json' => $request_body,
    -       )
    -    );
    -    print_r($response->getBody()->getContents());
    - }
    - catch (\GuzzleHttp\Exception\BadResponseException $e) {
    -    // handle exception or api errors.
    -    print_r($e->getMessage());
    - }
    -
    - // ...
    -
    -
    -
    URL obj = new URL("/tables/{id}");
    -HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    -con.setRequestMethod("PATCH");
    -int responseCode = con.getResponseCode();
    -BufferedReader in = new BufferedReader(
    -    new InputStreamReader(con.getInputStream()));
    -String inputLine;
    -StringBuffer response = new StringBuffer();
    -while ((inputLine = in.readLine()) != null) {
    -    response.append(inputLine);
    -}
    -in.close();
    -System.out.println(response.toString());
    -
    -
    -
    package main
    -
    -import (
    -       "bytes"
    -       "net/http"
    -)
    -
    -func main() {
    -
    -    headers := map[string][]string{
    -        "Content-Type": []string{"application/json"},
    -        "Accept": []string{"application/json"},
    -    }
    -
    -    data := bytes.NewBuffer([]byte{jsonReq})
    -    req, err := http.NewRequest("PATCH", "/tables/{id}", data)
    -    req.Header = headers
    -
    -    client := &http.Client{}
    -    resp, err := client.Do(req)
    -    // ...
    -}
    -
    -
    -

    PATCH /tables/{id}

    -
    -

    Body parameter

    -
    -
    {
    -  "schema": "string",
    -  "name": "string",
    -  "rls_enabled": true,
    -  "rls_forced": true
    -}
    -
    -

    Parameters

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameInTypeRequiredDescription
    bodybodyobjecttruenone
    » schemabodystringfalsenone
    » namebodystringfalsenone
    » rls_enabledbodybooleanfalsenone
    » rls_forcedbodybooleanfalsenone
    idpathintegertruenone
    -
    -

    Example responses

    -
    -
    -

    200 Response

    -
    -
    {
    -  "id": 0,
    -  "catalog": "string",
    -  "schema": "string",
    -  "name": "string",
    -  "is_insertable_into": true,
    -  "rls_enabled": true,
    -  "rls_forced": true,
    -  "is_typed": true,
    -  "bytes": 0,
    -  "size": "string",
    -  "seq_scan_count": 0,
    -  "seq_row_read_count": 0,
    -  "idx_scan_count": 0,
    -  "idx_row_read_count": 0,
    -  "row_ins_count": 0,
    -  "row_upd_count": 0,
    -  "row_del_count": 0,
    -  "row_hot_upd_count": 0,
    -  "live_row_count": 0,
    -  "dead_row_count": 0,
    -  "rows_mod_since_analyze": 0,
    -  "last_vacuum": "string",
    -  "last_autovacuum": "string",
    -  "last_analyze": "string",
    -  "last_autoanalyze": "string",
    -  "vacuum_count": 0,
    -  "autovacuum_count": 0,
    -  "analyze_count": 0,
    -  "autoanalyze_count": 0,
    -  "columns": [
    -    {
    -      "table_id": 0,
    -      "schema": "string",
    -      "table": "string",
    -      "id": "string",
    -      "ordinal_position": 0,
    -      "name": "string",
    -      "default_value": "string",
    -      "data_type": "string",
    -      "format": "string",
    -      "description": "string",
    -      "is_identity": true,
    -      "identity_generation": "string",
    -      "is_nullable": true,
    -      "is_updatable": true,
    -      "enums": [
    -        "string"
    -      ]
    -    }
    -  ],
    -  "grants": [
    -    {
    -      "table_id": 0,
    -      "grantor": "string",
    -      "grantee": "string",
    -      "catalog": "string",
    -      "schema": "string",
    -      "table_name": "string",
    -      "privilege_type": "string",
    -      "is_grantable": true,
    -      "with_hierarchy": true
    -    }
    -  ],
    -  "policies": [
    -    {
    -      "id": 0,
    -      "name": "string",
    -      "schema": "string",
    -      "table": "string",
    -      "table_id": 0,
    -      "action": "PERMISSIVE",
    -      "roles": [
    -        "string"
    -      ],
    -      "command": "string",
    -      "definition": "string",
    -      "check": "string"
    -    }
    -  ],
    -  "primary_keys": [
    -    {
    -      "schema": "string",
    -      "table_name": "string",
    -      "name": "string",
    -      "table_id": 0
    -    }
    -  ],
    -  "relationships": [
    -    {
    -      "source_schema": "string",
    -      "source_table_name": "string",
    -      "source_column_name": "string",
    -      "target_table_schema": "string",
    -      "target_table_name": "string",
    -      "target_column_name": "string",
    -      "constraint_name": "string"
    -    }
    -  ]
    -}
    -
    -

    Responses

    - - - - - - - - - - - - - - - - - -
    StatusMeaningDescriptionSchema
    200OKSuccessful operationTable
    - -

    Delete a table by ID

    -

    -
    -

    Code samples

    -
    -
    # You can also use wget
    -curl -X DELETE /tables/{id} \
    -  -H 'Accept: application/json'
    -
    -
    -
    DELETE /tables/{id} HTTP/1.1
    -
    -Accept: application/json
    -
    -
    -
    
    -const headers = {
    -  'Accept':'application/json'
    -};
    -
    -fetch('/tables/{id}',
    -{
    -  method: 'DELETE',
    -
    -  headers: headers
    -})
    -.then(function(res) {
    -    return res.json();
    -}).then(function(body) {
    -    console.log(body);
    -});
    -
    -
    -
    require 'rest-client'
    -require 'json'
    -
    -headers = {
    -  'Accept' => 'application/json'
    -}
    -
    -result = RestClient.delete '/tables/{id}',
    -  params: {
    -  }, headers: headers
    -
    -p JSON.parse(result)
    -
    -
    -
    import requests
    -headers = {
    -  'Accept': 'application/json'
    -}
    -
    -r = requests.delete('/tables/{id}', headers = headers)
    -
    -print(r.json())
    -
    -
    -
     'application/json',
    -);
    -
    -$client = new \GuzzleHttp\Client();
    -
    -// Define array of request body.
    -$request_body = array();
    -
    -try {
    -    $response = $client->request('DELETE','/tables/{id}', array(
    -        'headers' => $headers,
    -        'json' => $request_body,
    -       )
    -    );
    -    print_r($response->getBody()->getContents());
    - }
    - catch (\GuzzleHttp\Exception\BadResponseException $e) {
    -    // handle exception or api errors.
    -    print_r($e->getMessage());
    - }
    -
    - // ...
    -
    -
    -
    URL obj = new URL("/tables/{id}");
    -HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    -con.setRequestMethod("DELETE");
    -int responseCode = con.getResponseCode();
    -BufferedReader in = new BufferedReader(
    -    new InputStreamReader(con.getInputStream()));
    -String inputLine;
    -StringBuffer response = new StringBuffer();
    -while ((inputLine = in.readLine()) != null) {
    -    response.append(inputLine);
    -}
    -in.close();
    -System.out.println(response.toString());
    -
    -
    -
    package main
    -
    -import (
    -       "bytes"
    -       "net/http"
    -)
    -
    -func main() {
    -
    -    headers := map[string][]string{
    -        "Accept": []string{"application/json"},
    -    }
    -
    -    data := bytes.NewBuffer([]byte{jsonReq})
    -    req, err := http.NewRequest("DELETE", "/tables/{id}", data)
    -    req.Header = headers
    -
    -    client := &http.Client{}
    -    resp, err := client.Do(req)
    -    // ...
    -}
    -
    -
    -

    DELETE /tables/{id}

    -

    Parameters

    - - - - - - - - - - - - - - - - - - - -
    NameInTypeRequiredDescription
    idpathintegertruenone
    -
    -

    Example responses

    -
    -
    -

    200 Response

    -
    -
    {
    -  "id": 0,
    -  "catalog": "string",
    -  "schema": "string",
    -  "name": "string",
    -  "is_insertable_into": true,
    -  "rls_enabled": true,
    -  "rls_forced": true,
    -  "is_typed": true,
    -  "bytes": 0,
    -  "size": "string",
    -  "seq_scan_count": 0,
    -  "seq_row_read_count": 0,
    -  "idx_scan_count": 0,
    -  "idx_row_read_count": 0,
    -  "row_ins_count": 0,
    -  "row_upd_count": 0,
    -  "row_del_count": 0,
    -  "row_hot_upd_count": 0,
    -  "live_row_count": 0,
    -  "dead_row_count": 0,
    -  "rows_mod_since_analyze": 0,
    -  "last_vacuum": "string",
    -  "last_autovacuum": "string",
    -  "last_analyze": "string",
    -  "last_autoanalyze": "string",
    -  "vacuum_count": 0,
    -  "autovacuum_count": 0,
    -  "analyze_count": 0,
    -  "autoanalyze_count": 0,
    -  "columns": [
    -    {
    -      "table_id": 0,
    -      "schema": "string",
    -      "table": "string",
    -      "id": "string",
    -      "ordinal_position": 0,
    -      "name": "string",
    -      "default_value": "string",
    -      "data_type": "string",
    -      "format": "string",
    -      "description": "string",
    -      "is_identity": true,
    -      "identity_generation": "string",
    -      "is_nullable": true,
    -      "is_updatable": true,
    -      "enums": [
    -        "string"
    -      ]
    -    }
    -  ],
    -  "grants": [
    -    {
    -      "table_id": 0,
    -      "grantor": "string",
    -      "grantee": "string",
    -      "catalog": "string",
    -      "schema": "string",
    -      "table_name": "string",
    -      "privilege_type": "string",
    -      "is_grantable": true,
    -      "with_hierarchy": true
    -    }
    -  ],
    -  "policies": [
    -    {
    -      "id": 0,
    -      "name": "string",
    -      "schema": "string",
    -      "table": "string",
    -      "table_id": 0,
    -      "action": "PERMISSIVE",
    -      "roles": [
    -        "string"
    -      ],
    -      "command": "string",
    -      "definition": "string",
    -      "check": "string"
    -    }
    -  ],
    -  "primary_keys": [
    -    {
    -      "schema": "string",
    -      "table_name": "string",
    -      "name": "string",
    -      "table_id": 0
    -    }
    -  ],
    -  "relationships": [
    -    {
    -      "source_schema": "string",
    -      "source_table_name": "string",
    -      "source_column_name": "string",
    -      "target_table_schema": "string",
    -      "target_table_name": "string",
    -      "target_column_name": "string",
    -      "constraint_name": "string"
    -    }
    -  ]
    -}
    -
    -

    Responses

    - - - - - - - - - - - - - - - - - -
    StatusMeaningDescriptionSchema
    200OKSuccessful operationTable
    - -

    /types

    -

    Get all types

    -

    -
    -

    Code samples

    -
    -
    # You can also use wget
    -curl -X GET /types \
    -  -H 'Accept: application/json'
    -
    -
    -
    GET /types HTTP/1.1
    -
    -Accept: application/json
    -
    -
    -
    
    -const headers = {
    -  'Accept':'application/json'
    -};
    -
    -fetch('/types',
    -{
    -  method: 'GET',
    -
    -  headers: headers
    -})
    -.then(function(res) {
    -    return res.json();
    -}).then(function(body) {
    -    console.log(body);
    -});
    -
    -
    -
    require 'rest-client'
    -require 'json'
    -
    -headers = {
    -  'Accept' => 'application/json'
    -}
    -
    -result = RestClient.get '/types',
    -  params: {
    -  }, headers: headers
    -
    -p JSON.parse(result)
    -
    -
    -
    import requests
    -headers = {
    -  'Accept': 'application/json'
    -}
    -
    -r = requests.get('/types', headers = headers)
    -
    -print(r.json())
    -
    -
    -
     'application/json',
    -);
    -
    -$client = new \GuzzleHttp\Client();
    -
    -// Define array of request body.
    -$request_body = array();
    -
    -try {
    -    $response = $client->request('GET','/types', array(
    -        'headers' => $headers,
    -        'json' => $request_body,
    -       )
    -    );
    -    print_r($response->getBody()->getContents());
    - }
    - catch (\GuzzleHttp\Exception\BadResponseException $e) {
    -    // handle exception or api errors.
    -    print_r($e->getMessage());
    - }
    -
    - // ...
    -
    -
    -
    URL obj = new URL("/types");
    -HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    -con.setRequestMethod("GET");
    -int responseCode = con.getResponseCode();
    -BufferedReader in = new BufferedReader(
    -    new InputStreamReader(con.getInputStream()));
    -String inputLine;
    -StringBuffer response = new StringBuffer();
    -while ((inputLine = in.readLine()) != null) {
    -    response.append(inputLine);
    -}
    -in.close();
    -System.out.println(response.toString());
    -
    -
    -
    package main
    -
    -import (
    -       "bytes"
    -       "net/http"
    -)
    -
    -func main() {
    -
    -    headers := map[string][]string{
    -        "Accept": []string{"application/json"},
    -    }
    -
    -    data := bytes.NewBuffer([]byte{jsonReq})
    -    req, err := http.NewRequest("GET", "/types", data)
    -    req.Header = headers
    -
    -    client := &http.Client{}
    -    resp, err := client.Do(req)
    -    // ...
    -}
    -
    -
    -

    GET /types

    -

    Parameters

    - - - - - - - - - - - - - - - - - - - -
    NameInTypeRequiredDescription
    include_system_schemasquerybooleanfalsenone
    -
    -

    Example responses

    -
    -
    -

    200 Response

    -
    -
    [
    -  {
    -    "id": 0,
    -    "name": "string",
    -    "schema": "string",
    -    "format": "string",
    -    "description": "string",
    -    "enums": [
    -      "string"
    -    ]
    -  }
    -]
    -
    -

    Responses

    - - - - - - - - - - - - - - - - - -
    StatusMeaningDescriptionSchema
    200OKSuccessful operationInline
    -

    Response Schema

    -

    Status Code 200

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeRequiredRestrictionsDescription
    anonymous[Type]falsenonenone
    » idintegerfalsenonenone
    » namestringfalsenonenone
    » schemastringfalsenonenone
    » formatstringfalsenonenone
    » descriptionstring¦nullfalsenonenone
    » enums[string]falsenonenone
    - -

    Schemas

    -

    Column

    -

    - - -

    -
    {
    -  "table_id": 0,
    -  "schema": "string",
    -  "table": "string",
    -  "id": "string",
    -  "ordinal_position": 0,
    -  "name": "string",
    -  "default_value": "string",
    -  "data_type": "string",
    -  "format": "string",
    -  "description": "string",
    -  "is_identity": true,
    -  "identity_generation": "string",
    -  "is_nullable": true,
    -  "is_updatable": true,
    -  "enums": [
    -    "string"
    -  ]
    -}
    -
    -
    -

    Properties

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeRequiredRestrictionsDescription
    table_idintegerfalsenonenone
    schemastringfalsenonenone
    tablestringfalsenonenone
    idstringfalsenonenone
    ordinal_positionintegerfalsenonenone
    namestringfalsenonenone
    default_valuestringfalsenonenone
    data_typestringfalsenonenone
    formatstringfalsenonenone
    descriptionstringfalsenonenone
    is_identitybooleanfalsenonenone
    identity_generationstringfalsenonenone
    is_nullablebooleanfalsenonenone
    is_updatablebooleanfalsenonenone
    enums[string]falsenonenone
    -

    Config

    -

    - - -

    -
    {
    -  "name": "string",
    -  "setting": "string",
    -  "category": "string",
    -  "group": "string",
    -  "subgroup": "string",
    -  "unit": "string",
    -  "short_desc": "string",
    -  "extra_desc": "string",
    -  "context": "string",
    -  "vartype": "string",
    -  "source": "string",
    -  "min_val": "string",
    -  "max_val": "string",
    -  "enumvals": [
    -    "string"
    -  ],
    -  "boot_val": "string",
    -  "reset_val": "string",
    -  "sourcefile": "string",
    -  "sourceline": 0,
    -  "pending_restart": true
    -}
    -
    -
    -

    Properties

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeRequiredRestrictionsDescription
    namestringfalsenonenone
    settingstringfalsenonenone
    categorystringfalsenonenone
    groupstringfalsenonenone
    subgroupstringfalsenonenone
    unitstring¦nullfalsenonenone
    short_descstringfalsenonenone
    extra_descstring¦nullfalsenonenone
    contextstringfalsenonenone
    vartypestringfalsenonenone
    sourcestringfalsenonenone
    min_valstring¦nullfalsenonenone
    max_valstring¦nullfalsenonenone
    enumvals[string]¦nullfalsenonenone
    boot_valstringfalsenonenone
    reset_valstringfalsenonenone
    sourcefilestring¦nullfalsenonenone
    sourcelineinteger¦nullfalsenonenone
    pending_restartbooleanfalsenonenone
    -

    Extension

    -

    - - -

    -
    {
    -  "name": "string",
    -  "comment": "string",
    -  "default_version": "string",
    -  "installed_version": "string"
    -}
    -
    -
    -

    Properties

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeRequiredRestrictionsDescription
    namestringfalsenonenone
    commentstringfalsenonenone
    default_versionstringfalsenonenone
    installed_versionstringfalsenonenone
    -

    Function

    -

    - - -

    -
    {
    -  "id": 0,
    -  "schema": "string",
    -  "name": "string",
    -  "language": "string",
    -  "definition": "string",
    -  "argument_types": "string",
    -  "return_type": "string"
    -}
    -
    -
    -

    Properties

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeRequiredRestrictionsDescription
    idintegerfalsenonenone
    schemastringfalsenonenone
    namestringfalsenonenone
    languagestringfalsenonenone
    definitionstringfalsenonenone
    argument_typesstringfalsenonenone
    return_typestringfalsenonenone
    -

    Grant

    -

    - - -

    -
    {
    -  "table_id": 0,
    -  "grantor": "string",
    -  "grantee": "string",
    -  "catalog": "string",
    -  "schema": "string",
    -  "table_name": "string",
    -  "privilege_type": "string",
    -  "is_grantable": true,
    -  "with_hierarchy": true
    -}
    -
    -
    -

    Properties

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeRequiredRestrictionsDescription
    table_idintegerfalsenonenone
    grantorstringfalsenonenone
    granteestringfalsenonenone
    catalogstringfalsenonenone
    schemastringfalsenonenone
    table_namestringfalsenonenone
    privilege_typestringfalsenonenone
    is_grantablebooleanfalsenonenone
    with_hierarchybooleanfalsenonenone
    -

    Policy

    -

    - - -

    -
    {
    -  "id": 0,
    -  "name": "string",
    -  "schema": "string",
    -  "table": "string",
    -  "table_id": 0,
    -  "action": "PERMISSIVE",
    -  "roles": [
    -    "string"
    -  ],
    -  "command": "string",
    -  "definition": "string",
    -  "check": "string"
    -}
    -
    -
    -

    Properties

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeRequiredRestrictionsDescription
    idintegerfalsenonenone
    namestringfalsenonenone
    schemastringfalsenonenone
    tablestringfalsenonenone
    table_idintegerfalsenonenone
    actionstringfalsenonenone
    roles[string]falsenonenone
    commandstringfalsenonenone
    definitionstringfalsenonenone
    checkstring¦nullfalsenonenone
    -

    Enumerated Values

    - - - - - - - - - - - - - - - - - -
    PropertyValue
    actionPERMISSIVE
    actionRESTRICTIVE
    -

    Role

    -

    - - -

    -
    {
    -  "id": 0,
    -  "name": "string",
    -  "is_superuser": true,
    -  "can_create_db": true,
    -  "can_create_role": true,
    -  "inherit_role": true,
    -  "can_login": true,
    -  "is_replication_role": true,
    -  "can_bypass_rls": true,
    -  "active_connections": 0,
    -  "connection_limit": 0,
    -  "password": "string",
    -  "valid_until": "string",
    -  "config": "string",
    -  "grants": [
    -    {
    -      "table_id": 0,
    -      "grantor": "string",
    -      "grantee": "string",
    -      "catalog": "string",
    -      "schema": "string",
    -      "table_name": "string",
    -      "privilege_type": "string",
    -      "is_grantable": true,
    -      "with_hierarchy": true
    -    }
    -  ]
    -}
    -
    -
    -

    Properties

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeRequiredRestrictionsDescription
    idintegerfalsenonenone
    namestringfalsenonenone
    is_superuserbooleanfalsenonenone
    can_create_dbbooleanfalsenonenone
    can_create_rolebooleanfalsenonenone
    inherit_rolebooleanfalsenonenone
    can_loginbooleanfalsenonenone
    is_replication_rolebooleanfalsenonenone
    can_bypass_rlsbooleanfalsenonenone
    active_connectionsintegerfalsenonenone
    connection_limitintegerfalsenonenone
    passwordstringfalsenonenone
    valid_untilstring¦nullfalsenonenone
    configstring¦nullfalsenonenone
    grants[Grant]falsenonenone
    -

    Schema

    -

    - - -

    -
    {
    -  "id": 0,
    -  "catalog_name": "string",
    -  "name": "string",
    -  "owner": "string",
    -  "default_character_set_catalog": "string",
    -  "default_character_set_schema": "string",
    -  "default_character_set_name": "string",
    -  "sql_path": "string"
    -}
    -
    -
    -

    Properties

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeRequiredRestrictionsDescription
    idintegerfalsenonenone
    catalog_namestringfalsenonenone
    namestringfalsenonenone
    ownerstringfalsenonenone
    default_character_set_catalogstring¦nullfalsenonenone
    default_character_set_schemastring¦nullfalsenonenone
    default_character_set_namestring¦nullfalsenonenone
    sql_pathstring¦nullfalsenonenone
    -

    Table

    -

    - - -

    -
    {
    -  "id": 0,
    -  "catalog": "string",
    -  "schema": "string",
    -  "name": "string",
    -  "is_insertable_into": true,
    -  "rls_enabled": true,
    -  "rls_forced": true,
    -  "is_typed": true,
    -  "bytes": 0,
    -  "size": "string",
    -  "seq_scan_count": 0,
    -  "seq_row_read_count": 0,
    -  "idx_scan_count": 0,
    -  "idx_row_read_count": 0,
    -  "row_ins_count": 0,
    -  "row_upd_count": 0,
    -  "row_del_count": 0,
    -  "row_hot_upd_count": 0,
    -  "live_row_count": 0,
    -  "dead_row_count": 0,
    -  "rows_mod_since_analyze": 0,
    -  "last_vacuum": "string",
    -  "last_autovacuum": "string",
    -  "last_analyze": "string",
    -  "last_autoanalyze": "string",
    -  "vacuum_count": 0,
    -  "autovacuum_count": 0,
    -  "analyze_count": 0,
    -  "autoanalyze_count": 0,
    -  "columns": [
    -    {
    -      "table_id": 0,
    -      "schema": "string",
    -      "table": "string",
    -      "id": "string",
    -      "ordinal_position": 0,
    -      "name": "string",
    -      "default_value": "string",
    -      "data_type": "string",
    -      "format": "string",
    -      "description": "string",
    -      "is_identity": true,
    -      "identity_generation": "string",
    -      "is_nullable": true,
    -      "is_updatable": true,
    -      "enums": [
    -        "string"
    -      ]
    -    }
    -  ],
    -  "grants": [
    -    {
    -      "table_id": 0,
    -      "grantor": "string",
    -      "grantee": "string",
    -      "catalog": "string",
    -      "schema": "string",
    -      "table_name": "string",
    -      "privilege_type": "string",
    -      "is_grantable": true,
    -      "with_hierarchy": true
    -    }
    -  ],
    -  "policies": [
    -    {
    -      "id": 0,
    -      "name": "string",
    -      "schema": "string",
    -      "table": "string",
    -      "table_id": 0,
    -      "action": "PERMISSIVE",
    -      "roles": [
    -        "string"
    -      ],
    -      "command": "string",
    -      "definition": "string",
    -      "check": "string"
    -    }
    -  ],
    -  "primary_keys": [
    -    {
    -      "schema": "string",
    -      "table_name": "string",
    -      "name": "string",
    -      "table_id": 0
    -    }
    -  ],
    -  "relationships": [
    -    {
    -      "source_schema": "string",
    -      "source_table_name": "string",
    -      "source_column_name": "string",
    -      "target_table_schema": "string",
    -      "target_table_name": "string",
    -      "target_column_name": "string",
    -      "constraint_name": "string"
    -    }
    -  ]
    -}
    -
    -
    -

    Properties

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeRequiredRestrictionsDescription
    idintegerfalsenonenone
    catalogstringfalsenonenone
    schemastringfalsenonenone
    namestringfalsenonenone
    is_insertable_intobooleanfalsenonenone
    rls_enabledbooleanfalsenonenone
    rls_forcedbooleanfalsenonenone
    is_typedbooleanfalsenonenone
    bytesintegerfalsenonenone
    sizestringfalsenonenone
    seq_scan_countintegerfalsenonenone
    seq_row_read_countintegerfalsenonenone
    idx_scan_countintegerfalsenonenone
    idx_row_read_countintegerfalsenonenone
    row_ins_countintegerfalsenonenone
    row_upd_countintegerfalsenonenone
    row_del_countintegerfalsenonenone
    row_hot_upd_countintegerfalsenonenone
    live_row_countintegerfalsenonenone
    dead_row_countintegerfalsenonenone
    rows_mod_since_analyzeintegerfalsenonenone
    last_vacuumstring¦nullfalsenonenone
    last_autovacuumstring¦nullfalsenonenone
    last_analyzestring¦nullfalsenonenone
    last_autoanalyzestring¦nullfalsenonenone
    vacuum_countintegerfalsenonenone
    autovacuum_countintegerfalsenonenone
    analyze_countintegerfalsenonenone
    autoanalyze_countintegerfalsenonenone
    columns[Column]falsenonenone
    grants[Grant]falsenonenone
    policies[Policy]falsenonenone
    primary_keys[object]falsenonenone
    » schemastringfalsenonenone
    » table_namestringfalsenonenone
    » namestringfalsenonenone
    » table_idintegerfalsenonenone
    relationships[object]falsenonenone
    » source_schemastringfalsenonenone
    » source_table_namestringfalsenonenone
    » source_column_namestringfalsenonenone
    » target_table_schemastringfalsenonenone
    » target_table_namestringfalsenonenone
    » target_column_namestringfalsenonenone
    » constraint_namestringfalsenonenone
    -

    Type

    -

    - - -

    -
    {
    -  "id": 0,
    -  "name": "string",
    -  "schema": "string",
    -  "format": "string",
    -  "description": "string",
    -  "enums": [
    -    "string"
    -  ]
    -}
    -
    -
    -

    Properties

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeRequiredRestrictionsDescription
    idintegerfalsenonenone
    namestringfalsenonenone
    schemastringfalsenonenone
    formatstringfalsenonenone
    descriptionstring¦nullfalsenonenone
    enums[string]falsenonenone
    -

    Version

    -

    - - -

    -
    {
    -  "version": "string",
    -  "version_number": 0,
    -  "active_connections": 0,
    -  "max_connections": 0
    -}
    -
    -
    -

    Properties

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeRequiredRestrictionsDescription
    versionstringfalsenonenone
    version_numberintegerfalsenonenone
    active_connectionsintegerfalsenonenone
    max_connectionsintegerfalsenonenone
    - - - - - - - - - - - - - -
    -
    - -
    - - - Shell - - - - HTTP - - - - JavaScript - - - - Ruby - - - - Python - - - - PHP - - - - Java - - - - Go - - -
    - -
    -
    - - diff --git a/docs/index.js b/docs/index.js deleted file mode 100644 index e5a5675b..00000000 --- a/docs/index.js +++ /dev/null @@ -1,414 +0,0 @@ -// @ts-check -'use strict'; - -const fs = require('fs'); -const path = require('path'); - -const maybe = require('call-me-maybe'); - -// @ts-ignore -var hljs = require('highlight.js'); -var hlpath = path.resolve(require.resolve('highlight.js'),'..','..'); - -const emoji = require('markdown-it-emoji'); -const attrs = require('markdown-it-attrs'); -var md = require('markdown-it')({ - linkify: true, html: true, - highlight: function (str, lang) { - var slang = lang.split('--')[0]; // allows multiple language tabs for the same language - if (slang && hljs.getLanguage(slang)) { - try { - return '
    ' +
    -                    hljs.highlight(slang, str, true).value +
    -                    '
    '; - } catch (__) { } - } - - return '
    ' + md.utils.escapeHtml(str) + '
    '; - } -}).use(require('markdown-it-lazy-headers')); -md.use(emoji); -const yaml = require('yaml'); -const ejs = require('ejs'); -const uglify = require('uglify-js'); -const cheerio = require('cheerio'); -const sanitizeHtml = require('sanitize-html'); - -let seenIds = {}; -let globalOptions = {}; - -function safeReadFileSync(filename,encoding) { - try { - return fs.readFileSync(filename,encoding); - } - catch (ex) { - console.error(`shins: included file ${filename} not found`); - if (globalOptions.cli) process.exit(1); - } - return ''; -} - -function javascript_include_tag(include) { - var includeStr = safeReadFileSync(path.join(globalOptions.root, '/source/javascripts/' + include + '.inc'), 'utf8'); - if (globalOptions.minify) { - var scripts = []; - var includes = includeStr.split('\r').join().split('\n'); - for (var i in includes) { - var inc = includes[i]; - var elements = inc.split('"'); - if (elements[1]) { - if (elements[1] == 'text/javascript') { - scripts.push(path.join(globalOptions.root, 'source/javascripts/all_nosearch.js')); - break; - } - else { - scripts.push(path.join(globalOptions.root, elements[1])); - } - } - } - var bundle = uglify.minify(scripts); - if (globalOptions.inline) { - includeStr = ''; - } - else { - fs.writeFileSync(path.join(globalOptions.root, '/pub/js/shins.js'), bundle.code, 'utf8'); - includeStr = safeReadFileSync(path.join(globalOptions.root, '/source/javascripts/' + include + '.bundle.inc'), 'utf8'); - } - } - return includeStr; -} - -function partial(include) { - var includePath = ''; - if (include.indexOf('/') === 0) { - includePath = path.join(globalOptions.root, include + '.md'); - } - else { - let components = include.split('/'); - components[components.length-1] = '_'+components[components.length-1]+'.md'; - includePath = path.join(globalOptions.root, '/source/includes/'+components.join('/')); - } - var includeStr = safeReadFileSync(includePath, 'utf8'); - return postProcess(md.render(clean(includeStr))); -} - -function replaceAll(target, find, replace) { - return target.replace(new RegExp(find.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'), 'g'), replace); -} - -function stylesheet_link_tag(stylesheet, media) { - var override = stylesheet; - if ((stylesheet !== 'print') && (stylesheet !== 'screen')) { - override = 'theme'; - } - if (globalOptions.inline) { - var stylePath = path.join(globalOptions.root, '/pub/css/' + stylesheet + '.css'); - if (!fs.existsSync(stylePath)) { - stylePath = path.join(hlpath, '/styles/' + stylesheet + '.css'); - } - var styleContent = safeReadFileSync(stylePath, 'utf8'); - styleContent = replaceAll(styleContent, '../../source/fonts/', globalOptions.fonturl||'https://raw.githubusercontent.com/Mermade/shins/master/source/fonts/'); - styleContent = replaceAll(styleContent, '../../source/', 'source/'); - if (globalOptions.customCss) { - let overrideFilename = path.join(globalOptions.root, '/pub/css/' + override + '_overrides.css'); - if (fs.existsSync(overrideFilename)) { - styleContent += '\n' + safeReadFileSync(overrideFilename, 'utf8'); - } - } - if (globalOptions.css) { - if (fs.existsSync(globalOptions.css)) { - styleContent += '\n' + safeReadFileSync(globalOptions.css, 'utf8'); - } - } - return ''; - } - else { - if (media == 'screen') { - var target = path.join(globalOptions.root, '/pub/css/' + stylesheet + '.css'); - if (!fs.existsSync(target)) { - var source = path.join(hlpath, '/styles/' + stylesheet + '.css'); - fs.writeFileSync(target, safeReadFileSync(source,'utf8')); - } - } - var include = ''; - if (globalOptions.css && stylesheet === 'screen') { - include += '\n '; - } - if (globalOptions.customCss) { - include += '\n '; - } - return include; - } -} - -function language_array(language_tabs) { - var result = []; - for (var lang in language_tabs) { - if (typeof language_tabs[lang] === 'object') { - result.push(Object.keys(language_tabs[lang])[0]); - } - else { - result.push(language_tabs[lang]); - } - } - return JSON.stringify(result).split('"').join('"'); -} - -function preProcess(content,options) { - let lines = content.split('\r').join('').split('\n'); - const comments = []; - comments.push(''); - for (let l=0;l= 0) comments.push(line); - let filename = ''; - if (line.startsWith('include::') && line.endsWith('[]')) { // asciidoc syntax - filename = line.split(':')[2].replace('[]',''); - } - else if (line.startsWith('!INCLUDE ')) { // markdown-pp syntax - filename = line.replace('!INCLUDE ',''); - } - if (filename) { - if (options.source) filename = path.resolve(path.dirname(options.source),filename); - let s = safeReadFileSync(filename,'utf8'); - let include = s.split('\r').join('').split('\n'); - lines.splice(l,1,...include); - } - else lines[l] = line; - } - globalOptions.comments = comments; - return lines.join('\n'); -} - -function cleanId(id, unique) { - id = id.toLowerCase().replace(/\W/g, '-'); - if (unique && seenIds[id]) id += '-' + ++seenIds[id] - else seenIds[id] = 1; - return id; -} - -function postProcess(content) { - // clean up headers which already have ids - content = content.replace(/\<(h[123456]) id="(.*)"\>(.*)\<\/h[123456]\>/g, function (match, header, id, title) { - return '<' + header + ' id="' + cleanId(id,false) + '">' + title + ''; - }); - - // adds id a la GitHub autolinks to automatically-generated headers - content = content.replace(/\<(h[123456])\>(.*)\<\/h[123456]\>/g, function (match, header, title) { - return '<' + header + ' id="' + cleanId(title,true) + '">' + title + ''; - }); - - content = content + globalOptions.comments.join('\n'); - return content; -} - -function clean(s) { - if (!s) return ''; - if (globalOptions.unsafe) return s; - let sanitizeOptions = { - allowedTags: sanitizeHtml.defaults.allowedTags.concat([ 'h1', 'h2', 'img', 'aside', 'article', 'details', - 'summary', 'abbr', 'meta', 'link' ]), - allowedAttributes: { a: [ 'href', 'id', 'name', 'target', 'class' ], img: [ 'src', 'alt', 'class' ] , aside: [ 'class' ], - abbr: [ 'title', 'class' ], details: [ 'open', 'class' ], div: [ 'class' ], meta: [ 'name', 'content' ], - link: [ 'rel', 'href', 'type', 'sizes' ], - h1: [ 'id' ], h2: [ 'id' ], h3: [ 'id' ], h4: [ 'id' ], h5: [ 'id' ], h6: [ 'id' ], - table: [ 'class' ], tr: [ 'class' ], td: [ 'class' ], - blockquote: [ 'class', 'id' ]} - }; - // replace things which look like tags which sanitizeHtml will eat - s = s.split('\n>').join('\n$1$'); - s = s.split('>=').join('$2$'); - s = s.split('<=').join('$3$'); - let a = s.split('```'); - for (let i=0;i'); - s = s.split('<').join('<'); - s = s.split('\n$1$').join('\n>'); - s = s.split('$2$').join('>='); - s = s.split('$3$').join('<='); - return s; -} - -function getBase64ImageSource(imageSource, imgContent) { - if (!imageSource || !imgContent) return ""; - - var mimeType = getMimeType(imageSource); - return "data:" + mimeType + ";base64," + Buffer.from(imgContent).toString('base64'); -} - -function getMimeType(imageSource) { - var extension = path.extname(imageSource).toLowerCase(); - switch(extension) { - case ".svg": - return "image/svg+xml"; - case ".webp": - return "image/webp"; - case ".jpg": - case ".jpeg": - return "image/jpeg"; - case ".gif": - return "image/gif"; - default: - return "image/png"; - } -} - -function render(inputStr, options, callback) { - if (typeof callback === 'undefined') { // for pre-v1.4.0 compatibility - callback = options; - options = {}; - } - if (options.attr) md.use(attrs); - if (options['no-links']) md.disable('linkify'); - if (options.inline == true) { - options.minify = true; - } - if (typeof options.root === 'undefined') { - options.root = __dirname; - } - seenIds = {}; // reinitialise - return maybe(callback, new Promise(function (resolve, reject) { - globalOptions = options; - // @ts-ignore - globalOptions.shins = require('./package.json'); - - inputStr = inputStr.split('\r\n').join('\n'); - var inputArr = ('\n' + inputStr).split('\n---\n'); - if (inputArr.length === 1) { - inputArr = ('\n' + inputStr).split('\n--- \n'); - } - var headerStr = inputArr[1]; - var header = yaml.parse(headerStr); - if (!header) header = {}; - - /* non-matching languages between Ruby Rouge and highlight.js at 2016/07/10 are - ['ceylon','common_lisp','conf','cowscript','erb','factor','io','json-doc','liquid','literate_coffeescript','literate_haskell','llvm','make', - 'objective_c','plaintext','praat','properties','racket','sass','sed','shell','slim','sml','toml','tulip','viml'];*/ - var sh = hljs.getLanguage('bash'); - hljs.registerLanguage('shell', function (hljs) { return sh; }); - hljs.registerLanguage('sh', function (hljs) { return sh; }); - - while (inputArr.length<3) inputArr.push(''); - - var content = preProcess(inputArr[2],options); - content = md.render(clean(content)); - content = postProcess(content); - - var locals = {}; - locals.current_page = {}; - locals.current_page.data = header; - locals.page_content = content; - locals.toc_data = function(content) { - var $ = cheerio.load(content); - var result = []; - var h1,h2,h3,h4,h5; - var headingLevel = header.headingLevel || 2; - $(':header').each(function(e){ - var tag = $(this).get(0).tagName.toLowerCase(); - var entry = {}; - if (tag === 'h1') { - entry.id = $(this).attr('id'); - entry.title = $(this).text(); - entry.content = $(this).html(); - entry.children = []; - h1 = entry; - result.push(entry); - } - if (tag === 'h2') { - let child = {}; - child.id = $(this).attr('id'); - entry.title = $(this).text(); - child.content = $(this).html(); - child.children = []; - h2 = child; - if (h1) h1.children.push(child); - } - if ((headingLevel >= 3) && (tag === 'h3')) { - let child = {}; - child.id = $(this).attr('id'); - entry.title = $(this).text(); - child.content = $(this).html(); - child.children = []; - h3 = child; - if (h2) h2.children.push(child); - } - if ((headingLevel >= 4) && (tag === 'h4')) { - let child = {}; - child.id = $(this).attr('id'); - entry.title = $(this).text(); - child.content = $(this).html(); - child.children = []; - h4 = child; - if (h3) h3.children.push(child); - } - if ((headingLevel >= 5) && (tag === 'h5')) { - let child = {}; - child.id = $(this).attr('id'); - entry.title = $(this).text(); - child.content = $(this).html(); - child.children = []; - h5 = child; - if (h4) h4.children.push(child); - } - if ((headingLevel >= 6) && (tag === 'h6')) { - let child = {}; - child.id = $(this).attr('id'); - entry.title = $(this).text(); - child.content = $(this).html(); - if (h5) h5.children.push(child); - } - }); - return result; //[{id:'test',content:'hello',children:[]}]; - }; - locals.partial = partial; - locals.image_tag = function (image, altText, className) { - var imageSource = "source/images/" + image; - if (globalOptions.inline) { - var imgContent = safeReadFileSync(path.join(globalOptions.root, imageSource)); - imageSource = getBase64ImageSource(imageSource, imgContent); - } - return '' + altText + ''; - }; - locals.logo_image_tag = function () { - if (!globalOptions.logo) return locals.image_tag('logo.png', 'Logo', 'logo'); - var imageSource = path.resolve(process.cwd(), globalOptions.logo); - var imgContent = safeReadFileSync(imageSource); - if (globalOptions.inline) { - imageSource = getBase64ImageSource(imageSource, imgContent); - } else { - var logoPath = "source/images/custom_logo" + path.extname(imageSource); - fs.writeFileSync(path.join(globalOptions.root, logoPath), imgContent); - imageSource = logoPath; - } - var html = ''; - if (globalOptions['logo-url']) { - html = '' + html + ''; - } - return html; - }; - locals.stylesheet_link_tag = stylesheet_link_tag; - locals.javascript_include_tag = javascript_include_tag; - locals.language_array = language_array; - - var ejsOptions = {}; - ejsOptions.debug = false; - ejs.renderFile(path.resolve(globalOptions.root, options.layout || 'source/layouts/layout.ejs'), locals, ejsOptions, function (err, str) { - if (err) reject(err) - else resolve(str); - }); - })); -} - -module.exports = { - render: render, - srcDir: function () { return globalOptions.root; } -}; - diff --git a/docs/jsconfig.json b/docs/jsconfig.json deleted file mode 100644 index 90cb7de4..00000000 --- a/docs/jsconfig.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "compilerOptions": { - "lib": ["dom","es2017","es2017.object"] - } -} \ No newline at end of file diff --git a/docs/master.html b/docs/master.html deleted file mode 100644 index 9526752a..00000000 --- a/docs/master.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - - - - - - - Master/Include Sample v1.0.0 - - - - - - - - - - - - - - - - - - - - - - - - - NAV - Navigation - - -
    - - -
    - - - Node.JS - - - - JavaScript - - - - Python - - - - Ruby - - - - Java - - - - Go - - -
    - - - -
      - -
      - -
      - - - -
      -
      -
      -
      -

      Master content

      -

      Included content

      -

      -

      This content comes from include.md

      -

      Included content 2

      -

      -

      This content comes from include.md

      - -
      -
      - -
      - - - Node.JS - - - - JavaScript - - - - Python - - - - Ruby - - - - Java - - - - Go - - -
      - -
      -
      - - diff --git a/docs/package-lock.json b/docs/package-lock.json deleted file mode 100644 index d01f2d46..00000000 --- a/docs/package-lock.json +++ /dev/null @@ -1,5576 +0,0 @@ -{ - "name": "shins", - "version": "2.5.0", - "lockfileVersion": 1, - "requires": true, - "dependencies": { - "@babel/code-frame": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz", - "integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==", - "dev": true, - "requires": { - "@babel/highlight": "^7.8.3" - } - }, - "@babel/helper-validator-identifier": { - "version": "7.9.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.9.5.tgz", - "integrity": "sha512-/8arLKUFq882w4tWGj9JYzRpAlZgiWUJ+dtteNTDqrRBz9Iguck9Rn3ykuBDoUwh2TO4tSAJlrxDUOXWklJe4g==", - "dev": true - }, - "@babel/highlight": { - "version": "7.9.0", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.9.0.tgz", - "integrity": "sha512-lJZPilxX7Op3Nv/2cvFdnlepPXDxi29wxteT57Q965oc5R9v86ztx0jfxVrTcBk8C2kcPkkDa2Z4T3ZsPPVWsQ==", - "dev": true, - "requires": { - "@babel/helper-validator-identifier": "^7.9.0", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "@babel/runtime": { - "version": "7.9.6", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.9.6.tgz", - "integrity": "sha512-64AF1xY3OAkFHqOb9s4jpgk1Mm5vDZ4L3acHvAml+53nO1XbXLuDodsVpO4OIUsmemlUHMxNdYMNJmsvOwLrvQ==", - "requires": { - "regenerator-runtime": "^0.13.4" - } - }, - "@nodelib/fs.scandir": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz", - "integrity": "sha512-eGmwYQn3gxo4r7jdQnkrrN6bY478C3P+a/y72IJukF8LjB6ZHeB3c+Ehacj3sYeSmUXGlnA67/PmbM9CVwL7Dw==", - "dev": true, - "requires": { - "@nodelib/fs.stat": "2.0.3", - "run-parallel": "^1.1.9" - } - }, - "@nodelib/fs.stat": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.3.tgz", - "integrity": "sha512-bQBFruR2TAwoevBEd/NWMoAAtNGzTRgdrqnYCc7dhzfoNvqPzLyqlEQnzZ3kVnNrSp25iyxE00/3h2fqGAGArA==", - "dev": true - }, - "@nodelib/fs.walk": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.4.tgz", - "integrity": "sha512-1V9XOY4rDW0rehzbrcqAmHnz8e7SKvX27gh8Gt2WgB0+pdzdiLV83p72kZPU+jvMbS1qU5mauP2iOvO8rhmurQ==", - "dev": true, - "requires": { - "@nodelib/fs.scandir": "2.1.3", - "fastq": "^1.6.0" - } - }, - "@sindresorhus/is": { - "version": "0.14.0", - "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz", - "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==", - "dev": true - }, - "@szmarczak/http-timer": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz", - "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==", - "dev": true, - "requires": { - "defer-to-connect": "^1.0.1" - } - }, - "@types/color-name": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz", - "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==", - "dev": true - }, - "@types/node": { - "version": "6.0.84", - "resolved": "https://registry.npmjs.org/@types/node/-/node-6.0.84.tgz", - "integrity": "sha512-1SvEazClhUBRNroJM3oB3xf3u2r6xGmHDGbdigqNPHvNKLl8/BtATgO9eC04ZLuovpSh0B20BF1QJxdi+qmTlg==" - }, - "abbrev": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", - "dev": true - }, - "accepts": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.4.tgz", - "integrity": "sha1-hiRnWMfdbSGmR0/whKR0DsBesh8=", - "requires": { - "mime-types": "~2.1.16", - "negotiator": "0.6.1" - } - }, - "acorn": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.1.1.tgz", - "integrity": "sha512-add7dgA5ppRPxCFJoAGfMDi7PIBXq1RtGo7BhbLaxwrXPOmw8gq48Y9ozT01hUKy9byMjlR20EJhu5zlkErEkg==", - "dev": true - }, - "acorn-jsx": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.2.0.tgz", - "integrity": "sha512-HiUX/+K2YpkpJ+SzBffkM/AQ2YE03S0U1kjTLVpoJdhZMOWy8qvXVN9JdLqv2QsaQ6MPYQIuNmwD8zOiYUofLQ==", - "dev": true - }, - "acorn-node": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/acorn-node/-/acorn-node-1.8.2.tgz", - "integrity": "sha512-8mt+fslDufLYntIoPAaIMUe/lrbrehIiwmR3t2k9LljIzoigEPF27eLk2hy8zSGzmR/ogr7zbRKINMo1u0yh5A==", - "dev": true, - "requires": { - "acorn": "^7.0.0", - "acorn-walk": "^7.0.0", - "xtend": "^4.0.2" - }, - "dependencies": { - "xtend": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", - "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", - "dev": true - } - } - }, - "acorn-walk": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.1.1.tgz", - "integrity": "sha512-wdlPY2tm/9XBr7QkKlq0WQVgiuGTX6YWPyRyBviSoScBuLfTVQhvwg6wJ369GJ/1nPfTLMfnrFIfjqVg6d+jQQ==", - "dev": true - }, - "ajv": { - "version": "6.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.0.tgz", - "integrity": "sha512-D6gFiFA0RRLyUbvijN74DWAjXSFxWKaWP7mldxkVhyhAV3+SWA9HEJPHQ2c9soIeTFJqcSdFDGFgdqs1iUU2Hw==", - "dev": true, - "requires": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - } - }, - "align-text": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz", - "integrity": "sha1-DNkKVhCT810KmSVsIrcGlDP60Rc=", - "requires": { - "kind-of": "^3.0.2", - "longest": "^1.0.1", - "repeat-string": "^1.5.2" - } - }, - "amdefine": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", - "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=", - "dev": true - }, - "ansi-align": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.0.tgz", - "integrity": "sha512-ZpClVKqXN3RGBmKibdfWzqCY4lnjEuoNzU5T0oEFpfd/z5qJHVarukridD4juLO2FXMiwUQxr9WqQtaYa8XRYw==", - "dev": true, - "requires": { - "string-width": "^3.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", - "dev": true - }, - "emoji-regex": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", - "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", - "dev": true - }, - "is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", - "dev": true - }, - "string-width": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", - "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", - "dev": true, - "requires": { - "emoji-regex": "^7.0.1", - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^5.1.0" - } - }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "dev": true, - "requires": { - "ansi-regex": "^4.1.0" - } - } - } - }, - "ansi-escapes": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.1.tgz", - "integrity": "sha512-JWF7ocqNrp8u9oqpgV+wH5ftbt+cfvv+PTjOvKLT3AdYly/LmORARfEVT1iyjwN+4MqE5UmVKoAdIBqeoCHgLA==", - "dev": true, - "requires": { - "type-fest": "^0.11.0" - }, - "dependencies": { - "type-fest": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.11.0.tgz", - "integrity": "sha512-OdjXJxnCN1AvyLSzeKIgXTXxV+99ZuXl3Hpo9XpJAv9MBcHrrJOQ5kV7ypXOuQie+AmWG25hLbiKdwYTifzcfQ==", - "dev": true - } - } - }, - "ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", - "dev": true - }, - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", - "dev": true - }, - "anymatch": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.0.3.tgz", - "integrity": "sha512-c6IvoeBECQlMVuYUjSwimnhmztImpErfxJzWZhIQinIvQWoGOnB0dLIgifbPHQt5heS6mNlaZG16f06H3C8t1g==", - "requires": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - } - }, - "aproba": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", - "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", - "dev": true - }, - "are-we-there-yet": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", - "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", - "dev": true, - "requires": { - "delegates": "^1.0.0", - "readable-stream": "^2.0.6" - } - }, - "argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "requires": { - "sprintf-js": "~1.0.2" - } - }, - "array-find-index": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", - "integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=", - "dev": true - }, - "array-flatten": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", - "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" - }, - "array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", - "dev": true - }, - "array-uniq": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", - "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=" - }, - "asn1": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", - "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", - "dev": true, - "requires": { - "safer-buffer": "~2.1.0" - } - }, - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", - "dev": true - }, - "astral-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz", - "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==", - "dev": true - }, - "async-foreach": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/async-foreach/-/async-foreach-0.1.3.tgz", - "integrity": "sha1-NhIfhFwFeBct5Bmpfb6x0W7DRUI=", - "dev": true - }, - "asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", - "dev": true - }, - "aws-sign2": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", - "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", - "dev": true - }, - "aws4": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.9.1.tgz", - "integrity": "sha512-wMHVg2EOHaMRxbzgFJ9gtjOOCrI80OHLG14rxi28XwOW8ux6IiEbRCGGGqCtdAIg4FQCbW20k9RsT4y3gJlFug==", - "dev": true - }, - "balanced-match": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz", - "integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg=", - "dev": true - }, - "bcrypt-pbkdf": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", - "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", - "dev": true, - "requires": { - "tweetnacl": "^0.14.3" - } - }, - "better-ajv-errors": { - "version": "0.6.7", - "resolved": "https://registry.npmjs.org/better-ajv-errors/-/better-ajv-errors-0.6.7.tgz", - "integrity": "sha512-PYgt/sCzR4aGpyNy5+ViSQ77ognMnWq7745zM+/flYO4/Yisdtp9wDQW2IKCyVYPUxQt3E/b5GBSwfhd1LPdlg==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.0.0", - "@babel/runtime": "^7.0.0", - "chalk": "^2.4.1", - "core-js": "^3.2.1", - "json-to-ast": "^2.0.3", - "jsonpointer": "^4.0.1", - "leven": "^3.1.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "binary-extensions": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.0.0.tgz", - "integrity": "sha512-Phlt0plgpIIBOGTT/ehfFnbNlfsDEiqmzE2KRXoX1bLIlir4X/MR+zSyBEkL05ffWgnRSf/DXv+WrUAVr93/ow==" - }, - "block-stream": { - "version": "0.0.9", - "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz", - "integrity": "sha1-E+v+d4oDIFz+A3UUgeu0szAMEmo=", - "dev": true, - "requires": { - "inherits": "~2.0.0" - } - }, - "body-parser": { - "version": "1.18.2", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.18.2.tgz", - "integrity": "sha1-h2eKGdhLR9hZuDGZvVm84iKxBFQ=", - "requires": { - "bytes": "3.0.0", - "content-type": "~1.0.4", - "debug": "2.6.9", - "depd": "~1.1.1", - "http-errors": "~1.6.2", - "iconv-lite": "0.4.19", - "on-finished": "~2.3.0", - "qs": "6.5.1", - "raw-body": "2.3.2", - "type-is": "~1.6.15" - }, - "dependencies": { - "qs": { - "version": "6.5.1", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.1.tgz", - "integrity": "sha512-eRzhrN1WSINYCDCbrz796z37LOe3m5tmW7RQf6oBntukAG1nmovJvhnwHHRMAfeoItc1m2Hk02WER2aQ/iqs+A==" - } - } - }, - "boolbase": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", - "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=" - }, - "boxen": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/boxen/-/boxen-4.2.0.tgz", - "integrity": "sha512-eB4uT9RGzg2odpER62bBwSLvUeGC+WbRjjyyFhGsKnc8wp/m0+hQsMUvUe3H2V0D5vw0nBdO1hCJoZo5mKeuIQ==", - "dev": true, - "requires": { - "ansi-align": "^3.0.0", - "camelcase": "^5.3.1", - "chalk": "^3.0.0", - "cli-boxes": "^2.2.0", - "string-width": "^4.1.0", - "term-size": "^2.1.0", - "type-fest": "^0.8.1", - "widest-line": "^3.1.0" - }, - "dependencies": { - "ansi-regex": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", - "dev": true - }, - "ansi-styles": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", - "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", - "dev": true, - "requires": { - "@types/color-name": "^1.1.1", - "color-convert": "^2.0.1" - } - }, - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true - }, - "chalk": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", - "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true - }, - "string-width": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", - "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", - "dev": true, - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.0" - } - }, - "strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "dev": true, - "requires": { - "ansi-regex": "^5.0.0" - } - }, - "supports-color": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz", - "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, - "brace-expansion": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.7.tgz", - "integrity": "sha1-Pv/DxQ4ABTH7cg6v+A8K6O8jz1k=", - "dev": true, - "requires": { - "balanced-match": "^0.4.1", - "concat-map": "0.0.1" - } - }, - "braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "requires": { - "fill-range": "^7.0.1" - } - }, - "bytes": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", - "integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=" - }, - "cacheable-request": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz", - "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==", - "dev": true, - "requires": { - "clone-response": "^1.0.2", - "get-stream": "^5.1.0", - "http-cache-semantics": "^4.0.0", - "keyv": "^3.0.0", - "lowercase-keys": "^2.0.0", - "normalize-url": "^4.1.0", - "responselike": "^1.0.2" - }, - "dependencies": { - "get-stream": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.1.0.tgz", - "integrity": "sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw==", - "dev": true, - "requires": { - "pump": "^3.0.0" - } - }, - "lowercase-keys": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", - "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==", - "dev": true - } - } - }, - "call-me-maybe": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz", - "integrity": "sha1-JtII6onje1y95gJQoV8DHBak1ms=" - }, - "callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", - "dev": true - }, - "camelcase": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", - "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=", - "dev": true - }, - "camelcase-keys": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", - "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=", - "dev": true, - "requires": { - "camelcase": "^2.0.0", - "map-obj": "^1.0.0" - } - }, - "caseless": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", - "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", - "dev": true - }, - "center-align": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/center-align/-/center-align-0.1.3.tgz", - "integrity": "sha1-qg0yYptu6XIgBBHL1EYckHvCt60=", - "requires": { - "align-text": "^0.1.3", - "lazy-cache": "^1.0.3" - } - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "dev": true, - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - } - }, - "chardet": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", - "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", - "dev": true - }, - "cheerio": { - "version": "1.0.0-rc.2", - "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.2.tgz", - "integrity": "sha1-S59TqBsn5NXawxwP/Qz6A8xoMNs=", - "requires": { - "css-select": "~1.2.0", - "dom-serializer": "~0.1.0", - "entities": "~1.1.1", - "htmlparser2": "^3.9.1", - "lodash": "^4.15.0", - "parse5": "^3.0.1" - } - }, - "chokidar": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.0.2.tgz", - "integrity": "sha512-c4PR2egjNjI1um6bamCQ6bUNPDiyofNQruHvKgHQ4gDUP/ITSVSzNsiI5OWtHOsX323i5ha/kk4YmOZ1Ktg7KA==", - "requires": { - "anymatch": "^3.0.1", - "braces": "^3.0.2", - "fsevents": "^2.0.6", - "glob-parent": "^5.0.0", - "is-binary-path": "^2.1.0", - "is-glob": "^4.0.1", - "normalize-path": "^3.0.0", - "readdirp": "^3.1.1" - } - }, - "ci-info": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", - "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", - "dev": true - }, - "cli-boxes": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.0.tgz", - "integrity": "sha512-gpaBrMAizVEANOpfZp/EEUixTXDyGt7DFzdK5hU+UbWt/J0lB0w20ncZj59Z9a93xHb9u12zF5BS6i9RKbtg4w==", - "dev": true - }, - "cli-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", - "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", - "dev": true, - "requires": { - "restore-cursor": "^3.1.0" - } - }, - "cli-width": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.1.tgz", - "integrity": "sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw==", - "dev": true - }, - "cliui": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz", - "integrity": "sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==", - "dev": true, - "requires": { - "string-width": "^3.1.0", - "strip-ansi": "^5.2.0", - "wrap-ansi": "^5.1.0" - }, - "dependencies": { - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", - "dev": true - }, - "emoji-regex": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", - "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", - "dev": true - }, - "is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", - "dev": true - }, - "string-width": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", - "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", - "dev": true, - "requires": { - "emoji-regex": "^7.0.1", - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^5.1.0" - } - }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "dev": true, - "requires": { - "ansi-regex": "^4.1.0" - } - } - } - }, - "clone-response": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz", - "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=", - "dev": true, - "requires": { - "mimic-response": "^1.0.0" - } - }, - "co": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", - "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", - "dev": true - }, - "code-error-fragment": { - "version": "0.0.230", - "resolved": "https://registry.npmjs.org/code-error-fragment/-/code-error-fragment-0.0.230.tgz", - "integrity": "sha512-cadkfKp6932H8UkhzE/gcUqhRMNf8jHzkAN7+5Myabswaghu4xABTgPHDCjW+dBAJxj/SpkTYokpzDqY4pCzQw==", - "dev": true - }, - "code-point-at": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", - "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", - "dev": true - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "dev": true, - "requires": { - "delayed-stream": "~1.0.0" - } - }, - "commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true - }, - "compressible": { - "version": "2.0.12", - "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.12.tgz", - "integrity": "sha1-xZpcmdt2dn6YdlAOJx72OzSTvWY=", - "requires": { - "mime-db": ">= 1.30.0 < 2" - }, - "dependencies": { - "mime-db": { - "version": "1.31.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.31.0.tgz", - "integrity": "sha512-oB3w9lx50CMd6nfonoV5rBRUbJtjMifUHaFb5MfzjC8ksAIfVjT0BsX46SjjqBz7n9JGTrTX3paIeLSK+rS5fQ==" - } - } - }, - "compression": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.1.tgz", - "integrity": "sha1-7/JgPvwuIs+G810uuTWJ+YdTc9s=", - "requires": { - "accepts": "~1.3.4", - "bytes": "3.0.0", - "compressible": "~2.0.11", - "debug": "2.6.9", - "on-headers": "~1.0.1", - "safe-buffer": "5.1.1", - "vary": "~1.1.2" - }, - "dependencies": { - "safe-buffer": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz", - "integrity": "sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==" - } - } - }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "dev": true - }, - "configstore": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/configstore/-/configstore-5.0.1.tgz", - "integrity": "sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA==", - "dev": true, - "requires": { - "dot-prop": "^5.2.0", - "graceful-fs": "^4.1.2", - "make-dir": "^3.0.0", - "unique-string": "^2.0.0", - "write-file-atomic": "^3.0.0", - "xdg-basedir": "^4.0.0" - } - }, - "console-control-strings": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", - "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", - "dev": true - }, - "content-disposition": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.2.tgz", - "integrity": "sha1-DPaLud318r55YcOoUXjLhdunjLQ=" - }, - "content-type": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==" - }, - "cookie": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.3.1.tgz", - "integrity": "sha1-5+Ch+e9DtMi6klxcWpboBtFoc7s=" - }, - "cookie-signature": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", - "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" - }, - "core-js": { - "version": "3.6.5", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.6.5.tgz", - "integrity": "sha512-vZVEEwZoIsI+vPEuoF9Iqf5H7/M3eeQqWlQnYa8FSKKePuYTf5MWnxb5SDAzCa60b3JBRS5g9b+Dq7b1y/RCrA==", - "dev": true - }, - "core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" - }, - "cross-spawn": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-3.0.1.tgz", - "integrity": "sha1-ElYDfsufDF9549bvE14wdwGEuYI=", - "dev": true, - "requires": { - "lru-cache": "^4.0.1", - "which": "^1.2.9" - } - }, - "crypto-random-string": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz", - "integrity": "sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==", - "dev": true - }, - "css-select": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz", - "integrity": "sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=", - "requires": { - "boolbase": "~1.0.0", - "css-what": "2.1", - "domutils": "1.5.1", - "nth-check": "~1.0.1" - } - }, - "css-what": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.0.tgz", - "integrity": "sha1-lGfQMsOM+u+58teVASUwYvh/ob0=" - }, - "currently-unhandled": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", - "integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=", - "dev": true, - "requires": { - "array-find-index": "^1.0.1" - } - }, - "dashdash": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", - "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", - "dev": true, - "requires": { - "assert-plus": "^1.0.0" - } - }, - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=" - }, - "decompress-response": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz", - "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=", - "dev": true, - "requires": { - "mimic-response": "^1.0.0" - } - }, - "deep-extend": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", - "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", - "dev": true - }, - "deep-is": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", - "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", - "dev": true - }, - "defer-to-connect": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz", - "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==", - "dev": true - }, - "delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", - "dev": true - }, - "delegates": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", - "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", - "dev": true - }, - "depd": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.1.tgz", - "integrity": "sha1-V4O04cRZ8G+lyif5kfPQbnoxA1k=" - }, - "destroy": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", - "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" - }, - "dir-glob": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", - "dev": true, - "requires": { - "path-type": "^4.0.0" - }, - "dependencies": { - "path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", - "dev": true - } - } - }, - "doctrine": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", - "dev": true, - "requires": { - "esutils": "^2.0.2" - } - }, - "dom-serializer": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.0.tgz", - "integrity": "sha1-BzxpdUbOB4DOI75KKOKT5AvDDII=", - "requires": { - "domelementtype": "~1.1.1", - "entities": "~1.1.1" - }, - "dependencies": { - "domelementtype": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.1.3.tgz", - "integrity": "sha1-vSh3PiZCiBrsUVRJJCmcXNgiGFs=" - } - } - }, - "domelementtype": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.0.tgz", - "integrity": "sha1-sXrtguirWeUt2cGbF1bg/BhyBMI=" - }, - "domhandler": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.1.tgz", - "integrity": "sha1-iS5HAAqZvlW783dP/qBWHYh5wlk=", - "requires": { - "domelementtype": "1" - } - }, - "domutils": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz", - "integrity": "sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=", - "requires": { - "dom-serializer": "0", - "domelementtype": "1" - } - }, - "dot": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/dot/-/dot-1.1.3.tgz", - "integrity": "sha512-/nt74Rm+PcfnirXGEdhZleTwGC2LMnuKTeeTIlI82xb5loBBoXNYzr2ezCroPSMtilK8EZIfcNZwOcHN+ib1Lg==", - "dev": true - }, - "dot-prop": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.2.0.tgz", - "integrity": "sha512-uEUyaDKoSQ1M4Oq8l45hSE26SnTxL6snNnqvK/VWx5wJhmff5z0FUVJDKDanor/6w3kzE3i7XZOk+7wC0EXr1A==", - "dev": true, - "requires": { - "is-obj": "^2.0.0" - } - }, - "duplexer": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz", - "integrity": "sha1-rOb/gIwc5mtX0ev5eXessCM0z8E=", - "dev": true - }, - "duplexer3": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz", - "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=", - "dev": true - }, - "ecc-jsbn": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", - "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", - "dev": true, - "requires": { - "jsbn": "~0.1.0", - "safer-buffer": "^2.1.0" - } - }, - "ee-first": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" - }, - "ejs": { - "version": "2.5.7", - "resolved": "https://registry.npmjs.org/ejs/-/ejs-2.5.7.tgz", - "integrity": "sha1-zIcsFoiArjxxiXYv1f/ACJbJUYo=" - }, - "ejs-include-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/ejs-include-regex/-/ejs-include-regex-1.0.0.tgz", - "integrity": "sha1-4vcVdcv9VRrIALJHTB9io45wCTo=", - "dev": true - }, - "ejs-lint": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/ejs-lint/-/ejs-lint-1.1.0.tgz", - "integrity": "sha512-SnOxzUtJug5C92wtFTZ+Zyb+eoqOlN+WyqDk6HDSXgY5FseDgm8MhZ/r70nkzrh0AMPpifzebep3gGILzAlQNg==", - "dev": true, - "requires": { - "chalk": "^4.0.0", - "ejs": "3.0.1", - "ejs-include-regex": "^1.0.0", - "globby": "^11.0.0", - "read-input": "^0.3.1", - "rewire": "^5.0.0", - "syntax-error": "^1.1.6", - "yargs": "^15.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", - "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", - "dev": true, - "requires": { - "@types/color-name": "^1.1.1", - "color-convert": "^2.0.1" - } - }, - "chalk": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.0.0.tgz", - "integrity": "sha512-N9oWFcegS0sFr9oh1oz2d7Npos6vNoWW9HvtCg5N1KRFpUhaAhvTv5Y58g880fZaEYSNm3qDz8SU1UrGvp+n7A==", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "ejs": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.0.1.tgz", - "integrity": "sha512-cuIMtJwxvzumSAkqaaoGY/L6Fc/t6YvoP9/VIaK0V/CyqKLEQ8sqODmYfy/cjXEdZ9+OOL8TecbJu+1RsofGDw==", - "dev": true - }, - "supports-color": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz", - "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, - "emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true - }, - "encodeurl": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.1.tgz", - "integrity": "sha1-eePVhlU0aQn+bw9Fpd5oEDspTSA=" - }, - "end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "dev": true, - "requires": { - "once": "^1.4.0" - } - }, - "entities": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.1.tgz", - "integrity": "sha1-blwtClYhtdra7O+AuQ7ftc13cvA=" - }, - "error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", - "dev": true, - "requires": { - "is-arrayish": "^0.2.1" - } - }, - "es6-promise": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-3.3.1.tgz", - "integrity": "sha1-oIzd6EzNvzTQJ6FFG8kdS80ophM=", - "dev": true - }, - "escape-goat": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/escape-goat/-/escape-goat-2.1.1.tgz", - "integrity": "sha512-8/uIhbG12Csjy2JEW7D9pHbreaVaS/OpN3ycnyvElTdwM5n6GY6W6e2IPemfvGZeUMqZ9A/3GqIZMgKnBhAw/Q==", - "dev": true - }, - "escape-html": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" - }, - "escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "dev": true - }, - "eslint": { - "version": "6.8.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-6.8.0.tgz", - "integrity": "sha512-K+Iayyo2LtyYhDSYwz5D5QdWw0hCacNzyq1Y821Xna2xSJj7cijoLLYmLxTQgcgZ9mC61nryMy9S7GRbYpI5Ig==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.0.0", - "ajv": "^6.10.0", - "chalk": "^2.1.0", - "cross-spawn": "^6.0.5", - "debug": "^4.0.1", - "doctrine": "^3.0.0", - "eslint-scope": "^5.0.0", - "eslint-utils": "^1.4.3", - "eslint-visitor-keys": "^1.1.0", - "espree": "^6.1.2", - "esquery": "^1.0.1", - "esutils": "^2.0.2", - "file-entry-cache": "^5.0.1", - "functional-red-black-tree": "^1.0.1", - "glob-parent": "^5.0.0", - "globals": "^12.1.0", - "ignore": "^4.0.6", - "import-fresh": "^3.0.0", - "imurmurhash": "^0.1.4", - "inquirer": "^7.0.0", - "is-glob": "^4.0.0", - "js-yaml": "^3.13.1", - "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.3.0", - "lodash": "^4.17.14", - "minimatch": "^3.0.4", - "mkdirp": "^0.5.1", - "natural-compare": "^1.4.0", - "optionator": "^0.8.3", - "progress": "^2.0.0", - "regexpp": "^2.0.1", - "semver": "^6.1.2", - "strip-ansi": "^5.2.0", - "strip-json-comments": "^3.0.1", - "table": "^5.2.3", - "text-table": "^0.2.0", - "v8-compile-cache": "^2.0.3" - }, - "dependencies": { - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", - "dev": true - }, - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true - }, - "cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", - "dev": true, - "requires": { - "nice-try": "^1.0.4", - "path-key": "^2.0.1", - "semver": "^5.5.0", - "shebang-command": "^1.2.0", - "which": "^1.2.9" - }, - "dependencies": { - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true - } - } - }, - "debug": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true - }, - "ignore": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", - "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", - "dev": true - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true - }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "dev": true, - "requires": { - "ansi-regex": "^4.1.0" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "eslint-scope": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.0.0.tgz", - "integrity": "sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw==", - "dev": true, - "requires": { - "esrecurse": "^4.1.0", - "estraverse": "^4.1.1" - } - }, - "eslint-utils": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.3.tgz", - "integrity": "sha512-fbBN5W2xdY45KulGXmLHZ3c3FHfVYmKg0IrAKGOkT/464PQsx2UeIzfz1RmEci+KLm1bBaAzZAh8+/E+XAeZ8Q==", - "dev": true, - "requires": { - "eslint-visitor-keys": "^1.1.0" - } - }, - "eslint-visitor-keys": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz", - "integrity": "sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A==", - "dev": true - }, - "espree": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-6.2.1.tgz", - "integrity": "sha512-ysCxRQY3WaXJz9tdbWOwuWr5Y/XrPTGX9Kiz3yoUXwW0VZ4w30HTkQLaGx/+ttFjF8i+ACbArnB4ce68a9m5hw==", - "dev": true, - "requires": { - "acorn": "^7.1.1", - "acorn-jsx": "^5.2.0", - "eslint-visitor-keys": "^1.1.0" - } - }, - "esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "dev": true - }, - "esquery": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.3.1.tgz", - "integrity": "sha512-olpvt9QG0vniUBZspVRN6lwB7hOZoTRtT+jzR+tS4ffYx2mzbw+z0XCOk44aaLYKApNX5nMm+E+P6o25ip/DHQ==", - "dev": true, - "requires": { - "estraverse": "^5.1.0" - }, - "dependencies": { - "estraverse": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.1.0.tgz", - "integrity": "sha512-FyohXK+R0vE+y1nHLoBM7ZTyqRpqAlhdZHCWIWEviFLiGB8b04H6bQs8G+XTthacvT8VuwvteiP7RJSxMs8UEw==", - "dev": true - } - } - }, - "esrecurse": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz", - "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==", - "dev": true, - "requires": { - "estraverse": "^4.1.0" - } - }, - "estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "dev": true - }, - "esutils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", - "dev": true - }, - "etag": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" - }, - "event-stream": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/event-stream/-/event-stream-3.3.4.tgz", - "integrity": "sha1-SrTJoPWlTbkzi0w02Gv86PSzVXE=", - "dev": true, - "requires": { - "duplexer": "~0.1.1", - "from": "~0", - "map-stream": "~0.1.0", - "pause-stream": "0.0.11", - "split": "0.3", - "stream-combiner": "~0.0.4", - "through": "~2.3.1" - } - }, - "execa": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz", - "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==", - "dev": true, - "requires": { - "cross-spawn": "^6.0.0", - "get-stream": "^4.0.0", - "is-stream": "^1.1.0", - "npm-run-path": "^2.0.0", - "p-finally": "^1.0.0", - "signal-exit": "^3.0.0", - "strip-eof": "^1.0.0" - }, - "dependencies": { - "cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", - "dev": true, - "requires": { - "nice-try": "^1.0.4", - "path-key": "^2.0.1", - "semver": "^5.5.0", - "shebang-command": "^1.2.0", - "which": "^1.2.9" - } - } - } - }, - "express": { - "version": "4.16.2", - "resolved": "https://registry.npmjs.org/express/-/express-4.16.2.tgz", - "integrity": "sha1-41xt/i1kt9ygpc1PIXgb4ymeB2w=", - "requires": { - "accepts": "~1.3.4", - "array-flatten": "1.1.1", - "body-parser": "1.18.2", - "content-disposition": "0.5.2", - "content-type": "~1.0.4", - "cookie": "0.3.1", - "cookie-signature": "1.0.6", - "debug": "2.6.9", - "depd": "~1.1.1", - "encodeurl": "~1.0.1", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "finalhandler": "1.1.0", - "fresh": "0.5.2", - "merge-descriptors": "1.0.1", - "methods": "~1.1.2", - "on-finished": "~2.3.0", - "parseurl": "~1.3.2", - "path-to-regexp": "0.1.7", - "proxy-addr": "~2.0.2", - "qs": "6.5.1", - "range-parser": "~1.2.0", - "safe-buffer": "5.1.1", - "send": "0.16.1", - "serve-static": "1.13.1", - "setprototypeof": "1.1.0", - "statuses": "~1.3.1", - "type-is": "~1.6.15", - "utils-merge": "1.0.1", - "vary": "~1.1.2" - }, - "dependencies": { - "qs": { - "version": "6.5.1", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.1.tgz", - "integrity": "sha512-eRzhrN1WSINYCDCbrz796z37LOe3m5tmW7RQf6oBntukAG1nmovJvhnwHHRMAfeoItc1m2Hk02WER2aQ/iqs+A==" - }, - "safe-buffer": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz", - "integrity": "sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==" - } - } - }, - "extend": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", - "dev": true - }, - "external-editor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", - "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", - "dev": true, - "requires": { - "chardet": "^0.7.0", - "iconv-lite": "^0.4.24", - "tmp": "^0.0.33" - }, - "dependencies": { - "iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "dev": true, - "requires": { - "safer-buffer": ">= 2.1.2 < 3" - } - } - } - }, - "extsprintf": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", - "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", - "dev": true - }, - "fast-deep-equal": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz", - "integrity": "sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA==", - "dev": true - }, - "fast-glob": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.2.tgz", - "integrity": "sha512-UDV82o4uQyljznxwMxyVRJgZZt3O5wENYojjzbaGEGZgeOxkLFf+V4cnUD+krzb2F72E18RhamkMZ7AdeggF7A==", - "dev": true, - "requires": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.0", - "merge2": "^1.3.0", - "micromatch": "^4.0.2", - "picomatch": "^2.2.1" - }, - "dependencies": { - "glob-parent": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz", - "integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==", - "dev": true, - "requires": { - "is-glob": "^4.0.1" - } - }, - "picomatch": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz", - "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==", - "dev": true - } - } - }, - "fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "dev": true - }, - "fast-levenshtein": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", - "dev": true - }, - "fast-safe-stringify": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.0.7.tgz", - "integrity": "sha512-Utm6CdzT+6xsDk2m8S6uL8VHxNwI6Jub+e9NYTcAms28T84pTa25GJQV9j0CY0N1rM8hK4x6grpF2BQf+2qwVA==", - "dev": true - }, - "fastq": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.7.0.tgz", - "integrity": "sha512-YOadQRnHd5q6PogvAR/x62BGituF2ufiEA6s8aavQANw5YKHERI4AREboX6KotzP8oX2klxYF2wcV/7bn1clfQ==", - "dev": true, - "requires": { - "reusify": "^1.0.4" - } - }, - "figures": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", - "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", - "dev": true, - "requires": { - "escape-string-regexp": "^1.0.5" - } - }, - "file-entry-cache": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz", - "integrity": "sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g==", - "dev": true, - "requires": { - "flat-cache": "^2.0.1" - } - }, - "fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "requires": { - "to-regex-range": "^5.0.1" - } - }, - "finalhandler": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.0.tgz", - "integrity": "sha1-zgtoVbRYU+eRsvzGgARtiCU91/U=", - "requires": { - "debug": "2.6.9", - "encodeurl": "~1.0.1", - "escape-html": "~1.0.3", - "on-finished": "~2.3.0", - "parseurl": "~1.3.2", - "statuses": "~1.3.1", - "unpipe": "~1.0.0" - } - }, - "find-up": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", - "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", - "dev": true, - "requires": { - "path-exists": "^2.0.0", - "pinkie-promise": "^2.0.0" - } - }, - "flat-cache": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz", - "integrity": "sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==", - "dev": true, - "requires": { - "flatted": "^2.0.0", - "rimraf": "2.6.3", - "write": "1.0.3" - }, - "dependencies": { - "glob": { - "version": "7.1.6", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", - "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", - "dev": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "rimraf": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", - "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", - "dev": true, - "requires": { - "glob": "^7.1.3" - } - } - } - }, - "flatted": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.2.tgz", - "integrity": "sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==", - "dev": true - }, - "foreach": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", - "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=", - "dev": true - }, - "forever-agent": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", - "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", - "dev": true - }, - "form-data": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", - "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", - "dev": true, - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" - } - }, - "forwarded": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", - "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=" - }, - "fresh": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" - }, - "from": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/from/-/from-0.1.7.tgz", - "integrity": "sha1-g8YK/Fi5xWmXAH7Rp2izqzA6RP4=", - "dev": true - }, - "fs-readfile-promise": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/fs-readfile-promise/-/fs-readfile-promise-2.0.1.tgz", - "integrity": "sha1-gAI4I5gfn//+AWCei+Zo9prknnA=", - "dev": true, - "requires": { - "graceful-fs": "^4.1.2" - } - }, - "fs-writefile-promise": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/fs-writefile-promise/-/fs-writefile-promise-1.0.3.tgz", - "integrity": "sha1-4C+bWP/CVe2CKtx6ARFPRF1I0GM=", - "dev": true, - "requires": { - "mkdirp-promise": "^1.0.0", - "pinkie-promise": "^1.0.0" - }, - "dependencies": { - "pinkie": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-1.0.0.tgz", - "integrity": "sha1-Wkfyi6EBXQIBvae/DzWOR77Ix+Q=", - "dev": true - }, - "pinkie-promise": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-1.0.0.tgz", - "integrity": "sha1-0dpn9UglY7t89X8oauKCLs+/NnA=", - "dev": true, - "requires": { - "pinkie": "^1.0.0" - } - } - } - }, - "fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "dev": true - }, - "fsevents": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.0.7.tgz", - "integrity": "sha512-a7YT0SV3RB+DjYcppwVDLtn13UQnmg0SWZS7ezZD0UjnLwXmy8Zm21GMVGLaFGimIqcvyMQaOJBrop8MyOp1kQ==", - "optional": true - }, - "fstream": { - "version": "1.0.12", - "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.12.tgz", - "integrity": "sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.2", - "inherits": "~2.0.0", - "mkdirp": ">=0.5 0", - "rimraf": "2" - } - }, - "functional-red-black-tree": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", - "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", - "dev": true - }, - "gauge": { - "version": "2.7.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", - "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", - "dev": true, - "requires": { - "aproba": "^1.0.3", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.0", - "object-assign": "^4.1.0", - "signal-exit": "^3.0.0", - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wide-align": "^1.1.0" - } - }, - "gaze": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/gaze/-/gaze-1.1.3.tgz", - "integrity": "sha512-BRdNm8hbWzFzWHERTrejLqwHDfS4GibPoq5wjTPIoJHoBtKGPg3xAFfxmM+9ztbXelxcf2hwQcaz1PtmFeue8g==", - "dev": true, - "requires": { - "globule": "^1.0.0" - } - }, - "get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "dev": true - }, - "get-own-enumerable-property-symbols": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz", - "integrity": "sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g==", - "dev": true - }, - "get-stdin": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", - "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=", - "dev": true - }, - "get-stream": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", - "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", - "dev": true, - "requires": { - "pump": "^3.0.0" - } - }, - "getpass": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", - "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", - "dev": true, - "requires": { - "assert-plus": "^1.0.0" - } - }, - "glob": { - "version": "7.1.6", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", - "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", - "dev": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "glob-parent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.0.0.tgz", - "integrity": "sha512-Z2RwiujPRGluePM6j699ktJYxmPpJKCfpGA13jz2hmFZC7gKetzrWvg5KN3+OsIFmydGyZ1AVwERCq1w/ZZwRg==", - "requires": { - "is-glob": "^4.0.1" - } - }, - "global-dirs": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-2.0.1.tgz", - "integrity": "sha512-5HqUqdhkEovj2Of/ms3IeS/EekcO54ytHRLV4PEY2rhRwrHXLQjeVEES0Lhka0xwNDtGYn58wyC4s5+MHsOO6A==", - "dev": true, - "requires": { - "ini": "^1.3.5" - } - }, - "globals": { - "version": "12.4.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-12.4.0.tgz", - "integrity": "sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg==", - "dev": true, - "requires": { - "type-fest": "^0.8.1" - } - }, - "globby": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.0.tgz", - "integrity": "sha512-iuehFnR3xu5wBBtm4xi0dMe92Ob87ufyu/dHwpDYfbcpYpIbrO5OnS8M1vWvrBhSGEJ3/Ecj7gnX76P8YxpPEg==", - "dev": true, - "requires": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.1.1", - "ignore": "^5.1.4", - "merge2": "^1.3.0", - "slash": "^3.0.0" - } - }, - "globule": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/globule/-/globule-1.3.1.tgz", - "integrity": "sha512-OVyWOHgw29yosRHCHo7NncwR1hW5ew0W/UrvtwvjefVJeQ26q4/8r8FmPsSF1hJ93IgWkyv16pCTz6WblMzm/g==", - "dev": true, - "requires": { - "glob": "~7.1.1", - "lodash": "~4.17.12", - "minimatch": "~3.0.2" - } - }, - "got": { - "version": "9.6.0", - "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz", - "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==", - "dev": true, - "requires": { - "@sindresorhus/is": "^0.14.0", - "@szmarczak/http-timer": "^1.1.2", - "cacheable-request": "^6.0.0", - "decompress-response": "^3.3.0", - "duplexer3": "^0.1.4", - "get-stream": "^4.1.0", - "lowercase-keys": "^1.0.1", - "mimic-response": "^1.0.1", - "p-cancelable": "^1.0.0", - "to-readable-stream": "^1.0.0", - "url-parse-lax": "^3.0.0" - } - }, - "graceful-fs": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", - "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", - "dev": true - }, - "grapheme-splitter": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", - "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", - "dev": true - }, - "har-schema": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", - "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", - "dev": true - }, - "har-validator": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz", - "integrity": "sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==", - "dev": true, - "requires": { - "ajv": "^6.5.5", - "har-schema": "^2.0.0" - } - }, - "has-ansi": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", - "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", - "dev": true, - "requires": { - "ansi-regex": "^2.0.0" - } - }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true - }, - "has-unicode": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", - "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", - "dev": true - }, - "has-yarn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/has-yarn/-/has-yarn-2.1.0.tgz", - "integrity": "sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw==", - "dev": true - }, - "highlight.js": { - "version": "10.0.2", - "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.0.2.tgz", - "integrity": "sha512-2gMT2MHU6/2OjAlnaOE2LFdr9dwviDN3Q2lSw7Ois3/5uTtahbgYTkr4EPoY828ps+2eQWiixPTF8+phU6Ofkg==" - }, - "highlightjs": { - "version": "9.16.2", - "resolved": "https://registry.npmjs.org/highlightjs/-/highlightjs-9.16.2.tgz", - "integrity": "sha512-FK1vmMj8BbEipEy8DLIvp71t5UsC7n2D6En/UfM/91PCwmOpj6f2iu0Y0coRC62KSRHHC+dquM2xMULV/X7NFg==", - "dev": true - }, - "hosted-git-info": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz", - "integrity": "sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg==", - "dev": true - }, - "htmlparser2": { - "version": "3.9.2", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.9.2.tgz", - "integrity": "sha1-G9+HrMoPP55T+k/M6w9LTLsAszg=", - "requires": { - "domelementtype": "^1.3.0", - "domhandler": "^2.3.0", - "domutils": "^1.5.1", - "entities": "^1.1.1", - "inherits": "^2.0.1", - "readable-stream": "^2.0.2" - } - }, - "http-cache-semantics": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", - "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==", - "dev": true - }, - "http-errors": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.2.tgz", - "integrity": "sha1-CgAsyFcHGSp+eUbO7cERVfYOxzY=", - "requires": { - "depd": "1.1.1", - "inherits": "2.0.3", - "setprototypeof": "1.0.3", - "statuses": ">= 1.3.1 < 2" - }, - "dependencies": { - "setprototypeof": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.0.3.tgz", - "integrity": "sha1-ZlZ+NwQ+608E2RvWWMDL77VbjgQ=" - } - } - }, - "http-signature": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", - "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", - "dev": true, - "requires": { - "assert-plus": "^1.0.0", - "jsprim": "^1.2.2", - "sshpk": "^1.7.0" - } - }, - "http2-client": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/http2-client/-/http2-client-1.3.3.tgz", - "integrity": "sha512-nUxLymWQ9pzkzTmir24p2RtsgruLmhje7lH3hLX1IpwvyTg77fW+1brenPPP3USAR+rQ36p5sTA/x7sjCJVkAA==", - "dev": true - }, - "httpsnippet": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/httpsnippet/-/httpsnippet-1.20.0.tgz", - "integrity": "sha512-8cMk8qGnlXkWh6kN6RiTIooybNiqG71rZ6RIMT/NSxgoW74JZ2okE6QBuWeZjMGU78y/Nk6HIBEhF/ZjUUeu+w==", - "dev": true, - "requires": { - "chalk": "^1.1.1", - "commander": "^2.9.0", - "debug": "^2.2.0", - "event-stream": "3.3.4", - "form-data": "3.0.0", - "fs-readfile-promise": "^2.0.1", - "fs-writefile-promise": "^1.0.3", - "har-validator": "^5.0.0", - "pinkie-promise": "^2.0.0", - "stringify-object": "^3.3.0" - }, - "dependencies": { - "form-data": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.0.tgz", - "integrity": "sha512-CKMFDglpbMi6PyN+brwB9Q/GOw0eAnsrEZDgcsH5Krhz5Od/haKHAX0NmQfha2zPPz0JpWzA7GJHGSnvCRLWsg==", - "dev": true, - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - } - } - } - }, - "iconv-lite": { - "version": "0.4.19", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.19.tgz", - "integrity": "sha512-oTZqweIP51xaGPI4uPa56/Pri/480R+mo7SeU+YETByQNhDG55ycFyNLIgta9vXhILrxXDmF7ZGhqZIcuN0gJQ==" - }, - "ignore": { - "version": "5.1.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.4.tgz", - "integrity": "sha512-MzbUSahkTW1u7JpKKjY7LCARd1fU5W2rLdxlM4kdkayuCwZImjkpluF9CM1aLewYJguPDqewLam18Y6AU69A8A==", - "dev": true - }, - "ignore-by-default": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", - "integrity": "sha1-SMptcvbGo68Aqa1K5odr44ieKwk=", - "dev": true - }, - "image-size": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/image-size/-/image-size-0.3.5.tgz", - "integrity": "sha1-gyQOqy+1sAsEqrjHSwRx6cunrYw=", - "dev": true - }, - "import-fresh": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz", - "integrity": "sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ==", - "dev": true, - "requires": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" - } - }, - "import-lazy": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-2.1.0.tgz", - "integrity": "sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM=", - "dev": true - }, - "imurmurhash": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", - "dev": true - }, - "in-publish": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/in-publish/-/in-publish-2.0.1.tgz", - "integrity": "sha512-oDM0kUSNFC31ShNxHKUyfZKy8ZeXZBWMjMdZHKLOk13uvT27VTL/QzRGfRUcevJhpkZAvlhPYuXkF7eNWrtyxQ==", - "dev": true - }, - "indent-string": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", - "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=", - "dev": true, - "requires": { - "repeating": "^2.0.0" - } - }, - "inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "dev": true, - "requires": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" - }, - "ini": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", - "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==", - "dev": true - }, - "inquirer": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.1.0.tgz", - "integrity": "sha512-5fJMWEmikSYu0nv/flMc475MhGbB7TSPd/2IpFV4I4rMklboCH2rQjYY5kKiYGHqUF9gvaambupcJFFG9dvReg==", - "dev": true, - "requires": { - "ansi-escapes": "^4.2.1", - "chalk": "^3.0.0", - "cli-cursor": "^3.1.0", - "cli-width": "^2.0.0", - "external-editor": "^3.0.3", - "figures": "^3.0.0", - "lodash": "^4.17.15", - "mute-stream": "0.0.8", - "run-async": "^2.4.0", - "rxjs": "^6.5.3", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0", - "through": "^2.3.6" - }, - "dependencies": { - "ansi-regex": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", - "dev": true - }, - "ansi-styles": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", - "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", - "dev": true, - "requires": { - "@types/color-name": "^1.1.1", - "color-convert": "^2.0.1" - } - }, - "chalk": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", - "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true - }, - "string-width": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", - "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", - "dev": true, - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.0" - } - }, - "strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "dev": true, - "requires": { - "ansi-regex": "^5.0.0" - } - }, - "supports-color": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz", - "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, - "invert-kv": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-2.0.0.tgz", - "integrity": "sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA==", - "dev": true - }, - "ipaddr.js": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.5.2.tgz", - "integrity": "sha1-1LUFvemUaYfM8PxY2QEP+WB+P6A=" - }, - "is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", - "dev": true - }, - "is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "requires": { - "binary-extensions": "^2.0.0" - } - }, - "is-buffer": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" - }, - "is-ci": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", - "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", - "dev": true, - "requires": { - "ci-info": "^2.0.0" - } - }, - "is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=" - }, - "is-finite": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz", - "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==", - "dev": true - }, - "is-fullwidth-code-point": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", - "dev": true, - "requires": { - "number-is-nan": "^1.0.0" - } - }, - "is-glob": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", - "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", - "requires": { - "is-extglob": "^2.1.1" - } - }, - "is-installed-globally": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.3.2.tgz", - "integrity": "sha512-wZ8x1js7Ia0kecP/CHM/3ABkAmujX7WPvQk6uu3Fly/Mk44pySulQpnHG46OMjHGXApINnV4QhY3SWnECO2z5g==", - "dev": true, - "requires": { - "global-dirs": "^2.0.1", - "is-path-inside": "^3.0.1" - } - }, - "is-npm": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-4.0.0.tgz", - "integrity": "sha512-96ECIfh9xtDDlPylNPXhzjsykHsMJZ18ASpaWzQyBr4YRTcVjUvzaHayDAES2oU/3KpljhHUjtSRNiDwi0F0ig==", - "dev": true - }, - "is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" - }, - "is-obj": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", - "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", - "dev": true - }, - "is-path-inside": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.2.tgz", - "integrity": "sha512-/2UGPSgmtqwo1ktx8NDHjuPwZWmHhO+gj0f93EkhLB5RgW9RZevWYYlIkS6zePc6U2WpOdQYIwHe9YC4DWEBVg==", - "dev": true - }, - "is-regexp": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz", - "integrity": "sha1-/S2INUXEa6xaYz57mgnof6LLUGk=", - "dev": true - }, - "is-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", - "dev": true - }, - "is-typedarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", - "dev": true - }, - "is-utf8": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", - "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=", - "dev": true - }, - "is-wsl": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", - "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=" - }, - "is-yarn-global": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/is-yarn-global/-/is-yarn-global-0.3.0.tgz", - "integrity": "sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw==", - "dev": true - }, - "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", - "dev": true - }, - "isstream": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", - "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", - "dev": true - }, - "jgexml": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/jgexml/-/jgexml-0.4.3.tgz", - "integrity": "sha512-N4doRtHFobW+prTgh32GRIRIflJIQrzf/ll4ePsg1wnonyhiBb29zeyVQ5MkwZDYPUbLuEAyVSx5XikPECXU9g==", - "dev": true - }, - "js-base64": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.5.2.tgz", - "integrity": "sha512-Vg8czh0Q7sFBSUMWWArX/miJeBWYBPpdU/3M/DKSaekLMqrqVPaedp+5mZhie/r0lgrcaYBfwXatEew6gwgiQQ==", - "dev": true - }, - "js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true - }, - "js-yaml": { - "version": "3.13.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz", - "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==", - "dev": true, - "requires": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - } - }, - "jsbn": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", - "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", - "dev": true - }, - "json-buffer": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz", - "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=", - "dev": true - }, - "json-pointer": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/json-pointer/-/json-pointer-0.6.0.tgz", - "integrity": "sha1-jlAFUKaqxUZKRzN32leqbMIoKNc=", - "dev": true, - "requires": { - "foreach": "^2.0.4" - } - }, - "json-schema": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", - "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=", - "dev": true - }, - "json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true - }, - "json-stable-stringify-without-jsonify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", - "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", - "dev": true - }, - "json-stringify-safe": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", - "dev": true - }, - "json-to-ast": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/json-to-ast/-/json-to-ast-2.1.0.tgz", - "integrity": "sha512-W9Lq347r8tA1DfMvAGn9QNcgYm4Wm7Yc+k8e6vezpMnRT+NHbtlxgNBXRVjXe9YM6eTn6+p/MKOlV/aABJcSnQ==", - "dev": true, - "requires": { - "code-error-fragment": "0.0.230", - "grapheme-splitter": "^1.0.4" - } - }, - "jsonpointer": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-4.1.0.tgz", - "integrity": "sha512-CXcRvMyTlnR53xMcKnuMzfCA5i/nfblTnnr74CZb6C4vG39eu6w51t7nKmU5MfLfbTgGItliNyjO/ciNPDqClg==", - "dev": true - }, - "jsprim": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", - "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", - "dev": true, - "requires": { - "assert-plus": "1.0.0", - "extsprintf": "1.3.0", - "json-schema": "0.2.3", - "verror": "1.10.0" - } - }, - "keyv": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz", - "integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==", - "dev": true, - "requires": { - "json-buffer": "3.0.0" - } - }, - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "requires": { - "is-buffer": "^1.1.5" - } - }, - "latest-version": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/latest-version/-/latest-version-5.1.0.tgz", - "integrity": "sha512-weT+r0kTkRQdCdYCNtkMwWXQTMEswKrFBkm4ckQOMVhhqhIMI1UT2hMj+1iigIhgSZm5gTmrRXBNoGUgaTY1xA==", - "dev": true, - "requires": { - "package-json": "^6.3.0" - } - }, - "lazy-cache": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz", - "integrity": "sha1-odePw6UEdMuAhF07O24dpJpEbo4=" - }, - "lcid": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/lcid/-/lcid-2.0.0.tgz", - "integrity": "sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA==", - "dev": true, - "requires": { - "invert-kv": "^2.0.0" - } - }, - "leven": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", - "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", - "dev": true - }, - "levn": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", - "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", - "dev": true, - "requires": { - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2" - } - }, - "linkify-it": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-2.2.0.tgz", - "integrity": "sha512-GnAl/knGn+i1U/wjBz3akz2stz+HrHLsxMwHQGofCDfPvlf+gDKN58UtfmUquTY4/MXeE2x7k19KQmeoZi94Iw==", - "requires": { - "uc.micro": "^1.0.1" - } - }, - "load-json-file": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", - "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", - "dev": true, - "requires": { - "graceful-fs": "^4.1.2", - "parse-json": "^2.2.0", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0", - "strip-bom": "^2.0.0" - } - }, - "locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "requires": { - "p-locate": "^4.1.0" - } - }, - "lodash": { - "version": "4.17.15", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" - }, - "lodash.escaperegexp": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/lodash.escaperegexp/-/lodash.escaperegexp-4.1.2.tgz", - "integrity": "sha1-ZHYsSGGAglGKw99Mz11YhtriA0c=" - }, - "longest": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz", - "integrity": "sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=" - }, - "loud-rejection": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", - "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=", - "dev": true, - "requires": { - "currently-unhandled": "^0.4.1", - "signal-exit": "^3.0.0" - } - }, - "lowercase-keys": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz", - "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==", - "dev": true - }, - "lru-cache": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", - "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==", - "dev": true, - "requires": { - "pseudomap": "^1.0.2", - "yallist": "^2.1.2" - } - }, - "make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", - "dev": true, - "requires": { - "semver": "^6.0.0" - }, - "dependencies": { - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true - } - } - }, - "map-age-cleaner": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz", - "integrity": "sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w==", - "dev": true, - "requires": { - "p-defer": "^1.0.0" - } - }, - "map-obj": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", - "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", - "dev": true - }, - "map-stream": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/map-stream/-/map-stream-0.1.0.tgz", - "integrity": "sha1-5WqpTEyAVaFkBKBnS3jyFffI4ZQ=", - "dev": true - }, - "markdown-it": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-10.0.0.tgz", - "integrity": "sha512-YWOP1j7UbDNz+TumYP1kpwnP0aEa711cJjrAQrzd0UXlbJfc5aAq0F/PZHjiioqDC1NKgvIMX+o+9Bk7yuM2dg==", - "requires": { - "argparse": "^1.0.7", - "entities": "~2.0.0", - "linkify-it": "^2.0.0", - "mdurl": "^1.0.1", - "uc.micro": "^1.0.5" - }, - "dependencies": { - "entities": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-2.0.0.tgz", - "integrity": "sha512-D9f7V0JSRwIxlRI2mjMqufDrRDnx8p+eEOz7aUM9SuvF8gsBzra0/6tbjl1m8eQHrZlYj6PxqE00hZ1SAIKPLw==" - } - } - }, - "markdown-it-attrs": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/markdown-it-attrs/-/markdown-it-attrs-1.2.1.tgz", - "integrity": "sha512-EYYKLF9RvQJx1Etsb6EsBGWL7qNQLpg9BRej5f06+UdX75T5gvldEn7ts6bkLIQqugE15SGn4lw1CXDS1A+XUA==" - }, - "markdown-it-emoji": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/markdown-it-emoji/-/markdown-it-emoji-1.4.0.tgz", - "integrity": "sha1-m+4OmpkKljupbfaYDE/dsF37Tcw=" - }, - "markdown-it-lazy-headers": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/markdown-it-lazy-headers/-/markdown-it-lazy-headers-0.1.3.tgz", - "integrity": "sha1-5w3U2nnIepzoLKRwG4t8Di1yKXs=" - }, - "mdurl": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz", - "integrity": "sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4=" - }, - "media-typer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=" - }, - "mem": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/mem/-/mem-4.3.0.tgz", - "integrity": "sha512-qX2bG48pTqYRVmDB37rn/6PT7LcR8T7oAX3bf99u1Tt1nzxYfxkgqDwUwolPlXweM0XzBOBFzSx4kfp7KP1s/w==", - "dev": true, - "requires": { - "map-age-cleaner": "^0.1.1", - "mimic-fn": "^2.0.0", - "p-is-promise": "^2.0.0" - } - }, - "meow": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", - "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", - "dev": true, - "requires": { - "camelcase-keys": "^2.0.0", - "decamelize": "^1.1.2", - "loud-rejection": "^1.0.0", - "map-obj": "^1.0.1", - "minimist": "^1.1.3", - "normalize-package-data": "^2.3.4", - "object-assign": "^4.0.1", - "read-pkg-up": "^1.0.1", - "redent": "^1.0.0", - "trim-newlines": "^1.0.0" - } - }, - "merge-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" - }, - "merge2": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.3.0.tgz", - "integrity": "sha512-2j4DAdlBOkiSZIsaXk4mTE3sRS02yBHAtfy127xRV3bQUFqXkjHCHLW6Scv7DwNRbIWNHH8zpnz9zMaKXIdvYw==", - "dev": true - }, - "methods": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", - "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=" - }, - "micromatch": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz", - "integrity": "sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==", - "dev": true, - "requires": { - "braces": "^3.0.1", - "picomatch": "^2.0.5" - } - }, - "mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", - "dev": true - }, - "mime-db": { - "version": "1.29.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.29.0.tgz", - "integrity": "sha1-SNJtI1WJZRcErFkWygYAGRQmaHg=" - }, - "mime-types": { - "version": "2.1.16", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.16.tgz", - "integrity": "sha1-K4WKUuXs1RbbiXrCvodIeDBpjiM=", - "requires": { - "mime-db": "~1.29.0" - } - }, - "mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "dev": true - }, - "mimic-response": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz", - "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==", - "dev": true - }, - "minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "dev": true, - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", - "dev": true - }, - "mkdirp": { - "version": "0.5.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.4.tgz", - "integrity": "sha512-iG9AK/dJLtJ0XNgTuDbSyNS3zECqDlAhnQW4CsNxBG3LQJBbHmRX1egw39DmtOdCAqY+dKXV+sgPgilNWUKMVw==", - "dev": true, - "requires": { - "minimist": "^1.2.5" - } - }, - "mkdirp-promise": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/mkdirp-promise/-/mkdirp-promise-1.1.0.tgz", - "integrity": "sha1-LISJPtZ24NmPsY+5piEv0bK5qBk=", - "dev": true - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "mute-stream": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", - "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", - "dev": true - }, - "nan": { - "version": "2.14.1", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.1.tgz", - "integrity": "sha512-isWHgVjnFjh2x2yuJ/tj3JbwoHu3UC2dX5G/88Cm24yB6YopVgxvBObDY7n5xW6ExmFhJpSEQqFPvq9zaXc8Jw==", - "dev": true - }, - "natural-compare": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", - "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", - "dev": true - }, - "negotiator": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz", - "integrity": "sha1-KzJxhOiZIQEXeyhWP7XnECrNDKk=" - }, - "nice-try": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", - "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", - "dev": true - }, - "node-fetch": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz", - "integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==", - "dev": true - }, - "node-fetch-h2": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/node-fetch-h2/-/node-fetch-h2-2.3.0.tgz", - "integrity": "sha512-ofRW94Ab0T4AOh5Fk8t0h8OBWrmjb0SSB20xh1H8YnPV9EJ+f5AMoYSUQ2zgJ4Iq2HAK0I2l5/Nequ8YzFS3Hg==", - "dev": true, - "requires": { - "http2-client": "^1.2.5" - } - }, - "node-gyp": { - "version": "3.8.0", - "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-3.8.0.tgz", - "integrity": "sha512-3g8lYefrRRzvGeSowdJKAKyks8oUpLEd/DyPV4eMhVlhJ0aNaZqIrNUIPuEWWTAoPqyFkfGrM67MC69baqn6vA==", - "dev": true, - "requires": { - "fstream": "^1.0.0", - "glob": "^7.0.3", - "graceful-fs": "^4.1.2", - "mkdirp": "^0.5.0", - "nopt": "2 || 3", - "npmlog": "0 || 1 || 2 || 3 || 4", - "osenv": "0", - "request": "^2.87.0", - "rimraf": "2", - "semver": "~5.3.0", - "tar": "^2.0.0", - "which": "1" - }, - "dependencies": { - "semver": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz", - "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8=", - "dev": true - } - } - }, - "node-readfiles": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/node-readfiles/-/node-readfiles-0.2.0.tgz", - "integrity": "sha1-271K8SE04uY1wkXvk//Pb2BnOl0=", - "dev": true, - "requires": { - "es6-promise": "^3.2.1" - } - }, - "node-sass": { - "version": "4.14.1", - "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-4.14.1.tgz", - "integrity": "sha512-sjCuOlvGyCJS40R8BscF5vhVlQjNN069NtQ1gSxyK1u9iqvn6tf7O1R4GNowVZfiZUCRt5MmMs1xd+4V/7Yr0g==", - "dev": true, - "requires": { - "async-foreach": "^0.1.3", - "chalk": "^1.1.1", - "cross-spawn": "^3.0.0", - "gaze": "^1.0.0", - "get-stdin": "^4.0.1", - "glob": "^7.0.3", - "in-publish": "^2.0.0", - "lodash": "^4.17.15", - "meow": "^3.7.0", - "mkdirp": "^0.5.1", - "nan": "^2.13.2", - "node-gyp": "^3.8.0", - "npmlog": "^4.0.0", - "request": "^2.88.0", - "sass-graph": "2.2.5", - "stdout-stream": "^1.4.0", - "true-case-path": "^1.0.2" - } - }, - "node-sass-asset-functions": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/node-sass-asset-functions/-/node-sass-asset-functions-0.1.0.tgz", - "integrity": "sha1-MnMjxwgEnqpgCYZJyd+hnQ+8Uhk=", - "dev": true, - "requires": { - "image-size": "^0.3.5", - "mime": "^1.3.4", - "node-sass": ">= 3.2 < 5" - } - }, - "nodemon": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-2.0.4.tgz", - "integrity": "sha512-Ltced+hIfTmaS28Zjv1BM552oQ3dbwPqI4+zI0SLgq+wpJhSyqgYude/aZa/3i31VCQWMfXJVxvu86abcam3uQ==", - "dev": true, - "requires": { - "chokidar": "^3.2.2", - "debug": "^3.2.6", - "ignore-by-default": "^1.0.1", - "minimatch": "^3.0.4", - "pstree.remy": "^1.1.7", - "semver": "^5.7.1", - "supports-color": "^5.5.0", - "touch": "^3.1.0", - "undefsafe": "^2.0.2", - "update-notifier": "^4.0.0" - }, - "dependencies": { - "anymatch": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz", - "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==", - "dev": true, - "requires": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - } - }, - "chokidar": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.4.1.tgz", - "integrity": "sha512-TQTJyr2stihpC4Sya9hs2Xh+O2wf+igjL36Y75xx2WdHuiICcn/XJza46Jwt0eT5hVpQOzo3FpY3cj3RVYLX0g==", - "dev": true, - "requires": { - "anymatch": "~3.1.1", - "braces": "~3.0.2", - "fsevents": "~2.1.2", - "glob-parent": "~5.1.0", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.4.0" - } - }, - "debug": { - "version": "3.2.6", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", - "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - }, - "fsevents": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz", - "integrity": "sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==", - "dev": true, - "optional": true - }, - "glob-parent": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz", - "integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==", - "dev": true, - "requires": { - "is-glob": "^4.0.1" - } - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "readdirp": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.4.0.tgz", - "integrity": "sha512-0xe001vZBnJEK+uKcj8qOhyAKPzIT+gStxWr3LCB0DwcXR5NZJ3IaC+yGnHCYzB/S7ov3m3EEbZI2zeNvX+hGQ==", - "dev": true, - "requires": { - "picomatch": "^2.2.1" - }, - "dependencies": { - "picomatch": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz", - "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==", - "dev": true - } - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "nopt": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz", - "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=", - "dev": true, - "requires": { - "abbrev": "1" - } - }, - "normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", - "dev": true, - "requires": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - } - }, - "normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==" - }, - "normalize-url": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.0.tgz", - "integrity": "sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ==", - "dev": true - }, - "npm-run-path": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", - "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", - "dev": true, - "requires": { - "path-key": "^2.0.0" - } - }, - "npmlog": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", - "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", - "dev": true, - "requires": { - "are-we-there-yet": "~1.1.2", - "console-control-strings": "~1.1.0", - "gauge": "~2.7.3", - "set-blocking": "~2.0.0" - } - }, - "nth-check": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.1.tgz", - "integrity": "sha1-mSms32KPwsQQmN6rgqxYDPFJquQ=", - "requires": { - "boolbase": "~1.0.0" - } - }, - "number-is-nan": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", - "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=" - }, - "oas-kit-common": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/oas-kit-common/-/oas-kit-common-1.0.8.tgz", - "integrity": "sha512-pJTS2+T0oGIwgjGpw7sIRU8RQMcUoKCDWFLdBqKB2BNmGpbBMH2sdqAaOXUg8OzonZHU0L7vfJu1mJFEiYDWOQ==", - "dev": true, - "requires": { - "fast-safe-stringify": "^2.0.7" - } - }, - "oas-linter": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/oas-linter/-/oas-linter-3.1.3.tgz", - "integrity": "sha512-jFWBHjSoqODGo7cKA/VWqqWSLbHNtnyCEpa2nMMS64SzCUbZDk63Oe7LqQZ2qJA0K2VRreYLt6cVkYy6MqNRDg==", - "dev": true, - "requires": { - "should": "^13.2.1", - "yaml": "^1.8.3" - } - }, - "oas-resolver": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/oas-resolver/-/oas-resolver-2.4.1.tgz", - "integrity": "sha512-rRmUv9mDTKPtsB2OGaoNMK4BC1Q/pL+tWRPKRjXJEBoLmfegJhecOZPBtIR0gKEVQb9iAA0MqulkgY43EiCFDg==", - "dev": true, - "requires": { - "node-fetch-h2": "^2.3.0", - "oas-kit-common": "^1.0.8", - "reftools": "^1.1.3", - "yaml": "^1.8.3", - "yargs": "^15.3.1" - } - }, - "oas-schema-walker": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/oas-schema-walker/-/oas-schema-walker-1.1.4.tgz", - "integrity": "sha512-foVDDS0RJYMfhQEDh/WdBuCzydTcsCnGo9EeD8SpWq1uW10JXiz+8SfYVDA7LO87kjmlnTRZle/2gr5qxabaEA==", - "dev": true - }, - "oas-validator": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/oas-validator/-/oas-validator-4.0.6.tgz", - "integrity": "sha512-WNKjQCw6UnbHRQM00stje0sn//OSzrhGWBD5s4p9dv3t8r3+CZcJgc/BcIPSM2IKaR2iOZWJjyfGGYzi6Hd5lQ==", - "dev": true, - "requires": { - "ajv": "^5.5.2", - "better-ajv-errors": "^0.6.7", - "call-me-maybe": "^1.0.1", - "oas-kit-common": "^1.0.8", - "oas-linter": "^3.1.3", - "oas-resolver": "^2.4.1", - "oas-schema-walker": "^1.1.4", - "reftools": "^1.1.3", - "should": "^13.2.1", - "yaml": "^1.8.3" - }, - "dependencies": { - "ajv": { - "version": "5.5.2", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz", - "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=", - "dev": true, - "requires": { - "co": "^4.6.0", - "fast-deep-equal": "^1.0.0", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.3.0" - } - }, - "fast-deep-equal": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz", - "integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=", - "dev": true - }, - "json-schema-traverse": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz", - "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=", - "dev": true - } - } - }, - "oauth-sign": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", - "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", - "dev": true - }, - "object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", - "dev": true - }, - "on-finished": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", - "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", - "requires": { - "ee-first": "1.1.1" - } - }, - "on-headers": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.1.tgz", - "integrity": "sha1-ko9dD0cNSTQmUepnlLCFfBAGk/c=" - }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dev": true, - "requires": { - "wrappy": "1" - } - }, - "onetime": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.0.tgz", - "integrity": "sha512-5NcSkPHhwTVFIQN+TUqXoS5+dlElHXdpAWu9I0HP20YOtIi+aZ0Ct82jdlILDxjLEAWwvm+qj1m6aEtsDVmm6Q==", - "dev": true, - "requires": { - "mimic-fn": "^2.1.0" - } - }, - "openapi-sampler": { - "version": "1.0.0-beta.16", - "resolved": "https://registry.npmjs.org/openapi-sampler/-/openapi-sampler-1.0.0-beta.16.tgz", - "integrity": "sha512-05+GvwMagTY7GxoDQoWJfmAUFlxfebciiEzqKmu4iq6+MqBEn62AMUkn0CTxyKhnUGIaR2KXjTeslxIeJwVIOw==", - "dev": true, - "requires": { - "json-pointer": "^0.6.0" - } - }, - "opn": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/opn/-/opn-5.2.0.tgz", - "integrity": "sha512-Jd/GpzPyHF4P2/aNOVmS3lfMSWV9J7cOhCG1s08XCEAsPkB7lp6ddiU0J7XzyQRDUh8BqJ7PchfINjR8jyofRQ==", - "requires": { - "is-wsl": "^1.1.0" - } - }, - "optionator": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", - "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", - "dev": true, - "requires": { - "deep-is": "~0.1.3", - "fast-levenshtein": "~2.0.6", - "levn": "~0.3.0", - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2", - "word-wrap": "~1.2.3" - } - }, - "os-homedir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", - "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", - "dev": true - }, - "os-locale": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-3.1.0.tgz", - "integrity": "sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q==", - "dev": true, - "requires": { - "execa": "^1.0.0", - "lcid": "^2.0.0", - "mem": "^4.0.0" - } - }, - "os-tmpdir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", - "dev": true - }, - "osenv": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", - "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", - "dev": true, - "requires": { - "os-homedir": "^1.0.0", - "os-tmpdir": "^1.0.0" - } - }, - "p-cancelable": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz", - "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==", - "dev": true - }, - "p-defer": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-defer/-/p-defer-1.0.0.tgz", - "integrity": "sha1-n26xgvbJqozXQwBKfU+WsZaw+ww=", - "dev": true - }, - "p-finally": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", - "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", - "dev": true - }, - "p-is-promise": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-is-promise/-/p-is-promise-2.1.0.tgz", - "integrity": "sha512-Y3W0wlRPK8ZMRbNq97l4M5otioeA5lm1z7bkNkxCka8HSPjR0xRWmpCmc9utiaLP9Jb1eD8BgeIxTW4AIF45Pg==", - "dev": true - }, - "p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "requires": { - "p-try": "^2.0.0" - } - }, - "p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "requires": { - "p-limit": "^2.2.0" - } - }, - "p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "dev": true - }, - "package-json": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/package-json/-/package-json-6.5.0.tgz", - "integrity": "sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ==", - "dev": true, - "requires": { - "got": "^9.6.0", - "registry-auth-token": "^4.0.0", - "registry-url": "^5.0.0", - "semver": "^6.2.0" - }, - "dependencies": { - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true - } - } - }, - "parent-module": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", - "dev": true, - "requires": { - "callsites": "^3.0.0" - } - }, - "parse-json": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", - "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", - "dev": true, - "requires": { - "error-ex": "^1.2.0" - } - }, - "parse5": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-3.0.2.tgz", - "integrity": "sha1-Be/1fw70V3+xRKefi5qWemzERRA=", - "requires": { - "@types/node": "^6.0.46" - } - }, - "parseurl": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.2.tgz", - "integrity": "sha1-/CidTtiZMRlGDBViUyYs3I3mW/M=" - }, - "path-exists": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", - "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", - "dev": true, - "requires": { - "pinkie-promise": "^2.0.0" - } - }, - "path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "dev": true - }, - "path-key": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", - "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", - "dev": true - }, - "path-parse": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", - "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", - "dev": true - }, - "path-to-regexp": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", - "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" - }, - "path-type": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", - "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", - "dev": true, - "requires": { - "graceful-fs": "^4.1.2", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0" - } - }, - "pause-stream": { - "version": "0.0.11", - "resolved": "https://registry.npmjs.org/pause-stream/-/pause-stream-0.0.11.tgz", - "integrity": "sha1-/lo0sMvOErWqaitAPuLnO2AvFEU=", - "dev": true, - "requires": { - "through": "~2.3" - } - }, - "performance-now": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", - "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", - "dev": true - }, - "picomatch": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.0.7.tgz", - "integrity": "sha512-oLHIdio3tZ0qH76NybpeneBhYVj0QFTfXEFTc/B3zKQspYfYYkWYgFsmzo+4kvId/bQRcNkVeguI3y+CD22BtA==" - }, - "pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", - "dev": true - }, - "pinkie": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", - "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", - "dev": true - }, - "pinkie-promise": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", - "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", - "dev": true, - "requires": { - "pinkie": "^2.0.0" - } - }, - "prelude-ls": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", - "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", - "dev": true - }, - "prepend-http": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz", - "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=", - "dev": true - }, - "process-nextick-args": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz", - "integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=" - }, - "progress": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", - "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", - "dev": true - }, - "proxy-addr": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.2.tgz", - "integrity": "sha1-ZXFQT0e7mI7IGAJT+F3X4UlSvew=", - "requires": { - "forwarded": "~0.1.2", - "ipaddr.js": "1.5.2" - } - }, - "pseudomap": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", - "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=", - "dev": true - }, - "psl": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", - "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==", - "dev": true - }, - "pstree.remy": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz", - "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==", - "dev": true - }, - "pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "dev": true, - "requires": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, - "punycode": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", - "dev": true - }, - "pupa": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pupa/-/pupa-2.0.1.tgz", - "integrity": "sha512-hEJH0s8PXLY/cdXh66tNEQGndDrIKNqNC5xmrysZy3i5C3oEoLna7YAOad+7u125+zH1HNXUmGEkrhb3c2VriA==", - "dev": true, - "requires": { - "escape-goat": "^2.0.0" - } - }, - "qs": { - "version": "6.5.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", - "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", - "dev": true - }, - "range-parser": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz", - "integrity": "sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4=" - }, - "raw-body": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.3.2.tgz", - "integrity": "sha1-vNYMd9Prk83gBQKVw/N5OJvIj4k=", - "requires": { - "bytes": "3.0.0", - "http-errors": "1.6.2", - "iconv-lite": "0.4.19", - "unpipe": "1.0.0" - } - }, - "rc": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", - "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", - "dev": true, - "requires": { - "deep-extend": "^0.6.0", - "ini": "~1.3.0", - "minimist": "^1.2.0", - "strip-json-comments": "~2.0.1" - }, - "dependencies": { - "strip-json-comments": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", - "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", - "dev": true - } - } - }, - "read-input": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/read-input/-/read-input-0.3.1.tgz", - "integrity": "sha1-WzFpMIATRk/9puyS5Y0tPOqUjfE=", - "dev": true - }, - "read-pkg": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", - "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", - "dev": true, - "requires": { - "load-json-file": "^1.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^1.0.0" - } - }, - "read-pkg-up": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", - "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", - "dev": true, - "requires": { - "find-up": "^1.0.0", - "read-pkg": "^1.0.0" - } - }, - "readable-stream": { - "version": "2.2.11", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.2.11.tgz", - "integrity": "sha512-h+8+r3MKEhkiVrwdKL8aWs1oc1VvBu33ueshOvS26RsZQ3Amhx/oO3TKe4lApSV9ueY6as8EAh7mtuFjdlhg9Q==", - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.1", - "isarray": "~1.0.0", - "process-nextick-args": "~1.0.6", - "safe-buffer": "~5.0.1", - "string_decoder": "~1.0.0", - "util-deprecate": "~1.0.1" - } - }, - "readdirp": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.1.1.tgz", - "integrity": "sha512-XXdSXZrQuvqoETj50+JAitxz1UPdt5dupjT6T5nVB+WvjMv2XKYj+s7hPeAVCXvmJrL36O4YYyWlIC3an2ePiQ==", - "requires": { - "picomatch": "^2.0.4" - } - }, - "redent": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz", - "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=", - "dev": true, - "requires": { - "indent-string": "^2.1.0", - "strip-indent": "^1.0.1" - } - }, - "reftools": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/reftools/-/reftools-1.1.3.tgz", - "integrity": "sha512-JTlhKmSzqE/gt5Z5RX25yZDq67MlRRtTz1gLy/NY+wPDx1e1vEJsv1PoNrpKZBwitcEMXs2k7pzmbmraP1ZMAQ==", - "dev": true - }, - "regenerator-runtime": { - "version": "0.13.5", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.5.tgz", - "integrity": "sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA==" - }, - "regexpp": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-2.0.1.tgz", - "integrity": "sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw==", - "dev": true - }, - "registry-auth-token": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.2.0.tgz", - "integrity": "sha512-P+lWzPrsgfN+UEpDS3U8AQKg/UjZX6mQSJueZj3EK+vNESoqBSpBUD3gmu4sF9lOsjXWjF11dQKUqemf3veq1w==", - "dev": true, - "requires": { - "rc": "^1.2.8" - } - }, - "registry-url": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-5.1.0.tgz", - "integrity": "sha512-8acYXXTI0AkQv6RAOjE3vOaIXZkT9wo4LOFbBKYQEEnnMNBpKqdUrI6S4NT0KPIo/WVvJ5tE/X5LF/TQUf0ekw==", - "dev": true, - "requires": { - "rc": "^1.2.8" - } - }, - "repeat-string": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", - "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=" - }, - "repeating": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", - "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", - "dev": true, - "requires": { - "is-finite": "^1.0.0" - } - }, - "request": { - "version": "2.88.2", - "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", - "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", - "dev": true, - "requires": { - "aws-sign2": "~0.7.0", - "aws4": "^1.8.0", - "caseless": "~0.12.0", - "combined-stream": "~1.0.6", - "extend": "~3.0.2", - "forever-agent": "~0.6.1", - "form-data": "~2.3.2", - "har-validator": "~5.1.3", - "http-signature": "~1.2.0", - "is-typedarray": "~1.0.0", - "isstream": "~0.1.2", - "json-stringify-safe": "~5.0.1", - "mime-types": "~2.1.19", - "oauth-sign": "~0.9.0", - "performance-now": "^2.1.0", - "qs": "~6.5.2", - "safe-buffer": "^5.1.2", - "tough-cookie": "~2.5.0", - "tunnel-agent": "^0.6.0", - "uuid": "^3.3.2" - }, - "dependencies": { - "mime-db": { - "version": "1.44.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz", - "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg==", - "dev": true - }, - "mime-types": { - "version": "2.1.27", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz", - "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==", - "dev": true, - "requires": { - "mime-db": "1.44.0" - } - }, - "safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "dev": true - } - } - }, - "require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", - "dev": true - }, - "require-main-filename": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", - "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", - "dev": true - }, - "resolve": { - "version": "1.17.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz", - "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==", - "dev": true, - "requires": { - "path-parse": "^1.0.6" - } - }, - "resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", - "dev": true - }, - "responselike": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz", - "integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=", - "dev": true, - "requires": { - "lowercase-keys": "^1.0.0" - } - }, - "restore-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", - "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", - "dev": true, - "requires": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" - } - }, - "reusify": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", - "dev": true - }, - "rewire": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/rewire/-/rewire-5.0.0.tgz", - "integrity": "sha512-1zfitNyp9RH5UDyGGLe9/1N0bMlPQ0WrX0Tmg11kMHBpqwPJI4gfPpP7YngFyLbFmhXh19SToAG0sKKEFcOIJA==", - "dev": true, - "requires": { - "eslint": "^6.8.0" - } - }, - "right-align": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz", - "integrity": "sha1-YTObci/mo1FWiSENJOFMlhSGE+8=", - "requires": { - "align-text": "^0.1.1" - } - }, - "rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", - "dev": true, - "requires": { - "glob": "^7.1.3" - } - }, - "run-async": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", - "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==", - "dev": true - }, - "run-parallel": { - "version": "1.1.9", - "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.1.9.tgz", - "integrity": "sha512-DEqnSRTDw/Tc3FXf49zedI638Z9onwUotBMiUFKmrO2sdFKIbXamXGQ3Axd4qgphxKB4kw/qP1w5kTxnfU1B9Q==", - "dev": true - }, - "rxjs": { - "version": "6.5.5", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.5.tgz", - "integrity": "sha512-WfQI+1gohdf0Dai/Bbmk5L5ItH5tYqm3ki2c5GdWhKjalzjg93N3avFjVStyZZz+A2Em+ZxKH5bNghw9UeylGQ==", - "dev": true, - "requires": { - "tslib": "^1.9.0" - } - }, - "safe-buffer": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.0.1.tgz", - "integrity": "sha1-0mPKVGls2KMGtcplUekt5XkY++c=" - }, - "safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", - "dev": true - }, - "sanitize-html": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/sanitize-html/-/sanitize-html-1.15.0.tgz", - "integrity": "sha512-1jWLToWx8ZV53Z1Jg+2fHl8dNFsxvQt2Cmrk4o/z1+MUdB5EXSU0QVuzlGGhfp7cQrYbEEfMO/TUWHfkBUqujQ==", - "requires": { - "htmlparser2": "^3.9.0", - "lodash.escaperegexp": "^4.1.2", - "srcset": "^1.0.0", - "xtend": "^4.0.0" - } - }, - "sass-graph": { - "version": "2.2.5", - "resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-2.2.5.tgz", - "integrity": "sha512-VFWDAHOe6mRuT4mZRd4eKE+d8Uedrk6Xnh7Sh9b4NGufQLQjOrvf/MQoOdx+0s92L89FeyUUNfU597j/3uNpag==", - "dev": true, - "requires": { - "glob": "^7.0.0", - "lodash": "^4.0.0", - "scss-tokenizer": "^0.2.3", - "yargs": "^13.3.2" - }, - "dependencies": { - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", - "dev": true - }, - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true - }, - "emoji-regex": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", - "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", - "dev": true - }, - "find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", - "dev": true, - "requires": { - "locate-path": "^3.0.0" - } - }, - "is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", - "dev": true - }, - "locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", - "dev": true, - "requires": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" - } - }, - "p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", - "dev": true, - "requires": { - "p-limit": "^2.0.0" - } - }, - "path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", - "dev": true - }, - "string-width": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", - "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", - "dev": true, - "requires": { - "emoji-regex": "^7.0.1", - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^5.1.0" - } - }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "dev": true, - "requires": { - "ansi-regex": "^4.1.0" - } - }, - "yargs": { - "version": "13.3.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-13.3.2.tgz", - "integrity": "sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw==", - "dev": true, - "requires": { - "cliui": "^5.0.0", - "find-up": "^3.0.0", - "get-caller-file": "^2.0.1", - "require-directory": "^2.1.1", - "require-main-filename": "^2.0.0", - "set-blocking": "^2.0.0", - "string-width": "^3.0.0", - "which-module": "^2.0.0", - "y18n": "^4.0.0", - "yargs-parser": "^13.1.2" - } - }, - "yargs-parser": { - "version": "13.1.2", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.2.tgz", - "integrity": "sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==", - "dev": true, - "requires": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - } - } - } - }, - "scss-tokenizer": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/scss-tokenizer/-/scss-tokenizer-0.2.3.tgz", - "integrity": "sha1-jrBtualyMzOCTT9VMGQRSYR85dE=", - "dev": true, - "requires": { - "js-base64": "^2.1.8", - "source-map": "^0.4.2" - } - }, - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true - }, - "semver-diff": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-3.1.1.tgz", - "integrity": "sha512-GX0Ix/CJcHyB8c4ykpHGIAvLyOwOobtM/8d+TQkAd81/bEjgPHrfba41Vpesr7jX/t8Uh+R3EX9eAS5be+jQYg==", - "dev": true, - "requires": { - "semver": "^6.3.0" - }, - "dependencies": { - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true - } - } - }, - "send": { - "version": "0.16.1", - "resolved": "https://registry.npmjs.org/send/-/send-0.16.1.tgz", - "integrity": "sha512-ElCLJdJIKPk6ux/Hocwhk7NFHpI3pVm/IZOYWqUmoxcgeyM+MpxHHKhb8QmlJDX1pU6WrgaHBkVNm73Sv7uc2A==", - "requires": { - "debug": "2.6.9", - "depd": "~1.1.1", - "destroy": "~1.0.4", - "encodeurl": "~1.0.1", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "0.5.2", - "http-errors": "~1.6.2", - "mime": "1.4.1", - "ms": "2.0.0", - "on-finished": "~2.3.0", - "range-parser": "~1.2.0", - "statuses": "~1.3.1" - }, - "dependencies": { - "mime": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.4.1.tgz", - "integrity": "sha512-KI1+qOZu5DcW6wayYHSzR/tXKCDC5Om4s1z2QJjDULzLcmf3DvzS7oluY4HCTrc+9FiKmWUgeNLg7W3uIQvxtQ==" - } - } - }, - "serve-static": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.13.1.tgz", - "integrity": "sha512-hSMUZrsPa/I09VYFJwa627JJkNs0NrfL1Uzuup+GqHfToR2KcsXFymXSV90hoyw3M+msjFuQly+YzIH/q0MGlQ==", - "requires": { - "encodeurl": "~1.0.1", - "escape-html": "~1.0.3", - "parseurl": "~1.3.2", - "send": "0.16.1" - } - }, - "set-blocking": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", - "dev": true - }, - "setprototypeof": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", - "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==" - }, - "shebang-command": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", - "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", - "dev": true, - "requires": { - "shebang-regex": "^1.0.0" - } - }, - "shebang-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", - "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", - "dev": true - }, - "should": { - "version": "13.2.3", - "resolved": "https://registry.npmjs.org/should/-/should-13.2.3.tgz", - "integrity": "sha512-ggLesLtu2xp+ZxI+ysJTmNjh2U0TsC+rQ/pfED9bUZZ4DKefP27D+7YJVVTvKsmjLpIi9jAa7itwDGkDDmt1GQ==", - "dev": true, - "requires": { - "should-equal": "^2.0.0", - "should-format": "^3.0.3", - "should-type": "^1.4.0", - "should-type-adaptors": "^1.0.1", - "should-util": "^1.0.0" - } - }, - "should-equal": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/should-equal/-/should-equal-2.0.0.tgz", - "integrity": "sha512-ZP36TMrK9euEuWQYBig9W55WPC7uo37qzAEmbjHz4gfyuXrEUgF8cUvQVO+w+d3OMfPvSRQJ22lSm8MQJ43LTA==", - "dev": true, - "requires": { - "should-type": "^1.4.0" - } - }, - "should-format": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/should-format/-/should-format-3.0.3.tgz", - "integrity": "sha1-m/yPdPo5IFxT04w01xcwPidxJPE=", - "dev": true, - "requires": { - "should-type": "^1.3.0", - "should-type-adaptors": "^1.0.1" - } - }, - "should-type": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/should-type/-/should-type-1.4.0.tgz", - "integrity": "sha1-B1bYzoRt/QmEOmlHcZ36DUz/XPM=", - "dev": true - }, - "should-type-adaptors": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/should-type-adaptors/-/should-type-adaptors-1.1.0.tgz", - "integrity": "sha512-JA4hdoLnN+kebEp2Vs8eBe9g7uy0zbRo+RMcU0EsNy+R+k049Ki+N5tT5Jagst2g7EAja+euFuoXFCa8vIklfA==", - "dev": true, - "requires": { - "should-type": "^1.3.0", - "should-util": "^1.0.0" - } - }, - "should-util": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/should-util/-/should-util-1.0.1.tgz", - "integrity": "sha512-oXF8tfxx5cDk8r2kYqlkUJzZpDBqVY/II2WhvU0n9Y3XYvAYRmeaf1PvvIvTgPnv4KJ+ES5M0PyDq5Jp+Ygy2g==", - "dev": true - }, - "signal-exit": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", - "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==", - "dev": true - }, - "slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true - }, - "slice-ansi": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz", - "integrity": "sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.0", - "astral-regex": "^1.0.0", - "is-fullwidth-code-point": "^2.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true - }, - "is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", - "dev": true - } - } - }, - "source-map": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", - "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", - "dev": true, - "requires": { - "amdefine": ">=0.0.4" - } - }, - "spdx-correct": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz", - "integrity": "sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q==", - "dev": true, - "requires": { - "spdx-expression-parse": "^3.0.0", - "spdx-license-ids": "^3.0.0" - } - }, - "spdx-exceptions": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", - "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", - "dev": true - }, - "spdx-expression-parse": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz", - "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==", - "dev": true, - "requires": { - "spdx-exceptions": "^2.1.0", - "spdx-license-ids": "^3.0.0" - } - }, - "spdx-license-ids": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz", - "integrity": "sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q==", - "dev": true - }, - "split": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/split/-/split-0.3.3.tgz", - "integrity": "sha1-zQ7qXmOiEd//frDwkcQTPi0N0o8=", - "dev": true, - "requires": { - "through": "2" - } - }, - "sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" - }, - "srcset": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/srcset/-/srcset-1.0.0.tgz", - "integrity": "sha1-pWad4StC87HV6D7QPHEEb8SPQe8=", - "requires": { - "array-uniq": "^1.0.2", - "number-is-nan": "^1.0.0" - } - }, - "sshpk": { - "version": "1.16.1", - "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", - "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", - "dev": true, - "requires": { - "asn1": "~0.2.3", - "assert-plus": "^1.0.0", - "bcrypt-pbkdf": "^1.0.0", - "dashdash": "^1.12.0", - "ecc-jsbn": "~0.1.1", - "getpass": "^0.1.1", - "jsbn": "~0.1.0", - "safer-buffer": "^2.0.2", - "tweetnacl": "~0.14.0" - } - }, - "statuses": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.3.1.tgz", - "integrity": "sha1-+vUbnrdKrvOzrPStX2Gr8ky3uT4=" - }, - "stdout-stream": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/stdout-stream/-/stdout-stream-1.4.1.tgz", - "integrity": "sha512-j4emi03KXqJWcIeF8eIXkjMFN1Cmb8gUlDYGeBALLPo5qdyTfA9bOtl8m33lRoC+vFMkP3gl0WsDr6+gzxbbTA==", - "dev": true, - "requires": { - "readable-stream": "^2.0.1" - } - }, - "stream-combiner": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/stream-combiner/-/stream-combiner-0.0.4.tgz", - "integrity": "sha1-TV5DPBhSYd3mI8o/RMWGvPXErRQ=", - "dev": true, - "requires": { - "duplexer": "~0.1.1" - } - }, - "string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", - "dev": true, - "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" - } - }, - "string_decoder": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.2.tgz", - "integrity": "sha1-sp4fThEl+pehA4K4pTNze3SR4Xk=", - "requires": { - "safe-buffer": "~5.0.1" - } - }, - "stringify-object": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-3.3.0.tgz", - "integrity": "sha512-rHqiFh1elqCQ9WPLIC8I0Q/g/wj5J1eMkyoiD6eoQApWHP0FtlK7rqnhmabL5VUY9JQCcqwwvlOaSuutekgyrw==", - "dev": true, - "requires": { - "get-own-enumerable-property-symbols": "^3.0.0", - "is-obj": "^1.0.1", - "is-regexp": "^1.0.0" - }, - "dependencies": { - "is-obj": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", - "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=", - "dev": true - } - } - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "dev": true, - "requires": { - "ansi-regex": "^2.0.0" - } - }, - "strip-bom": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", - "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", - "dev": true, - "requires": { - "is-utf8": "^0.2.0" - } - }, - "strip-eof": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", - "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=", - "dev": true - }, - "strip-indent": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz", - "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=", - "dev": true, - "requires": { - "get-stdin": "^4.0.1" - } - }, - "strip-json-comments": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.0.tgz", - "integrity": "sha512-e6/d0eBu7gHtdCqFt0xJr642LdToM5/cN4Qb9DbHjVx1CP5RyeM+zH7pbecEmDv/lBqb0QH+6Uqq75rxFPkM0w==", - "dev": true - }, - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", - "dev": true - }, - "swagger2openapi": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/swagger2openapi/-/swagger2openapi-6.2.1.tgz", - "integrity": "sha512-CY3miXK2YZ0rjvGkVBzJps8ohDR7zGmbFhCVynAGlxIKbLvBuD99aS2ikZcvSo09uVOKcb5FspmvF/PKWdYV1Q==", - "dev": true, - "requires": { - "better-ajv-errors": "^0.6.1", - "call-me-maybe": "^1.0.1", - "node-fetch-h2": "^2.3.0", - "node-readfiles": "^0.2.0", - "oas-kit-common": "^1.0.8", - "oas-resolver": "^2.4.1", - "oas-schema-walker": "^1.1.4", - "oas-validator": "^4.0.6", - "reftools": "^1.1.3", - "yaml": "^1.8.3", - "yargs": "^15.3.1" - } - }, - "syntax-error": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/syntax-error/-/syntax-error-1.4.0.tgz", - "integrity": "sha512-YPPlu67mdnHGTup2A8ff7BC2Pjq0e0Yp/IyTFN03zWO0RcK07uLcbi7C2KpGR2FvWbaB0+bfE27a+sBKebSo7w==", - "dev": true, - "requires": { - "acorn-node": "^1.2.0" - } - }, - "table": { - "version": "5.4.6", - "resolved": "https://registry.npmjs.org/table/-/table-5.4.6.tgz", - "integrity": "sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug==", - "dev": true, - "requires": { - "ajv": "^6.10.2", - "lodash": "^4.17.14", - "slice-ansi": "^2.1.0", - "string-width": "^3.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", - "dev": true - }, - "emoji-regex": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", - "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", - "dev": true - }, - "is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", - "dev": true - }, - "string-width": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", - "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", - "dev": true, - "requires": { - "emoji-regex": "^7.0.1", - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^5.1.0" - } - }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "dev": true, - "requires": { - "ansi-regex": "^4.1.0" - } - } - } - }, - "tar": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/tar/-/tar-2.2.2.tgz", - "integrity": "sha512-FCEhQ/4rE1zYv9rYXJw/msRqsnmlje5jHP6huWeBZ704jUTy02c5AZyWujpMR1ax6mVw9NyJMfuK2CMDWVIfgA==", - "dev": true, - "requires": { - "block-stream": "*", - "fstream": "^1.0.12", - "inherits": "2" - } - }, - "term-size": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/term-size/-/term-size-2.2.0.tgz", - "integrity": "sha512-a6sumDlzyHVJWb8+YofY4TW112G6p2FCPEAFk+59gIYHv3XHRhm9ltVQ9kli4hNWeQBwSpe8cRN25x0ROunMOw==", - "dev": true - }, - "text-table": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", - "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", - "dev": true - }, - "through": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", - "dev": true - }, - "tiny-opts-parser": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tiny-opts-parser/-/tiny-opts-parser-0.0.3.tgz", - "integrity": "sha1-1sc6f65FiKa7Sh+mgbxmk3a+RRU=" - }, - "tmp": { - "version": "0.0.33", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", - "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", - "dev": true, - "requires": { - "os-tmpdir": "~1.0.2" - } - }, - "to-readable-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz", - "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==", - "dev": true - }, - "to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "requires": { - "is-number": "^7.0.0" - } - }, - "touch": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz", - "integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==", - "dev": true, - "requires": { - "nopt": "~1.0.10" - }, - "dependencies": { - "nopt": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz", - "integrity": "sha1-bd0hvSoxQXuScn3Vhfim83YI6+4=", - "dev": true, - "requires": { - "abbrev": "1" - } - } - } - }, - "tough-cookie": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", - "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", - "dev": true, - "requires": { - "psl": "^1.1.28", - "punycode": "^2.1.1" - } - }, - "trim-newlines": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", - "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=", - "dev": true - }, - "true-case-path": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/true-case-path/-/true-case-path-1.0.3.tgz", - "integrity": "sha512-m6s2OdQe5wgpFMC+pAJ+q9djG82O2jcHPOI6RNg1yy9rCYR+WD6Nbpl32fDpfC56nirdRy+opFa/Vk7HYhqaew==", - "dev": true, - "requires": { - "glob": "^7.1.2" - } - }, - "tslib": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.11.1.tgz", - "integrity": "sha512-aZW88SY8kQbU7gpV19lN24LtXh/yD4ZZg6qieAJDDg+YBsJcSmLGK9QpnUjAKVG/xefmvJGd1WUmfpT/g6AJGA==", - "dev": true - }, - "tunnel-agent": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", - "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", - "dev": true, - "requires": { - "safe-buffer": "^5.0.1" - } - }, - "tweetnacl": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", - "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", - "dev": true - }, - "type-check": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", - "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", - "dev": true, - "requires": { - "prelude-ls": "~1.1.2" - } - }, - "type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "dev": true - }, - "type-is": { - "version": "1.6.15", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.15.tgz", - "integrity": "sha1-yrEPtJCeRByChC6v4a1kbIGARBA=", - "requires": { - "media-typer": "0.3.0", - "mime-types": "~2.1.15" - } - }, - "typedarray-to-buffer": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", - "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", - "dev": true, - "requires": { - "is-typedarray": "^1.0.0" - } - }, - "uc.micro": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz", - "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==" - }, - "uglify-js": { - "version": "2.8.29", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.8.29.tgz", - "integrity": "sha1-KcVzMUgFe7Th913zW3qcty5qWd0=", - "requires": { - "source-map": "~0.5.1", - "uglify-to-browserify": "~1.0.0", - "yargs": "~3.10.0" - }, - "dependencies": { - "camelcase": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz", - "integrity": "sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk=" - }, - "cliui": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-2.1.0.tgz", - "integrity": "sha1-S0dXYP+AJkx2LDoXGQMukcf+oNE=", - "requires": { - "center-align": "^0.1.1", - "right-align": "^0.1.1", - "wordwrap": "0.0.2" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "window-size": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz", - "integrity": "sha1-VDjNLqk7IC76Ohn+iIeu58lPnJ0=" - }, - "yargs": { - "version": "3.10.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz", - "integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=", - "requires": { - "camelcase": "^1.0.2", - "cliui": "^2.1.0", - "decamelize": "^1.0.0", - "window-size": "0.1.0" - } - } - } - }, - "uglify-to-browserify": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz", - "integrity": "sha1-bgkk1r2mta/jSeOabWMoUKD4grc=", - "optional": true - }, - "undefsafe": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.3.tgz", - "integrity": "sha512-nrXZwwXrD/T/JXeygJqdCO6NZZ1L66HrxM/Z7mIq2oPanoN0F1nLx3lwJMu6AwJY69hdixaFQOuoYsMjE5/C2A==", - "dev": true, - "requires": { - "debug": "^2.2.0" - } - }, - "unique-string": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz", - "integrity": "sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==", - "dev": true, - "requires": { - "crypto-random-string": "^2.0.0" - } - }, - "unpipe": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" - }, - "update-notifier": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-4.1.0.tgz", - "integrity": "sha512-w3doE1qtI0/ZmgeoDoARmI5fjDoT93IfKgEGqm26dGUOh8oNpaSTsGNdYRN/SjOuo10jcJGwkEL3mroKzktkew==", - "dev": true, - "requires": { - "boxen": "^4.2.0", - "chalk": "^3.0.0", - "configstore": "^5.0.1", - "has-yarn": "^2.1.0", - "import-lazy": "^2.1.0", - "is-ci": "^2.0.0", - "is-installed-globally": "^0.3.1", - "is-npm": "^4.0.0", - "is-yarn-global": "^0.3.0", - "latest-version": "^5.0.0", - "pupa": "^2.0.1", - "semver-diff": "^3.1.1", - "xdg-basedir": "^4.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", - "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", - "dev": true, - "requires": { - "@types/color-name": "^1.1.1", - "color-convert": "^2.0.1" - } - }, - "chalk": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", - "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "supports-color": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz", - "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, - "uri-js": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", - "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", - "dev": true, - "requires": { - "punycode": "^2.1.0" - } - }, - "urijs": { - "version": "1.19.2", - "resolved": "https://registry.npmjs.org/urijs/-/urijs-1.19.2.tgz", - "integrity": "sha512-s/UIq9ap4JPZ7H1EB5ULo/aOUbWqfDi7FKzMC2Nz+0Si8GiT1rIEaprt8hy3Vy2Ex2aJPpOQv4P4DuOZ+K1c6w==", - "dev": true - }, - "url-parse-lax": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz", - "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=", - "dev": true, - "requires": { - "prepend-http": "^2.0.0" - } - }, - "util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" - }, - "utils-merge": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", - "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=" - }, - "uuid": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", - "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", - "dev": true - }, - "v8-compile-cache": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.1.0.tgz", - "integrity": "sha512-usZBT3PW+LOjM25wbqIlZwPeJV+3OSz3M1k1Ws8snlW39dZyYL9lOGC5FgPVHfk0jKmjiDV8Z0mIbVQPiwFs7g==", - "dev": true - }, - "validate-npm-package-license": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", - "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", - "dev": true, - "requires": { - "spdx-correct": "^3.0.0", - "spdx-expression-parse": "^3.0.0" - } - }, - "vary": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", - "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=" - }, - "verror": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", - "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", - "dev": true, - "requires": { - "assert-plus": "^1.0.0", - "core-util-is": "1.0.2", - "extsprintf": "^1.2.0" - } - }, - "which": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", - "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", - "dev": true, - "requires": { - "isexe": "^2.0.0" - } - }, - "which-module": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", - "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", - "dev": true - }, - "widdershins": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/widdershins/-/widdershins-4.0.1.tgz", - "integrity": "sha512-y7TGynno+J/EqRPtUrpEuEjJUc1N2ajfP7R4sHU7Qg8I/VFHGavBxL7ZTeOAVmd1fhmY2wJIbpX2LMDWf37vVA==", - "dev": true, - "requires": { - "dot": "^1.1.3", - "fast-safe-stringify": "^2.0.7", - "highlightjs": "^9.12.0", - "httpsnippet": "^1.19.0", - "jgexml": "^0.4.3", - "markdown-it": "^10.0.0", - "markdown-it-emoji": "^1.4.0", - "node-fetch": "^2.0.0", - "oas-resolver": "^2.3.1", - "oas-schema-walker": "^1.1.3", - "openapi-sampler": "^1.0.0-beta.15", - "reftools": "^1.1.0", - "swagger2openapi": "^6.0.1", - "urijs": "^1.19.0", - "yaml": "^1.8.3", - "yargs": "^12.0.5" - }, - "dependencies": { - "ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", - "dev": true - }, - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true - }, - "cliui": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-4.1.0.tgz", - "integrity": "sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ==", - "dev": true, - "requires": { - "string-width": "^2.1.1", - "strip-ansi": "^4.0.0", - "wrap-ansi": "^2.0.0" - } - }, - "find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", - "dev": true, - "requires": { - "locate-path": "^3.0.0" - } - }, - "get-caller-file": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz", - "integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==", - "dev": true - }, - "is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", - "dev": true - }, - "locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", - "dev": true, - "requires": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" - } - }, - "p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", - "dev": true, - "requires": { - "p-limit": "^2.0.0" - } - }, - "path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", - "dev": true - }, - "require-main-filename": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", - "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=", - "dev": true - }, - "string-width": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", - "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", - "dev": true, - "requires": { - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^4.0.0" - } - }, - "strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", - "dev": true, - "requires": { - "ansi-regex": "^3.0.0" - } - }, - "wrap-ansi": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", - "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", - "dev": true, - "requires": { - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1" - }, - "dependencies": { - "ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", - "dev": true - }, - "is-fullwidth-code-point": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", - "dev": true, - "requires": { - "number-is-nan": "^1.0.0" - } - }, - "string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", - "dev": true, - "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" - } - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "dev": true, - "requires": { - "ansi-regex": "^2.0.0" - } - } - } - }, - "yargs": { - "version": "12.0.5", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-12.0.5.tgz", - "integrity": "sha512-Lhz8TLaYnxq/2ObqHDql8dX8CJi97oHxrjUcYtzKbbykPtVW9WB+poxI+NM2UIzsMgNCZTIf0AQwsjK5yMAqZw==", - "dev": true, - "requires": { - "cliui": "^4.0.0", - "decamelize": "^1.2.0", - "find-up": "^3.0.0", - "get-caller-file": "^1.0.1", - "os-locale": "^3.0.0", - "require-directory": "^2.1.1", - "require-main-filename": "^1.0.1", - "set-blocking": "^2.0.0", - "string-width": "^2.0.0", - "which-module": "^2.0.0", - "y18n": "^3.2.1 || ^4.0.0", - "yargs-parser": "^11.1.1" - } - }, - "yargs-parser": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-11.1.1.tgz", - "integrity": "sha512-C6kB/WJDiaxONLJQnF8ccx9SEeoTTLek8RVbaOIsrAUS8VrBEXfmeSnCZxygc+XC2sNMBIwOOnfcxiynjHsVSQ==", - "dev": true, - "requires": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - } - } - } - }, - "wide-align": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", - "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", - "dev": true, - "requires": { - "string-width": "^1.0.2 || 2" - } - }, - "widest-line": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-3.1.0.tgz", - "integrity": "sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==", - "dev": true, - "requires": { - "string-width": "^4.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", - "dev": true - }, - "is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true - }, - "string-width": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", - "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", - "dev": true, - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.0" - } - }, - "strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "dev": true, - "requires": { - "ansi-regex": "^5.0.0" - } - } - } - }, - "word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", - "dev": true - }, - "wordwrap": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz", - "integrity": "sha1-t5Zpu0LstAn4PVg8rVLKF+qhZD8=" - }, - "wrap-ansi": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz", - "integrity": "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.0", - "string-width": "^3.0.0", - "strip-ansi": "^5.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", - "dev": true - }, - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true - }, - "emoji-regex": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", - "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", - "dev": true - }, - "is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", - "dev": true - }, - "string-width": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", - "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", - "dev": true, - "requires": { - "emoji-regex": "^7.0.1", - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^5.1.0" - } - }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "dev": true, - "requires": { - "ansi-regex": "^4.1.0" - } - } - } - }, - "wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", - "dev": true - }, - "write": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/write/-/write-1.0.3.tgz", - "integrity": "sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==", - "dev": true, - "requires": { - "mkdirp": "^0.5.1" - } - }, - "write-file-atomic": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", - "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", - "dev": true, - "requires": { - "imurmurhash": "^0.1.4", - "is-typedarray": "^1.0.0", - "signal-exit": "^3.0.2", - "typedarray-to-buffer": "^3.1.5" - } - }, - "xdg-basedir": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-4.0.0.tgz", - "integrity": "sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==", - "dev": true - }, - "xtend": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", - "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=" - }, - "y18n": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz", - "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==", - "dev": true - }, - "yallist": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", - "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", - "dev": true - }, - "yaml": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.9.2.tgz", - "integrity": "sha512-HPT7cGGI0DuRcsO51qC1j9O16Dh1mZ2bnXwsi0jrSpsLz0WxOLSLXfkABVl6bZO629py3CU+OMJtpNHDLB97kg==", - "requires": { - "@babel/runtime": "^7.9.2" - } - }, - "yargs": { - "version": "15.3.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.3.1.tgz", - "integrity": "sha512-92O1HWEjw27sBfgmXiixJWT5hRBp2eobqXicLtPBIDBhYB+1HpwZlXmbW2luivBJHBzki+7VyCLRtAkScbTBQA==", - "dev": true, - "requires": { - "cliui": "^6.0.0", - "decamelize": "^1.2.0", - "find-up": "^4.1.0", - "get-caller-file": "^2.0.1", - "require-directory": "^2.1.1", - "require-main-filename": "^2.0.0", - "set-blocking": "^2.0.0", - "string-width": "^4.2.0", - "which-module": "^2.0.0", - "y18n": "^4.0.0", - "yargs-parser": "^18.1.1" - }, - "dependencies": { - "ansi-regex": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", - "dev": true - }, - "ansi-styles": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", - "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", - "dev": true, - "requires": { - "@types/color-name": "^1.1.1", - "color-convert": "^2.0.1" - } - }, - "cliui": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", - "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", - "dev": true, - "requires": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^6.2.0" - } - }, - "find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - } - }, - "get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "dev": true - }, - "is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true - }, - "path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true - }, - "require-main-filename": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", - "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", - "dev": true - }, - "string-width": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", - "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", - "dev": true, - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.0" - } - }, - "strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "dev": true, - "requires": { - "ansi-regex": "^5.0.0" - } - }, - "which-module": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", - "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", - "dev": true - }, - "wrap-ansi": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", - "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", - "dev": true, - "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - } - }, - "y18n": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz", - "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==", - "dev": true - } - } - }, - "yargs-parser": { - "version": "18.1.3", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", - "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", - "dev": true, - "requires": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - }, - "dependencies": { - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true - } - } - } - } -} diff --git a/docs/package.json b/docs/package.json deleted file mode 100644 index fc00d202..00000000 --- a/docs/package.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "name": "shins", - "version": "2.5.0", - "description": "Shins Is Not Slate", - "main": "index.js", - "scripts": { - "lint": "npx eslint *.js", - "lintejs": "npx ejslint source/layouts/layout.ejs", - "lintapp": "npx eslint source/javascripts/app/*.js", - "test": "echo \"Error: no test specified\" && exit 1", - "update": "node shins --unsafe", - "build": "node shins", - "start": "node arapaho -l", - "serve": "node arapaho", - "widdershins": "npx widdershins --summary -o source/index.html.md api.yml", - "dev:watch": "nodemon", - "dev": "npm run widdershins && npm run build && npm run serve" - }, - "bin": { - "shins": "./shins.js" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/Mermade/shins.git" - }, - "keywords": ["shins", "slate", "swagger", "openapi", "api", "documentation", "docs"], - "author": "Mike Ralphson", - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/Mermade/shins/issues" - }, - "homepage": "https://github.com/Mermade/shins#readme", - "dependencies": { - "call-me-maybe": "^1.0.1", - "cheerio": "^1.0.0-rc.2", - "chokidar": "^3.0.2", - "compression": "^1.6.2", - "ejs": "^2.5.1", - "express": "^4.15.5", - "highlight.js": "^10.0.2", - "markdown-it": "^10.0.0", - "markdown-it-attrs": "^1.2.1", - "markdown-it-emoji": "^1.4.0", - "markdown-it-lazy-headers": "^0.1.3", - "opn": "^5.2.0", - "sanitize-html": "^1.15.0", - "tiny-opts-parser": "0.0.3", - "uglify-js": "^2.7.4", - "yaml": "^1.9.2" - }, - "devDependencies": { - "ejs-lint": "^1.1.0", - "node-sass": "^4.14.1", - "node-sass-asset-functions": "^0.1.0", - "nodemon": "^2.0.4", - "widdershins": "^4.0.1" - }, - "nodemonConfig": { - "exec": "npm run dev", - "watch": ["api.yml"] - } -} diff --git a/docs/portal.html b/docs/portal.html deleted file mode 100644 index ac3475be..00000000 --- a/docs/portal.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - - - - Shins Portal Example - - - - - - - - - - - - - - - - - - - - - - - - - NAV - Navigation - - -
      - - - - -
        - - - - - -
        -
        -
        -
        -

        Shins Portal Example

        -
        Our APIs return responses in:
        -
        -
        {
        -  "json": "format"
        -}
        -
        -
        ... and
        -
        -
        <?xml version="1.0">
        -<xml>
        -  <format>...</format>
        -</xml>
        -
        -

        This is a simple example of a 'portal' entry point to multiple pages generated by Shins.

        -

        The source is plain markdown

        -
          -
        • Simply construct your TOC using markdown headings and links
        • -
        -

        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse at mi vulputate, venenatis mauris in, ullamcorper tortor. Aliquam erat volutpat. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Curabitur eleifend enim a leo luctus fermentum. Vivamus vel ultrices nisl, et fermentum nisi. Etiam pharetra est eget justo venenatis, egestas posuere est malesuada. Aenean viverra bibendum magna, quis ultrices libero eleifend ac. Donec placerat venenatis nisl sed fermentum. In sollicitudin libero non dignissim porta. Phasellus nulla augue, malesuada vel cursus id, pellentesque venenatis est. Nullam tincidunt imperdiet tellus, non feugiat mauris cursus auctor. Mauris a nulla nec mauris accumsan faucibus vel id lectus. Mauris feugiat et justo eget efficitur. Donec congue dui et porta interdum. Ut a ante a lectus aliquet porttitor. Nam ullamcorper vel ex et feugiat.

        -

        OpenAPI Documentation

        - -

        AsyncAPI Documentation

        - -

        Semoasa Documentation

        - -

        APIs.guru OpenAPI Extensions

        - - -
        -
        - -
        - -
        - -
        -
        - - diff --git a/docs/pub/css/darkula.css b/docs/pub/css/darkula.css deleted file mode 100644 index 1c6853b4..00000000 --- a/docs/pub/css/darkula.css +++ /dev/null @@ -1,152 +0,0 @@ -/* - -Darkula color scheme from the JetBrains family of IDEs - -*/ - - -.hljs { - display: block; - overflow-x: auto; - padding: 0.5em; - background: #2b2b2b; - -webkit-text-size-adjust: none; -} - -.hljs, -.hljs-tag, -.hljs-title, -.css .hljs-rule, -.css .hljs-value, -.aspectj .hljs-function, -.css .hljs-function .hljs-preprocessor, -.hljs-pragma { - color: #bababa; -} - -.hljs-strongemphasis, -.hljs-strong, -.hljs-emphasis { - color: #a8a8a2; -} - -.hljs-bullet, -.hljs-blockquote, -.hljs-horizontal_rule, -.hljs-number, -.hljs-regexp, -.alias .hljs-keyword, -.hljs-literal, -.hljs-hexcolor { - color: #6896ba; -} - -.hljs-tag .hljs-value, -.hljs-code, -.css .hljs-class, -.hljs-class .hljs-title:last-child { - color: #a6e22e; -} - -.hljs-link_url { - font-size: 80%; -} - -.hljs-emphasis, -.hljs-strongemphasis, -.hljs-class .hljs-title:last-child, -.hljs-typename { - font-style: italic; -} - -.hljs-keyword, -.ruby .hljs-class .hljs-keyword:first-child, -.ruby .hljs-function .hljs-keyword, -.hljs-function, -.hljs-change, -.hljs-winutils, -.hljs-flow, -.nginx .hljs-title, -.tex .hljs-special, -.hljs-header, -.hljs-attribute, -.hljs-symbol, -.hljs-symbol .hljs-string, -.hljs-tag .hljs-title, -.hljs-value, -.alias .hljs-keyword:first-child, -.css .hljs-tag, -.css .unit, -.css .hljs-important { - color: #cb7832; -} - -.hljs-function .hljs-keyword, -.hljs-class .hljs-keyword:first-child, -.hljs-aspect .hljs-keyword:first-child, -.hljs-constant, -.hljs-typename, -.css .hljs-attribute { - color: #cb7832; -} - -.hljs-variable, -.hljs-params, -.hljs-class .hljs-title, -.hljs-aspect .hljs-title { - color: #b9b9b9; -} - -.hljs-string, -.css .hljs-id, -.hljs-subst, -.hljs-type, -.ruby .hljs-class .hljs-parent, -.hljs-built_in, -.django .hljs-template_tag, -.django .hljs-variable, -.smalltalk .hljs-class, -.django .hljs-filter .hljs-argument, -.smalltalk .hljs-localvars, -.smalltalk .hljs-array, -.hljs-attr_selector, -.hljs-pseudo, -.hljs-addition, -.hljs-stream, -.hljs-envvar, -.apache .hljs-tag, -.apache .hljs-cbracket, -.tex .hljs-command, -.hljs-prompt, -.hljs-link_label, -.hljs-link_url, -.hljs-name { - color: #e0c46c; -} - -.hljs-comment, -.hljs-annotation, -.hljs-pi, -.hljs-doctype, -.hljs-deletion, -.hljs-shebang, -.apache .hljs-sqbracket, -.tex .hljs-formula { - color: #7f7f7f; -} - -.hljs-decorator { - color: #bab429; -} - -.coffeescript .javascript, -.javascript .xml, -.tex .hljs-formula, -.xml .javascript, -.xml .vbscript, -.xml .css, -.xml .hljs-cdata, -.xml .php, -.php .xml { - opacity: 0.5; -} diff --git a/docs/pub/css/obsidian.css b/docs/pub/css/obsidian.css deleted file mode 100644 index 3886f83a..00000000 --- a/docs/pub/css/obsidian.css +++ /dev/null @@ -1,152 +0,0 @@ -/** - * Obsidian style - * ported by Alexander Marenin (http://github.com/ioncreature) - */ - -.hljs { - display: block; - overflow-x: auto; - padding: 0.5em; - background: #282b2e; - -webkit-text-size-adjust: none; -} - -.hljs-keyword, -.hljs-literal, -.hljs-change, -.hljs-winutils, -.hljs-flow, -.nginx .hljs-title, -.css .hljs-id, -.tex .hljs-special { - color: #93c763; -} - -.hljs-number { - color: #ffcd22; -} - -.hljs { - color: #e0e2e4; -} - -.css .hljs-tag, -.css .hljs-pseudo { - color: #d0d2b5; -} - -.hljs-attribute, -.hljs .hljs-constant { - color: #668bb0; -} - -.xml .hljs-attribute { - color: #b3b689; -} - -.xml .hljs-tag .hljs-value { - color: #e8e2b7; -} - -.hljs-code, -.hljs-class .hljs-title, -.hljs-header { - color: white; -} - -.hljs-class, -.hljs-hexcolor { - color: #93c763; -} - -.hljs-regexp { - color: #d39745; -} - -.hljs-at_rule, -.hljs-at_rule .hljs-keyword { - color: #a082bd; -} - -.hljs-doctype { - color: #557182; -} - -.hljs-link_url, -.hljs-tag, -.hljs-tag .hljs-title, -.hljs-bullet, -.hljs-subst, -.hljs-emphasis, -.hljs-type, -.hljs-preprocessor, -.hljs-pragma, -.ruby .hljs-class .hljs-parent, -.hljs-built_in, -.django .hljs-template_tag, -.django .hljs-variable, -.smalltalk .hljs-class, -.django .hljs-filter .hljs-argument, -.smalltalk .hljs-localvars, -.smalltalk .hljs-array, -.hljs-attr_selector, -.hljs-pseudo, -.hljs-addition, -.hljs-stream, -.hljs-envvar, -.apache .hljs-tag, -.apache .hljs-cbracket, -.tex .hljs-command, -.hljs-prompt, -.hljs-name { - color: #8cbbad; -} - -.hljs-string { - color: #ec7600; -} - -.hljs-comment, -.hljs-annotation, -.hljs-blockquote, -.hljs-horizontal_rule, -.hljs-decorator, -.hljs-pi, -.hljs-deletion, -.hljs-shebang, -.apache .hljs-sqbracket, -.tex .hljs-formula { - color: #818e96; -} - -.hljs-keyword, -.hljs-literal, -.css .hljs-id, -.hljs-doctag, -.hljs-title, -.hljs-header, -.hljs-type, -.vbscript .hljs-built_in, -.rsl .hljs-built_in, -.smalltalk .hljs-class, -.diff .hljs-header, -.hljs-chunk, -.hljs-winutils, -.bash .hljs-variable, -.apache .hljs-tag, -.tex .hljs-special, -.hljs-request, -.hljs-at_rule .hljs-keyword, -.hljs-status { - font-weight: bold; -} - -.coffeescript .javascript, -.javascript .xml, -.tex .hljs-formula, -.xml .javascript, -.xml .vbscript, -.xml .css, -.xml .hljs-cdata { - opacity: 0.5; -} diff --git a/docs/pub/css/print.css b/docs/pub/css/print.css deleted file mode 100644 index a30e0e1d..00000000 --- a/docs/pub/css/print.css +++ /dev/null @@ -1,495 +0,0 @@ -/*! normalize.css v3.0.2 | MIT License | git.io/normalize */ -/** - * 1. Set default font family to sans-serif. - * 2. Prevent iOS text size adjust after orientation change, without disabling - * user zoom. - */ -html { - font-family: sans-serif; - /* 1 */ - -ms-text-size-adjust: 100%; - /* 2 */ - -webkit-text-size-adjust: 100%; - /* 2 */ } - -/** - * Remove default margin. - */ -body { - margin: 0; } - -/* HTML5 display definitions - ========================================================================== */ -/** - * Correct `block` display not defined for any HTML5 element in IE 8/9. - * Correct `block` display not defined for `details` or `summary` in IE 10/11 - * and Firefox. - * Correct `block` display not defined for `main` in IE 11. - */ -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -main, -menu, -nav, -section, -summary { - display: block; } - -/** - * 1. Correct `inline-block` display not defined in IE 8/9. - * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. - */ -audio, -canvas, -progress, -video { - display: inline-block; - /* 1 */ - vertical-align: baseline; - /* 2 */ } - -/** - * Prevent modern browsers from displaying `audio` without controls. - * Remove excess height in iOS 5 devices. - */ -audio:not([controls]) { - display: none; - height: 0; } - -/** - * Address `[hidden]` styling not present in IE 8/9/10. - * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22. - */ -[hidden], -template { - display: none; } - -/* Links - ========================================================================== */ -/** - * Remove the gray background color from active links in IE 10. - */ -a { - background-color: transparent; } - -/** - * Improve readability when focused and also mouse hovered in all browsers. - */ -a:active, -a:hover { - outline: 0; } - -/* Text-level semantics - ========================================================================== */ -/** - * Address styling not present in IE 8/9/10/11, Safari, and Chrome. - */ -abbr[title] { - border-bottom: 1px dotted; } - -/** - * Address style set to `bolder` in Firefox 4+, Safari, and Chrome. - */ -b, -strong { - font-weight: bold; } - -/** - * Address styling not present in Safari and Chrome. - */ -dfn { - font-style: italic; } - -/** - * Address variable `h1` font-size and margin within `section` and `article` - * contexts in Firefox 4+, Safari, and Chrome. - */ -h1 { - font-size: 2em; - margin: 0.67em 0; } - -/** - * Address styling not present in IE 8/9. - */ -mark { - background: #ff0; - color: #000; } - -/** - * Address inconsistent and variable font size in all browsers. - */ -small { - font-size: 80%; } - -/** - * Prevent `sub` and `sup` affecting `line-height` in all browsers. - */ -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; } - -sup { - top: -0.5em; } - -sub { - bottom: -0.25em; } - -/* Embedded content - ========================================================================== */ -/** - * Remove border when inside `a` element in IE 8/9/10. - */ -img { - border: 0; } - -/** - * Correct overflow not hidden in IE 9/10/11. - */ -svg:not(:root) { - overflow: hidden; } - -/* Grouping content - ========================================================================== */ -/** - * Address margin not present in IE 8/9 and Safari. - */ -figure { - margin: 1em 40px; } - -/** - * Address differences between Firefox and other browsers. - */ -hr { - -moz-box-sizing: content-box; - box-sizing: content-box; - height: 0; } - -/** - * Contain overflow in all browsers. - */ -pre { - overflow: auto; } - -/** - * Address odd `em`-unit font size rendering in all browsers. - */ -code, -kbd, -pre, -samp { - font-family: monospace, monospace; - font-size: 1em; } - -/* Forms - ========================================================================== */ -/** - * Known limitation: by default, Chrome and Safari on OS X allow very limited - * styling of `select`, unless a `border` property is set. - */ -/** - * 1. Correct color not being inherited. - * Known issue: affects color of disabled elements. - * 2. Correct font properties not being inherited. - * 3. Address margins set differently in Firefox 4+, Safari, and Chrome. - */ -button, -input, -optgroup, -select, -textarea { - color: inherit; - /* 1 */ - font: inherit; - /* 2 */ - margin: 0; - /* 3 */ } - -/** - * Address `overflow` set to `hidden` in IE 8/9/10/11. - */ -button { - overflow: visible; } - -/** - * Address inconsistent `text-transform` inheritance for `button` and `select`. - * All other form control elements do not inherit `text-transform` values. - * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. - * Correct `select` style inheritance in Firefox. - */ -button, -select { - text-transform: none; } - -/** - * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` - * and `video` controls. - * 2. Correct inability to style clickable `input` types in iOS. - * 3. Improve usability and consistency of cursor style between image-type - * `input` and others. - */ -button, -html input[type="button"], -input[type="reset"], -input[type="submit"] { - -webkit-appearance: button; - /* 2 */ - cursor: pointer; - /* 3 */ } - -/** - * Re-set default cursor for disabled elements. - */ -button[disabled], -html input[disabled] { - cursor: default; } - -/** - * Remove inner padding and border in Firefox 4+. - */ -button::-moz-focus-inner, -input::-moz-focus-inner { - border: 0; - padding: 0; } - -/** - * Address Firefox 4+ setting `line-height` on `input` using `!important` in - * the UA stylesheet. - */ -input { - line-height: normal; } - -/** - * It's recommended that you don't attempt to style these elements. - * Firefox's implementation doesn't respect box-sizing, padding, or width. - * - * 1. Address box sizing set to `content-box` in IE 8/9/10. - * 2. Remove excess padding in IE 8/9/10. - */ -input[type="checkbox"], -input[type="radio"] { - box-sizing: border-box; - /* 1 */ - padding: 0; - /* 2 */ } - -/** - * Fix the cursor style for Chrome's increment/decrement buttons. For certain - * `font-size` values of the `input`, it causes the cursor style of the - * decrement button to change from `default` to `text`. - */ -input[type="number"]::-webkit-inner-spin-button, -input[type="number"]::-webkit-outer-spin-button { - height: auto; } - -/** - * 1. Address `appearance` set to `searchfield` in Safari and Chrome. - * 2. Address `box-sizing` set to `border-box` in Safari and Chrome - * (include `-moz` to future-proof). - */ -input[type="search"] { - -webkit-appearance: textfield; - /* 1 */ - -moz-box-sizing: content-box; - -webkit-box-sizing: content-box; - /* 2 */ - box-sizing: content-box; } - -/** - * Remove inner padding and search cancel button in Safari and Chrome on OS X. - * Safari (but not Chrome) clips the cancel button when the search input has - * padding (and `textfield` appearance). - */ -input[type="search"]::-webkit-search-cancel-button, -input[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; } - -/** - * Define consistent border, margin, and padding. - */ -fieldset { - border: 1px solid #c0c0c0; - margin: 0 2px; - padding: 0.35em 0.625em 0.75em; } - -/** - * 1. Correct `color` not being inherited in IE 8/9/10/11. - * 2. Remove padding so people aren't caught out if they zero out fieldsets. - */ -legend { - border: 0; - /* 1 */ - padding: 0; - /* 2 */ } - -/** - * Remove default vertical scrollbar in IE 8/9/10/11. - */ -textarea { - overflow: auto; } - -/** - * Don't inherit the `font-weight` (applied by a rule above). - * NOTE: the default cannot safely be changed in Chrome and Safari on OS X. - */ -optgroup { - font-weight: bold; } - -/* Tables - ========================================================================== */ -/** - * Remove most spacing between table cells. - */ -table { - border-collapse: collapse; - border-spacing: 0; } - -td, -th { - padding: 0; } - -/* -Copyright 2008-2013 Concur Technologies, Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); you may -not use this file except in compliance with the License. You may obtain -a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -License for the specific language governing permissions and limitations -under the License. -*/ -.content h1, .content h2, .content h3, .content h4, body { - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; - font-size: 14px; } - -.content h1, .content h2, .content h3, .content h4 { - font-weight: bold; } - -.content pre, .content code { - font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, serif; - font-size: 12px; - line-height: 1.5; } - -.content pre, .content code { - word-break: break-all; - hyphens: auto; } - -@font-face { - font-family: 'slate'; - src: url('../../source/fonts/slate.eot?-syv14m'); - src: url('../../source/fonts/slate.eot?#iefix-syv14m') format("embedded-opentype"), url('../../source/fonts/slate.woff2?-syv14m') format("woff2"), url('../../source/fonts/slate.woff?-syv14m') format("woff"), url('../../source/fonts/slate.ttf?-syv14m') format("truetype"), url('../../source/fonts/slate.svg?-syv14m#slate') format("svg"); - font-weight: normal; - font-style: normal; } - -.content aside.warning:before, .content aside.notice:before, .content aside.success:before { - font-family: 'slate'; - speak: none; - font-style: normal; - font-weight: normal; - font-variant: normal; - text-transform: none; - line-height: 1; } - -.content aside.warning:before { - content: "\e600"; } - -.content aside.notice:before { - content: "\e602"; } - -.content aside.success:before { - content: "\e606"; } - -/* -Copyright 2008-2013 Concur Technologies, Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); you may -not use this file except in compliance with the License. You may obtain -a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -License for the specific language governing permissions and limitations -under the License. -*/ -.tocify, .toc-footer, .lang-selector, .search, #nav-button { - display: none; } - -.tocify-wrapper > img { - margin: 0 auto; - display: block; } - -.content { - font-size: 12px; } - .content pre, .content code { - border: 1px solid #999; - border-radius: 5px; - font-size: 0.8em; } - .content pre code { - border: 0; } - .content pre { - padding: 1.3em; } - .content code { - padding: 0.2em; } - .content table { - border: 1px solid #999; } - .content table tr { - border-bottom: 1px solid #999; } - .content table td, .content table th { - padding: 0.7em; } - .content p { - line-height: 1.5; } - .content a { - text-decoration: none; - color: #000; } - .content h1 { - font-size: 2.5em; - padding-top: 0.5em; - padding-bottom: 0.5em; - margin-top: 1em; - margin-bottom: 21px; - border: 2px solid #ccc; - border-width: 2px 0; - text-align: center; } - .content h2 { - font-size: 1.8em; - margin-top: 2em; - border-top: 2px solid #ccc; - padding-top: 0.8em; } - .content h1 + h2, .content h1 + div + h2 { - border-top: none; - padding-top: 0; - margin-top: 0; } - .content h3, .content h4 { - font-size: 0.8em; - margin-top: 1.5em; - margin-bottom: 0.8em; - text-transform: uppercase; } - .content h5, .content h6 { - text-transform: uppercase; } - .content aside { - padding: 1em; - border: 1px solid #ccc; - border-radius: 5px; - margin-top: 1.5em; - margin-bottom: 1.5em; - line-height: 1.6; } - .content aside:before { - vertical-align: middle; - padding-right: 0.5em; - font-size: 14px; } diff --git a/docs/pub/css/print_overrides.css b/docs/pub/css/print_overrides.css deleted file mode 100644 index 6a1db44e..00000000 --- a/docs/pub/css/print_overrides.css +++ /dev/null @@ -1 +0,0 @@ -/* place your custom CSS overrides here */ diff --git a/docs/pub/css/screen.css b/docs/pub/css/screen.css deleted file mode 100644 index 1497c56f..00000000 --- a/docs/pub/css/screen.css +++ /dev/null @@ -1,797 +0,0 @@ -/*! normalize.css v3.0.2 | MIT License | git.io/normalize */ -/** - * 1. Set default font family to sans-serif. - * 2. Prevent iOS text size adjust after orientation change, without disabling - * user zoom. - */ -html { - font-family: sans-serif; - /* 1 */ - -ms-text-size-adjust: 100%; - /* 2 */ - -webkit-text-size-adjust: 100%; - /* 2 */ } - -/** - * Remove default margin. - */ -body { - margin: 0; } - -/* HTML5 display definitions - ========================================================================== */ -/** - * Correct `block` display not defined for any HTML5 element in IE 8/9. - * Correct `block` display not defined for `details` or `summary` in IE 10/11 - * and Firefox. - * Correct `block` display not defined for `main` in IE 11. - */ -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -main, -menu, -nav, -section, -summary { - display: block; } - -/** - * 1. Correct `inline-block` display not defined in IE 8/9. - * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. - */ -audio, -canvas, -progress, -video { - display: inline-block; - /* 1 */ - vertical-align: baseline; - /* 2 */ } - -/** - * Prevent modern browsers from displaying `audio` without controls. - * Remove excess height in iOS 5 devices. - */ -audio:not([controls]) { - display: none; - height: 0; } - -/** - * Address `[hidden]` styling not present in IE 8/9/10. - * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22. - */ -[hidden], -template { - display: none; } - -/* Links - ========================================================================== */ -/** - * Remove the gray background color from active links in IE 10. - */ -a { - background-color: transparent; } - -/** - * Improve readability when focused and also mouse hovered in all browsers. - */ -a:active, -a:hover { - outline: 0; } - -/* Text-level semantics - ========================================================================== */ -/** - * Address styling not present in IE 8/9/10/11, Safari, and Chrome. - */ -abbr[title] { - border-bottom: 1px dotted; } - -/** - * Address style set to `bolder` in Firefox 4+, Safari, and Chrome. - */ -b, -strong { - font-weight: bold; } - -/** - * Address styling not present in Safari and Chrome. - */ -dfn { - font-style: italic; } - -/** - * Address variable `h1` font-size and margin within `section` and `article` - * contexts in Firefox 4+, Safari, and Chrome. - */ -h1 { - font-size: 2em; - margin: 0.67em 0; } - -/** - * Address styling not present in IE 8/9. - */ -mark { - background: #ff0; - color: #000; } - -/** - * Address inconsistent and variable font size in all browsers. - */ -small { - font-size: 80%; } - -/** - * Prevent `sub` and `sup` affecting `line-height` in all browsers. - */ -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; } - -sup { - top: -0.5em; } - -sub { - bottom: -0.25em; } - -/* Embedded content - ========================================================================== */ -/** - * Remove border when inside `a` element in IE 8/9/10. - */ -img { - border: 0; } - -/** - * Correct overflow not hidden in IE 9/10/11. - */ -svg:not(:root) { - overflow: hidden; } - -/* Grouping content - ========================================================================== */ -/** - * Address margin not present in IE 8/9 and Safari. - */ -figure { - margin: 1em 40px; } - -/** - * Address differences between Firefox and other browsers. - */ -hr { - -moz-box-sizing: content-box; - box-sizing: content-box; - height: 0; } - -/** - * Contain overflow in all browsers. - */ -pre { - overflow: auto; } - -/** - * Address odd `em`-unit font size rendering in all browsers. - */ -code, -kbd, -pre, -samp { - font-family: monospace, monospace; - font-size: 1em; } - -/* Forms - ========================================================================== */ -/** - * Known limitation: by default, Chrome and Safari on OS X allow very limited - * styling of `select`, unless a `border` property is set. - */ -/** - * 1. Correct color not being inherited. - * Known issue: affects color of disabled elements. - * 2. Correct font properties not being inherited. - * 3. Address margins set differently in Firefox 4+, Safari, and Chrome. - */ -button, -input, -optgroup, -select, -textarea { - color: inherit; - /* 1 */ - font: inherit; - /* 2 */ - margin: 0; - /* 3 */ } - -/** - * Address `overflow` set to `hidden` in IE 8/9/10/11. - */ -button { - overflow: visible; } - -/** - * Address inconsistent `text-transform` inheritance for `button` and `select`. - * All other form control elements do not inherit `text-transform` values. - * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. - * Correct `select` style inheritance in Firefox. - */ -button, -select { - text-transform: none; } - -/** - * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` - * and `video` controls. - * 2. Correct inability to style clickable `input` types in iOS. - * 3. Improve usability and consistency of cursor style between image-type - * `input` and others. - */ -button, -html input[type="button"], -input[type="reset"], -input[type="submit"] { - -webkit-appearance: button; - /* 2 */ - cursor: pointer; - /* 3 */ } - -/** - * Re-set default cursor for disabled elements. - */ -button[disabled], -html input[disabled] { - cursor: default; } - -/** - * Remove inner padding and border in Firefox 4+. - */ -button::-moz-focus-inner, -input::-moz-focus-inner { - border: 0; - padding: 0; } - -/** - * Address Firefox 4+ setting `line-height` on `input` using `!important` in - * the UA stylesheet. - */ -input { - line-height: normal; } - -/** - * It's recommended that you don't attempt to style these elements. - * Firefox's implementation doesn't respect box-sizing, padding, or width. - * - * 1. Address box sizing set to `content-box` in IE 8/9/10. - * 2. Remove excess padding in IE 8/9/10. - */ -input[type="checkbox"], -input[type="radio"] { - box-sizing: border-box; - /* 1 */ - padding: 0; - /* 2 */ } - -/** - * Fix the cursor style for Chrome's increment/decrement buttons. For certain - * `font-size` values of the `input`, it causes the cursor style of the - * decrement button to change from `default` to `text`. - */ -input[type="number"]::-webkit-inner-spin-button, -input[type="number"]::-webkit-outer-spin-button { - height: auto; } - -/** - * 1. Address `appearance` set to `searchfield` in Safari and Chrome. - * 2. Address `box-sizing` set to `border-box` in Safari and Chrome - * (include `-moz` to future-proof). - */ -input[type="search"] { - -webkit-appearance: textfield; - /* 1 */ - -moz-box-sizing: content-box; - -webkit-box-sizing: content-box; - /* 2 */ - box-sizing: content-box; } - -/** - * Remove inner padding and search cancel button in Safari and Chrome on OS X. - * Safari (but not Chrome) clips the cancel button when the search input has - * padding (and `textfield` appearance). - */ -input[type="search"]::-webkit-search-cancel-button, -input[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; } - -/** - * Define consistent border, margin, and padding. - */ -fieldset { - border: 1px solid #c0c0c0; - margin: 0 2px; - padding: 0.35em 0.625em 0.75em; } - -/** - * 1. Correct `color` not being inherited in IE 8/9/10/11. - * 2. Remove padding so people aren't caught out if they zero out fieldsets. - */ -legend { - border: 0; - /* 1 */ - padding: 0; - /* 2 */ } - -/** - * Remove default vertical scrollbar in IE 8/9/10/11. - */ -textarea { - overflow: auto; } - -/** - * Don't inherit the `font-weight` (applied by a rule above). - * NOTE: the default cannot safely be changed in Chrome and Safari on OS X. - */ -optgroup { - font-weight: bold; } - -/* Tables - ========================================================================== */ -/** - * Remove most spacing between table cells. - */ -table { - border-collapse: collapse; - border-spacing: 0; } - -td, -th { - padding: 0; } - -/* -Copyright 2008-2013 Concur Technologies, Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); you may -not use this file except in compliance with the License. You may obtain -a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -License for the specific language governing permissions and limitations -under the License. -*/ -.content h1, .content h2, .content h3, .content h4, .content h5, .content h6, html, body { - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; - font-size: 14px; } - -.content h1, .content h2, .content h3, .content h4, .content h5, .content h6 { - font-weight: bold; } - -.content code, .content pre { - font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, serif; - font-size: 12px; - line-height: 1.5; } - -.content code { - word-break: break-all; - hyphens: auto; } - -@font-face { - font-family: 'slate'; - src: url('../../source/fonts/slate.eot?-syv14m'); - src: url('../../source/fonts/slate.eot?#iefix-syv14m') format("embedded-opentype"), url('../../source/fonts/slate.woff2?-syv14m') format("woff2"), url('../../source/fonts/slate.woff?-syv14m') format("woff"), url('../../source/fonts/slate.ttf?-syv14m') format("truetype"), url('../../source/fonts/slate.svg?-syv14m#slate') format("svg"); - font-weight: normal; - font-style: normal; } - -.content aside.warning:before, .content aside.notice:before, .content aside.success:before, .toc-wrapper > .search:before { - font-family: 'slate'; - speak: none; - font-style: normal; - font-weight: normal; - font-variant: normal; - text-transform: none; - line-height: 1; } - -.content aside.warning:before { - content: "\e600"; } - -.content aside.notice:before { - content: "\e602"; } - -.content aside.success:before { - content: "\e606"; } - -.toc-wrapper > .search:before { - content: "\e607"; } - -/* -Copyright 2008-2013 Concur Technologies, Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); you may -not use this file except in compliance with the License. You may obtain -a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -License for the specific language governing permissions and limitations -under the License. -*/ -html, body { - color: #333; - padding: 0; - margin: 0; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - background-color: #F3F7F9; - height: 100%; - -webkit-text-size-adjust: none; - /* Never autoresize text */ } - -#toc > ul > li > a > span { - float: right; - background-color: #2484FF; - border-radius: 40px; - width: 20px; } - -.toc-wrapper { - transition: left 0.3s ease-in-out; - overflow-y: auto; - overflow-x: hidden; - position: fixed; - z-index: 30; - top: 0; - left: 0; - bottom: 0; - width: 230px; - background-color: #2E3336; - font-size: 13px; - font-weight: bold; } - .toc-wrapper .lang-selector { - display: none; } - .toc-wrapper .lang-selector a { - padding-top: 0.5em; - padding-bottom: 0.5em; } - .toc-wrapper .logo { - display: block; - max-width: 100%; - margin-bottom: 0px; } - .toc-wrapper > .search { - position: relative; } - .toc-wrapper > .search input { - background: #2E3336; - border-width: 0 0 1px 0; - border-color: #666; - padding: 6px 0 6px 20px; - box-sizing: border-box; - margin: 10px 15px; - width: 200px; - outline: none; - color: #fff; - border-radius: 0; - /* ios has a default border radius */ } - .toc-wrapper > .search:before { - position: absolute; - top: 17px; - left: 15px; - color: #fff; } - .toc-wrapper .search-results { - margin-top: 0; - box-sizing: border-box; - height: 0; - overflow-y: auto; - overflow-x: hidden; - transition-property: height, margin; - transition-duration: 180ms; - transition-timing-function: ease-in-out; - background: #1E2224; } - .toc-wrapper .search-results.visible { - height: 30%; - margin-bottom: 1em; } - .toc-wrapper .search-results li { - margin: 1em 15px; - line-height: 1; } - .toc-wrapper .search-results a { - color: #fff; - text-decoration: none; } - .toc-wrapper .search-results a:hover { - text-decoration: underline; } - .toc-wrapper ul, .toc-wrapper li { - list-style: none; - margin: 0; - padding: 0; - line-height: 28px; } - .toc-wrapper li { - color: #fff; - transition-property: background; - transition-timing-function: linear; - transition-duration: 200ms; } - .toc-wrapper .toc-link.active { - background-color: #0F75D4; - color: #fff; } - .toc-wrapper .toc-link.active-parent { - background-color: #1E2224; - color: #fff; } - .toc-wrapper .toc-list-h2 { - display: none; - background-color: #1E2224; - font-weight: 500; } - .toc-wrapper .toc-h2 { - padding-left: 25px; - font-size: 12px; } - .toc-wrapper .toc-footer { - padding: 1em 0; - margin-top: 1em; - border-top: 1px dashed #666; } - .toc-wrapper .toc-footer li, .toc-wrapper .toc-footer a { - color: #fff; - text-decoration: none; } - .toc-wrapper .toc-footer a:hover { - text-decoration: underline; } - .toc-wrapper .toc-footer li { - font-size: 0.8em; - line-height: 1.7; - text-decoration: none; } - -.toc-link, .toc-footer li { - padding: 0 15px 0 15px; - display: block; - overflow-x: hidden; - white-space: nowrap; - text-overflow: ellipsis; - text-decoration: none; - color: #fff; - transition-property: background; - transition-timing-function: linear; - transition-duration: 130ms; } - -#nav-button { - padding: 0 1.5em 5em 0; - display: none; - position: fixed; - top: 0; - left: 0; - z-index: 100; - color: #000; - text-decoration: none; - font-weight: bold; - opacity: 0.7; - line-height: 16px; - transition: left 0.3s ease-in-out; } - #nav-button span { - display: block; - padding: 6px 6px 6px; - background-color: rgba(243, 247, 249, 0.7); - transform-origin: 0 0; - transform: rotate(-90deg) translate(-100%, 0); - border-radius: 0 0 0 5px; } - #nav-button img { - height: 16px; - vertical-align: bottom; } - #nav-button:hover { - opacity: 1; } - #nav-button.open { - left: 230px; } - -.page-wrapper { - margin-left: 230px; - position: relative; - z-index: 10; - background-color: #F3F7F9; - min-height: 100%; - padding-bottom: 1px; } - .page-wrapper .dark-box { - width: 50%; - background-color: #2E3336; - position: absolute; - right: 0; - top: 0; - bottom: 0; } - .page-wrapper .lang-selector { - position: fixed; - z-index: 50; - border-bottom: 5px solid #2E3336; } - -.lang-selector { - background-color: #1E2224; - width: 100%; - font-weight: bold; } - .lang-selector a { - display: block; - float: left; - color: #fff; - text-decoration: none; - padding: 0 10px; - line-height: 30px; - outline: 0; } - .lang-selector a:active, .lang-selector a:focus { - background-color: #111; - color: #fff; } - .lang-selector a.active { - background-color: #2E3336; - color: #fff; } - .lang-selector:after { - content: ''; - clear: both; - display: block; } - -.content { - -webkit-transform: translateZ(0); - position: relative; - z-index: 30; } - .content:after { - content: ''; - display: block; - clear: both; } - .content > h1, .content > h2, .content > h3, .content > h4, .content > h5, .content > h6, .content > p, .content > table, .content > ul, .content > ol, .content > aside, .content > dl { - margin-right: 50%; - padding: 0 28px; - box-sizing: border-box; - display: block; } - .content > ul, .content > ol { - padding-left: 43px; } - .content > h1, .content > h2, .content > div { - clear: both; } - .content h1 { - font-size: 25px; - padding-top: 0.5em; - padding-bottom: 0.5em; - margin-bottom: 21px; - margin-top: 2em; - border-top: 1px solid #ccc; - border-bottom: 1px solid #ccc; - background-color: #fdfdfd; } - .content h1:first-child, .content div:first-child + h1 { - border-top-width: 0; - margin-top: 0; } - .content h2 { - font-size: 19px; - margin-top: 4em; - margin-bottom: 0; - border-top: 1px solid #ccc; - padding-top: 1.2em; - padding-bottom: 1.2em; - background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)); } - .content h1 + h2, .content h1 + div + h2 { - margin-top: -21px; - border-top: none; } - .content h3, .content h4, .content h5, .content h6 { - font-size: 15px; - margin-top: 2.5em; - margin-bottom: 0.8em; } - .content h4, .content h5, .content h6 { - font-size: 10px; } - .content hr { - margin: 2em 0; - border-top: 2px solid #2E3336; - border-bottom: 2px solid #F3F7F9; } - .content table { - margin-bottom: 1em; - overflow: auto; } - .content table th, .content table td { - text-align: left; - vertical-align: top; - line-height: 1.6; } - .content table th code, .content table td code { - white-space: nowrap; } - .content table th { - padding: 5px 10px; - border-bottom: 1px solid #ccc; - vertical-align: bottom; } - .content table td { - padding: 10px; } - .content table tr:last-child { - border-bottom: 1px solid #ccc; } - .content table tr:nth-child(odd) > td { - background-color: white; } - .content table tr:nth-child(even) > td { - background-color: #fbfcfd; } - .content dt { - font-weight: bold; } - .content dd { - margin-left: 15px; } - .content p, .content li, .content dt, .content dd { - line-height: 1.6; - margin-top: 0; } - .content img { - max-width: 100%; } - .content code { - background-color: rgba(0, 0, 0, 0.05); - padding: 3px; - border-radius: 3px; } - .content pre > code { - background-color: transparent; - padding: 0; } - .content aside { - padding-top: 1em; - padding-bottom: 1em; - margin-top: 1.5em; - margin-bottom: 1.5em; - background: #8fbcd4; - line-height: 1.6; } - .content aside.warning { - background-color: #c97a7e; } - .content aside.success { - background-color: #6ac174; } - .content aside:before { - vertical-align: middle; - padding-right: 0.5em; - font-size: 14px; } - .content .search-highlight { - padding: 2px; - margin: -3px; - border-radius: 4px; - border: 1px solid #F7E633; - background: linear-gradient(to top left, #F7E633 0%, #F1D32F 100%); } - -.content pre, .content blockquote { - background-color: #1E2224; - color: #fff; - margin: 0; - width: 50%; - float: right; - clear: right; - box-sizing: border-box; } - .content pre > p, .content blockquote > p { - margin: 0; } - .content pre a, .content blockquote a { - color: #fff; - text-decoration: none; - border-bottom: dashed 1px #ccc; } - -.content pre { - padding-top: 2em; - padding-bottom: 2em; - padding: 2em 28px; } - -.content blockquote > p { - background-color: #191D1F; - padding: 13px 2em; - color: #eee; } - -@media (max-width: 930px) { - .toc-wrapper { - left: -230px; } - .toc-wrapper.open { - left: 0; } - .page-wrapper { - margin-left: 0; } - #nav-button { - display: block; } - .toc-link { - padding-top: 0.3em; - padding-bottom: 0.3em; } } - -@media (max-width: 700px) { - .dark-box { - display: none; } - .content > h1, .content > h2, .content > h3, .content > h4, .content > h5, .content > h6, .content > p, .content > table, .content > ul, .content > ol, .content > aside, .content > dl { - margin-right: 0; } - .toc-wrapper .lang-selector { - display: block; } - .page-wrapper .lang-selector { - display: none; } - .content pre, .content blockquote { - width: auto; - float: none; } - .content > pre + h1, .content > blockquote + h1, .content > pre + h2, .content > blockquote + h2, .content > pre + h3, .content > blockquote + h3, .content > pre + h4, .content > blockquote + h4, .content > pre + h5, .content > blockquote + h5, .content > pre + h6, .content > blockquote + h6, .content > pre + p, .content > blockquote + p, .content > pre + table, .content > blockquote + table, .content > pre + ul, .content > blockquote + ul, .content > pre + ol, .content > blockquote + ol, .content > pre + aside, .content > blockquote + aside, .content > pre + dl, .content > blockquote + dl { - margin-top: 28px; } } - -.highlight .c, .highlight .cm, .highlight .c1, .highlight .cs { - color: #909090; } - -.highlight, .highlight .w { - background-color: #1E2224; } diff --git a/docs/pub/css/screen_overrides.css b/docs/pub/css/screen_overrides.css deleted file mode 100644 index 3c4c8f8d..00000000 --- a/docs/pub/css/screen_overrides.css +++ /dev/null @@ -1,43 +0,0 @@ -/* place your custom CSS overrides here */ - -div .highlight { - max-width: 95%; - max-height: 350px; - overflow-y: auto; - overflow-x: hidden; -} -.toc-list-h3 { - display: none; - background-color: #1E2224; -} -.toc-h3 { - padding-left: 35px; - font-size: 11px; -} -.toc-list-h4 { - display: none; - background-color: #1E2224; -} -.toc-h4 { - padding-left: 45px; - font-size: 10px; -} -.toc-list-h5 { - display: none; - background-color: #1E2224; -} -.toc-h5 { - padding-left: 55px; - font-size: 9px; -} -.toc-list-h6 { - display: none; - background-color: #1E2224; -} -.toc-h6 { - padding-left: 65px; - font-size: 8px; -} -.well { - background: rgba(0, 0, 0, 0.01); -} diff --git a/docs/pub/css/theme_overrides.css b/docs/pub/css/theme_overrides.css deleted file mode 100644 index 6a1db44e..00000000 --- a/docs/pub/css/theme_overrides.css +++ /dev/null @@ -1 +0,0 @@ -/* place your custom CSS overrides here */ diff --git a/docs/pub/css/tradegecko.min.css b/docs/pub/css/tradegecko.min.css deleted file mode 100644 index 895585cc..00000000 --- a/docs/pub/css/tradegecko.min.css +++ /dev/null @@ -1 +0,0 @@ -@import url("//fonts.googleapis.com/css?family=Open+Sans:400,600,700");@import url("//fonts.googleapis.com/css?family=Raleway:300,500,700");/*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}html,body,.content aside:before{font-size:14px}.tocify-wrapper,.tocify-wrapper .tocify-subheader .tocify-item>a,.faux-toc-link{font-size:13px;font-weight:600}.content code,.content pre,.tocify-wrapper .toc-footer li{font-size:12px}.private,.deprecated{font-size:10px;font-weight:600;text-transform:uppercase}html,body{font-family:"Open Sans", "Helvetica Neue", Helvetica, Arial, "Microsoft Yahei","微软雅黑", STXihei, "华文细黑", sans-serif}.content h1,.content h2,.content h3,.content h4,.content h5,.content h6{font-family:"Raleway", "Helvetica Neue", Helvetica, Arial, "Microsoft Yahei","微软雅黑", STXihei, "华文细黑", sans-serif;font-weight:300}.content code,.content pre{font-family:Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, serif;line-height:1.5;color:#f6574d}.content code{word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto}@font-face{font-family:'slate';src:url(/fonts/slate.eot?-syv14m);src:url(../fonts/slate.eot?#iefix-syv14m) format("embedded-opentype"),url(../fonts/slate.woff2?-syv14m) format("woff2"),url(../fonts/slate.woff?-syv14m) format("woff"),url(../fonts/slate.ttf?-syv14m) format("truetype"),url(../fonts/slate.svg?-syv14m#slate) format("svg");font-weight:normal;font-style:normal}.content aside.warning:before,.content aside.notice:before,.content aside.success:before,.tocify-wrapper>.search:before{font-family:'slate';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1}.content aside.warning:before{content:"\e600"}.content aside.notice:before{content:"\e602"}.content aside.success:before{content:"\e606"}.tocify-wrapper>.search:before{content:"\e607"}html,body{color:#2d3033;padding:0;margin:0;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:rgba(244,244,245,0.5);height:100%;-webkit-text-size-adjust:none}#toc>ul>li>a>span{float:right;background-color:#2484FF;border-radius:40px;width:20px}.tocify-wrapper{transition:left 0.3s ease-in-out;overflow-y:auto;overflow-x:hidden;position:fixed;z-index:30;top:0;left:0;bottom:0;width:230px;background-color:#ffffff;padding:10px;box-sizing:border-box}.tocify-wrapper .lang-selector{display:none}.tocify-wrapper .lang-selector a{padding-top:0.5em;padding-bottom:0.5em}.tocify-wrapper>img{display:block;max-width:100%}.tocify-wrapper>.search{position:relative;margin:10px 0}.tocify-wrapper>.search input{background:rgba(244,244,245,0.5);padding:10px 0 10px 30px;box-sizing:border-box;width:210px;border:0;outline:none;border-radius:3px;color:#6c7279}.tocify-wrapper>.search:before{position:absolute;top:13px;left:10px;color:#6c7279}.tocify-wrapper img+.tocify{margin-top:20px}.tocify-wrapper .search-results{margin-top:0;box-sizing:border-box;height:0;overflow-y:auto;overflow-x:hidden;transition-property:height, margin;transition-duration:180ms;transition-timing-function:ease-in-out;background-color:rgba(244,244,245,0.5)}.tocify-wrapper .search-results.visible{height:30%;margin-bottom:1em}.tocify-wrapper .search-results li{margin:1em 10px}.tocify-wrapper .search-results a{color:#6c7279;text-decoration:none}.tocify-wrapper .search-results a:hover{text-decoration:none;color:#2d3033}.tocify-wrapper .tocify-item>a,.tocify-wrapper .toc-footer li{padding:10px 0;display:block;overflow-x:hidden}.tocify-wrapper ul,.tocify-wrapper li{list-style:none;margin:0;padding:0}.tocify-wrapper li{color:#6c7279;padding:0 0 0 10px;transition-property:background;transition-timing-function:linear;transition-duration:230ms}.tocify-wrapper li a{color:#6c7279;text-decoration:none}.tocify-wrapper .tocify-focus{background-color:rgba(244,244,245,0.5);color:#2d3033;border-radius:3px}.tocify-wrapper .tocify-subheader{display:none;background-color:#fff;font-weight:500}.tocify-wrapper .tocify-subheader .tocify-item>a{padding-left:20px}.tocify-wrapper .toc-footer{padding:10px;margin-top:1em;border-top:1px dotted #e2e6e8}.tocify-wrapper .toc-footer li,.tocify-wrapper .toc-footer a{color:#a4aeb3;text-decoration:none}.tocify-wrapper .toc-footer a:hover{text-decoration:none}.tocify-wrapper .toc-footer li{text-decoration:none}#nav-button{padding:0 1.5em 5em 0;display:none;position:fixed;top:0;left:0;z-index:100;color:#2d3033;text-decoration:none;font-weight:bold;line-height:16px;transition:left 0.3s ease-in-out}#nav-button span{display:block;margin-top:5px;padding:10px;background-color:#2d3033;border-radius:0 3px 3px 0}#nav-button img{height:16px;vertical-align:bottom}#nav-button.open{left:230px}.page-wrapper{margin-left:230px;position:relative;z-index:10;background-color:rgba(244,244,245,0.5);min-height:100%;padding-bottom:1px}.page-wrapper .dark-box{width:50%;background-color:#2b4c56;position:absolute;right:0;top:0;bottom:0}.page-wrapper .lang-selector{position:fixed;z-index:50;padding:1em 28px;background-color:#244048}.lang-selector{background-color:#244048;border-radius:3px;width:100%}.lang-selector a{display:block;float:left;color:#ffffff;text-decoration:none;padding:0 10px;line-height:30px;outline:0}.lang-selector a:active,.lang-selector a:focus{background-color:#244048;color:#ffffff;border-radius:3px}.lang-selector a.active{background-color:#f6574d;color:#ffffff;border-radius:3px;font-weight:600}.lang-selector:after{content:'';clear:both;display:block}.content{position:relative;z-index:30}.content:after{content:'';display:block;clear:both}.content>h1,.content>h2,.content>h3,.content>h4,.content>h5,.content>h6,.content>p,.content>table,.content>ul,.content>ol,.content>aside,.content>dl{margin-right:50%;padding:0 28px;box-sizing:border-box;display:block}.content>ul,.content>ol{padding-left:43px}.content>h1,.content>h2,.content>div{clear:both}.content h1{font-size:30px;padding-top:1em;padding-bottom:0.5em;margin-bottom:21px;margin-top:2em;border-top:1px solid #e2e6e8}.content h1:first-child,.content div:first-child+h1{border-top-width:0;margin-top:0}.content h2{font-size:24px;margin-bottom:0;padding-top:2em;padding-bottom:.5em}.content h1+h2,.content h1+div+h2{margin-top:-21px;border-top:none}.content h3,.content h4,.content h5,.content h6{font-size:18px;margin-top:2.5em;margin-bottom:0.8em}.content h4,.content h5,.content h6{font-size:10px}.content hr{margin:2em 0;border-top:2px solid #2b4c56;border-bottom:2px solid rgba(244,244,245,0.5)}.content table{margin-bottom:1em;overflow:auto}.content table th,.content table td{text-align:left;vertical-align:top;line-height:1.6}.content table th{padding:5px 10px;border-bottom:1px solid #e2e6e8;vertical-align:bottom}.content table td{padding:10px}.content table tr:last-child{border-bottom:1px solid #e2e6e8}.content table tr:nth-child(odd)>td{background-color:rgba(253,253,253,0.5)}.content table tr:nth-child(even)>td{background-color:rgba(243,243,244,0.5)}.content dt{font-weight:bold}.content dd{margin-left:15px}.content p,.content li,.content dt,.content dd{line-height:1.8;margin-top:0}.content a{font-weight:700;text-decoration:none;color:#70cf32;transition:linear 50ms}.content a:hover{color:#61b729}.content img{max-width:100%}.content code{background-color:rgba(45,48,51,0.05);padding:3px;border-radius:3px}.content pre>code{background-color:transparent;padding:0}.content aside{padding-top:1em;padding-bottom:1em;margin-top:1.5em;margin-bottom:1.5em;line-height:1.6}.content aside:before{vertical-align:middle;padding-right:0.2em}.content aside.notice:before{color:#a4aeb3}.content aside.warning:before{color:#f6574d}.content aside.success:before{color:#70cf32}.content .search-highlight{padding:2px;margin:-2px;border-radius:3px;background-color:rgba(123,227,189,0.3)}.content pre,.content blockquote{background-color:#244048;color:#ffffff;padding:2em 28px;margin:0;width:50%;float:right;clear:right;box-sizing:border-box}.content pre>p,.content blockquote>p{margin:0}.content pre a,.content blockquote a{color:#ffffff;text-decoration:none;border-bottom:1px solid #e2e6e8}.content blockquote>p{background-color:rgba(45,48,51,0.3);border-radius:3px;padding:13px;color:#f4f4f5}@media (max-width: 930px){.content{padding-top:28px}.tocify-wrapper{left:-230px}.tocify-wrapper.open{left:0}.page-wrapper{margin-left:0}#nav-button{display:block}}@media (max-width: 700px){.dark-box{display:none}.content>h1,.content>h2,.content>h3,.content>h4,.content>h5,.content>h6,.content>p,.content>table,.content>ul,.content>ol,.content>aside,.content>dl{margin-right:0}.tocify-wrapper .lang-selector{display:block;margin:10px 0}.page-wrapper .lang-selector{display:none}.content pre,.content blockquote{width:auto;float:none}.content>pre+h1,.content>blockquote+h1,.content>pre+h2,.content>blockquote+h2,.content>pre+h3,.content>blockquote+h3,.content>pre+h4,.content>blockquote+h4,.content>pre+h5,.content>blockquote+h5,.content>pre+h6,.content>blockquote+h6,.content>pre+p,.content>blockquote+p,.content>pre+table,.content>blockquote+table,.content>pre+ul,.content>blockquote+ul,.content>pre+ol,.content>blockquote+ol,.content>pre+aside,.content>blockquote+aside,.content>pre+dl,.content>blockquote+dl{margin-top:28px}}.private,.deprecated{color:#ffffff;background-color:#a4aeb3;border-radius:3px;padding:1px 5px;border-radius:3px}.highlight .c,.highlight .cm,.highlight .c1,.highlight .cs{color:#909090}.highlight,.highlight .w{background-color:#2d3033}.faux-toc-link{padding:10px;text-decoration:none;color:#2d3033} diff --git a/docs/pub/js/.gitignore b/docs/pub/js/.gitignore deleted file mode 100644 index cb4336c5..00000000 --- a/docs/pub/js/.gitignore +++ /dev/null @@ -1 +0,0 @@ -shins.js diff --git a/docs/pub/js/dummy.js b/docs/pub/js/dummy.js deleted file mode 100644 index e69de29b..00000000 diff --git a/docs/semoasa.html b/docs/semoasa.html deleted file mode 100644 index e5605368..00000000 --- a/docs/semoasa.html +++ /dev/null @@ -1,236 +0,0 @@ - - - - - - - - - SEMOASA documentation - - - - - - - - - - - - - - - - - - - - - - - NAV - Navigation - - -
        - - -
        - - - json - - - - yaml - - -
        - - - -
          - - - - - -
          -
          -
          -
          -

          OpenAPI Extensions Documentation

          -
          -

          Scroll down for schema examples. Select a format for examples from the tabs above or the mobile navigation menu.

          -
          -

          This documentation was automatically generated from a v0.1.0 SEMOASA file.

          -

          com.amazon.aws

          -

          Provider: Amazon Web Services

          -

          x-amazon-apigateway-integration

          -
          -

          x-amazon-apigateway-integration example

          -
          -
          {
          -  "cacheKeyParameters": [
          -    "string"
          -  ],
          -  "cacheNamespace": "string",
          -  "credentials": "string",
          -  "contentHandling": "string",
          -  "httpMethod": "string"
          -}
          -
          -
          cacheKeyParameters:
          -  - string
          -cacheNamespace: string
          -credentials: string
          -contentHandling: string
          -httpMethod: string
          -
          -
          -

          Specifies the integration of the method with the backend.

          -

          Specifies details of the backend integration used for this method. -This extension is an extended property of the Swagger Operation object. -The result is an API Gateway integration object.

          -

          AWS documentation page in the Amazon API Gateway Developer Guide

          - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          PropertyTypeRequiredDescription
          cacheNamespacestringfalseAn API-specific tag group of related cached parameters.
          credentialsstringfalseFor AWS IAM role-based credentials, specify the ARN of an appropriate IAM role. If unspecified, credentials will default to resource-based permissions that must be added manually to allow the API to access the resource. For more information, see Granting Permissions Using a Resource Policy.
          contentHandlingstringfalseRequest payload encoding conversion types. Valid values are 1) CONVERT_TO_TEXT, for converting a binary payload into a Base64-encoded string or converting a text payload into a utf-8-encoded string or passing through the text payload natively without modification, and 2) CONVERT_TO_BINARY, for converting a text payload into Base64-decoded blob or passing through a binary payload natively without modification.
          httpMethodstringfalseThe HTTP method used in the integration request. For Lambda function invocations, the value must be POST.
          cacheKeyParameters[string]falseA list of request parameters whose values are to be cached.
          -

          In the OpenAPI specification v2.0, this extension can be used as follows:

          - - - - - - - - - - - - - - -
          ObjectDescription
          OperationObjectDescribes a single API operation on a path.
          -

          In the OpenAPI specification v3.x, this extension can be used as follows:

          - - - - - - - - - - - - - - -
          ObjectDescription
          OperationObjectDescribes a single API operation on a path.
          - - -
          -
          - -
          - - - json - - - - yaml - - -
          - -
          -
          - - diff --git a/docs/shins.js b/docs/shins.js deleted file mode 100755 index 2cf083dd..00000000 --- a/docs/shins.js +++ /dev/null @@ -1,57 +0,0 @@ -#!/usr/bin/env node -// @ts-check - -'use strict'; - -const fs = require('fs'); -const path = require('path'); -const options = require('tiny-opts-parser')(process.argv); -const shins = require('./index.js'); - -if (options.customcss) options.customCss = options.customcss; // backwards compatibility - -var inputName = './source/index.html.md'; - -if (options._.length > 2) { - inputName = options._[2]; -} - -if (options.h) options.help = options.h; -if (options.a) options.attr = options.a; -if (options.l) options.layout = options.l; -if (options.o) options.output = options.o; -if (options.r) options.root = options.r; - -if (options.help) { - console.log('Usage: node shins [options] [input-markdown-filename]'); - console.log(); - console.log('-h,--help show help and exit'); - console.log('-a,--attr allow css attributes in markdown'); - console.log('--customcss include custom override css files'); - console.log('--fonturl url to fonts when --inline is set, defaults to github repo'); - console.log('--inline inline css and javascript resources'); - console.log('-l,--layout specify path to template file in .ejs format') - console.log('--logo specify path to custom logo file'); - console.log('--logo-url url to link to from logo image'); - console.log('--css specify path to additional css file') - console.log('--minify minify output html'); - console.log('-o,--output specify output html file'); - console.log('-r,--root specify root directory containing source and pub directories'); - console.log('--unsafe do not sanitise input markdown'); - console.log('--no-links do not automatically convert links in text to anchor tags'); - process.exit(0); -} - -var inputStr = fs.readFileSync(inputName,'utf8'); -options.source = inputName; -options.cli = true; - -shins.render(inputStr,options,function(err,str){ - if (err) { - console.log(err); - } - else { - str = str.split('\r').join(''); - fs.writeFileSync(options.output||path.join(options.root,'index.html'),str,'utf8'); - } -}); diff --git a/docs/source/apisguru.html.md b/docs/source/apisguru.html.md deleted file mode 100644 index 95b823ed..00000000 --- a/docs/source/apisguru.html.md +++ /dev/null @@ -1,923 +0,0 @@ ---- -title: Semoasa documentation -language_tabs: - - json - - yaml -toc_footers: [] -includes: [] -search: true -highlight_theme: darkula - ---- - -# OpenAPI Extensions Documentation - -> Scroll down for schema examples. Select a format for examples from the tabs above or the mobile navigation menu. - -This documentation was automatically generated from a v0.1.0 [Semoasa](https://github.com/RepreZen/SEMOASA) document. - -Semoasa is a machine-readable format for extensions to Swagger/OpenAPI 2.0 and 3.0 specifications. - - - - -# guru.apis - - - - -Provider: APIs.guru - - - - - -## x-apiClientRegistration -> x-apiClientRegistration example -```json -{ - "url": "https://developer.bbc.co.uk/user/register" -} -``` -```yaml -url: 'https://developer.bbc.co.uk/user/register' - -``` - - - - - -*A link to a sign-up page for the API.* - -A property of the info object, x-apiClientRegistration includes a URL-formatted property url containing the URL to the resource where developers can register to authenticate with the API. - - - - -APIs.guru OpenAPI Directory Wiki - - - - -|Property|Type|Required|Description -|---|---|---|---| -|url|string(uri-ref)|true|No description| - - - -**In the OpenAPI specification v2.0, this extension can be used as follows:** - - - - - -|Object|Description| -|---|---| -|InfoObject|The object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.| - - - - - - - - - - - -**In the OpenAPI specification v3.x, this extension can be used as follows:** - - - - - -|Object|Description| -|---|---| -|InfoObject|The object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.| - - - - - - - - - - - - -## x-apisguru-categories -> x-apisguru-categories example -```json -[ - "string" -] -``` -```yaml -- string - -``` - - - - - - - -A property of the info object, `x-apisguru-categories` is an array of valid values from the list of APIs.guru categories. - - - - -APIs.guru OpenAPI Directory Wiki - - - - -|Property|Type|Required|Description -|---|---|---|---| -|anonymous|[string]|false|No description| - - - -**In the OpenAPI specification v2.0, this extension can be used as follows:** - - - - - -|Object|Description| -|---|---| -|InfoObject|The object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.| - - - - - - - - - - - -**In the OpenAPI specification v3.x, this extension can be used as follows:** - - - - - -|Object|Description| -|---|---| -|InfoObject|The object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.| - - - - - - - - - - - - -## x-description-language -> x-description-language example -```json -"string" -``` -```yaml -string - -``` - - - - - - - -An ISO-639 two-character language code to identify the natural language used in descriptions, summaries and titles. This can be used as an input to translating these items. - - - - - - - -|Property|Type|Required|Description -|---|---|---|---| -|simple|string|false|No description| - - - -**In the OpenAPI specification v2.0, this extension can be used as follows:** - - - - - -|Object|Description| -|---|---| -|InfoObject|The object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.| - - - - - - - - - - - -**In the OpenAPI specification v3.x, this extension can be used as follows:** - - - - - -|Object|Description| -|---|---| -|InfoObject|The object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.| - - - - - - - - - - - - -## x-hasEquivalentPaths -> x-hasEquivalentPaths example -```json -true -``` -```yaml -true - -``` - - - - - - - -A property of the `root` object, `x-hasEquivalentPaths` indicates the source specification has multiple paths which map to the same OpenAPI path (possibly disambiguated with HTML fragment identifiers or differently named path parameters). - - - - - - - -|Property|Type|Required|Description -|---|---|---|---| -|simple|boolean|false|No description| - - - -**In the OpenAPI specification v2.0, this extension can be used as follows:** - - - - - -|Object|Description| -|---|---| -|SwaggerObject|Description not found| - - - - - - - - - - - -**In the OpenAPI specification v3.x, this extension can be used as follows:** - - - - - -|Object|Description| -|---|---| -|OpenAPIObject|Description not found| - - - - - - - - - - - - -## x-logo -> x-logo example -```json -{ - "url": "string", - "backgroundColor": "string" -} -``` -```yaml -url: string -backgroundColor: string - -``` - - - - - -*A logo for the API.* - -A property of the `info` object, the `x-logo` structure holds an absolute URL to the API logo and an optional background colour in HTML hex notation. - - - - - -APIs.guru OpenAPI Directory Wiki - - - - -|Property|Type|Required|Description -|---|---|---|---| -|url|string(uri-ref)|true|No description| -|backgroundColor|string|false|No description| - - - -**In the OpenAPI specification v2.0, this extension can be used as follows:** - - - - - -|Object|Description| -|---|---| -|InfoObject|The object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.| - - - - - - - - - - - -**In the OpenAPI specification v3.x, this extension can be used as follows:** - - - - - -|Object|Description| -|---|---| -|InfoObject|The object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.| - - - - - - - - - - - - -## x-origin -> x-origin example -```json -[ - { - "url": "http://programmes.api.bbc.com/nitro/api", - "contentType": "application/json", - "converter": { - "url": "https://github.com/mermade/bbcparse", - "version": "1.2.0" - } - }, - { - "format": "swagger", - "url": "https://raw.githubusercontent.com/Mermade/bbcparse/master/iblApi/swagger.json", - "version": "2.0" - } -] -``` -```yaml -- url: 'http://programmes.api.bbc.com/nitro/api' - contentType: application/json - converter: - url: 'https://github.com/mermade/bbcparse' - version: 1.2.0 -- format: swagger - url: >- - https://raw.githubusercontent.com/Mermade/bbcparse/master/iblApi/swagger.json - version: '2.0' - -``` - - - - - - - -A property of the `info` object, the `x-origin` structure is used to document the source and format of an API in the collection. It is used to round-trip the process of keeping the APIs updated. - -Please note, if you include an x-origin extension within your API definition APIs.guru will then append to this array if it exists, allowing an audit trail of the source(s) of an API definition. -Valid values for format - - * swagger - * api_blueprint - * raml - * google - -In your own `x-origin` entries you may alternatively use a contentType property instead of a format property. The version property is then optional. - -You may also specify the converter and version used. - - - - - - - - -|Property|Type|Required|Description -|---|---|---|---| -|anonymous|[object]|false|No description| -|» url|string(uri-ref)|true|No description| -|» format|string|false|No description| -|» version|string|false|No description| -|» contentType|string|false|No description| -|» converter|object|false|No description| -|»» url|string(uri-ref)|false|No description| -|»» version|string|false|No description| - - - -**In the OpenAPI specification v2.0, this extension can be used as follows:** - - - - - -|Object|Description| -|---|---| -|InfoObject|The object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.| - - - - - - - - - - - -**In the OpenAPI specification v3.x, this extension can be used as follows:** - - - - - -|Object|Description| -|---|---| -|InfoObject|The object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.| - - - - - - - - - - - - -## x-preferred -> x-preferred example -```json -"string" -``` -```yaml -string - -``` - - - - - - - -A property of the `info` object, `x-preferred` is a Boolean property which distinguishes between multiple versions of the same API. Where the `x-providerName` and `x-serviceName` are the same, only one definition should be marked `x-preferred: true`. This helps users of the APIs.guru collection organise and display the APIs. - - - - - - - -|Property|Type|Required|Description -|---|---|---|---| -|simple|string|false|No description| - - - -**In the OpenAPI specification v2.0, this extension can be used as follows:** - - - - - -|Object|Description| -|---|---| -|InfoObject|The object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.| - - - - - - - - - - - -**In the OpenAPI specification v3.x, this extension can be used as follows:** - - - - - -|Object|Description| -|---|---| -|InfoObject|The object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.| - - - - - - - - - - - - -## x-providerName -> x-providerName example -```json -"string" -``` -```yaml -string - -``` - - - - - - - -A property of the `info` object, `x-providerName` is used to identify the domain of the API host. It is added automatically by APIs.guru - - - - - - - -|Property|Type|Required|Description -|---|---|---|---| -|simple|string|false|No description| - - - -**In the OpenAPI specification v2.0, this extension can be used as follows:** - - - - - -|Object|Description| -|---|---| -|InfoObject|The object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.| - - - - - - - - - - - -**In the OpenAPI specification v3.x, this extension can be used as follows:** - - - - - -|Object|Description| -|---|---| -|InfoObject|The object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.| - - - - - - - - - - - - -## x-serviceName -> x-serviceName example -```json -"string" -``` -```yaml -string - -``` - - - - - - - -A property of the `info` object, `x-serviceName` is used to distinguish APIs which are served from the same domain. It may be the subdomain if the API uses one. It is added automatically by APIs.guru - - - - - - - -|Property|Type|Required|Description -|---|---|---|---| -|simple|string|false|No description| - - - -**In the OpenAPI specification v2.0, this extension can be used as follows:** - - - - - -|Object|Description| -|---|---| -|InfoObject|The object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.| - - - - - - - - - - - -**In the OpenAPI specification v3.x, this extension can be used as follows:** - - - - - -|Object|Description| -|---|---| -|InfoObject|The object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.| - - - - - - - - - - - - -## x-tags -> x-tags example -```json -[ - "string" -] -``` -```yaml -- string - -``` - - - - - - - -Also a property of the `info` object, `x-tags` is an array of free-form keywords/tags applicable to the API. - - - - - - - -|Property|Type|Required|Description -|---|---|---|---| -|anonymous|[string]|false|No description| - - - -**In the OpenAPI specification v2.0, this extension can be used as follows:** - - - - - -|Object|Description| -|---|---| -|InfoObject|The object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.| - - - - - - - - - - - -**In the OpenAPI specification v3.x, this extension can be used as follows:** - - - - - -|Object|Description| -|---|---| -|InfoObject|The object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.| - - - - - - - - - - - - -## x-unofficialSpec -> x-unofficialSpec example -```json -true -``` -```yaml -true - -``` - - - - - - - -A property of the `info` object, `x-unofficialSpec` indicates the definition is produced by a third-party, either manually, by scraping existing documentation or converting a proprietary/undocumented format. - - - - - - - -|Property|Type|Required|Description -|---|---|---|---| -|simple|boolean|false|No description| - - - -**In the OpenAPI specification v2.0, this extension can be used as follows:** - - - - - -|Object|Description| -|---|---| -|InfoObject|The object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.| - - - - - - - - - - - -**In the OpenAPI specification v3.x, this extension can be used as follows:** - - - - - -|Object|Description| -|---|---| -|InfoObject|The object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.| - - - - - - - - - - - - - - - - diff --git a/docs/source/asyncapi.html.md b/docs/source/asyncapi.html.md deleted file mode 100644 index d8618a75..00000000 --- a/docs/source/asyncapi.html.md +++ /dev/null @@ -1,417 +0,0 @@ ---- -title: AsyncAPI Sample v1.0.0 -language_tabs: - - javascript--nodejs: Node.JS - - javascript: JavaScript - - ruby: Ruby - - python: Python - - java: Java - - go: Go -headingLevel: 3 -toc_footers: - - 'See OpenAPI example' -includes: [] -search: true -highlight_theme: darkula - ---- - -# AsyncAPI Sample v1.0.0 - -> Scroll down for code samples, example headers and payloads. Select a language for code samples from the tabs above or the mobile navigation menu. - -This is a simple example of an _AsyncAPI_ document. - -Base URLs: - -* mqtt://api.company.com:{port}/{app-id} - - * **app-id** - You can find your `app-id` in our control panel, under the auth tab. Default: demo - - * **port** - Default: 5676 - - * 5676 - * 5677 - -Base Topic: **hitch** - -Terms of service - -# user - -## accounts.1.0.action.user.signup - -### publish - -Note: **Deprecated** - -> Example headers - -```json - -{ - "qos": 1, - "retainFlag": false -} -``` - -> Example payload - -```json - -{ - "user": { - "full_name": "string", - "username": "string" - }, - "signup": { - "method": "email", - "datetime": "2018-04-03T07:32:55Z" - } -} -``` - -> Code Samples - -```javascript--nodejs -const hermes = require('hermesjs'); -const app = hermes(); - -app.from.client.send({ - topic: 'accounts.1.0.action.user.signup', - payload: { - "user": { - "full_name": "string", - "username": "string" - }, - "signup": { - "method": "email", - "datetime": "2018-04-03T07:32:55Z" - } -} -}); - -``` - -```javascript -//Coming soon... - -``` - -```ruby -# Coming soon... - -``` - -```python -//Coming soon... - -``` - -```java -/* asyncapi-java-tools */ -try (JmsServer client = builder.build()) { - - client.accounts.1.0.action.user.signup() - .publish({ - "user": { - "full_name": "string", - "username": "string" - }, - "signup": { - "method": "email", - "datetime": "2018-04-03T07:32:55Z" - } -}) - .toCompletableFuture() - .get(); -} - -``` - -```go -//Coming soon... - -``` - -*Action to sign a user up.* - -Multiline description of what this action does. **It allows Markdown.** - -#### Headers - -##### Properties - -|Name|Type|Required|Description| -|---|---|---|---| -|qos|integer|false|Quality of Service| -|retainFlag|boolean|false|This flag determines if the message will be saved by the broker for the specified topic as last known good value. New clients that subscribe to that topic will receive the last retained message on that topic instantly after subscribing. More on retained messages and best practices in one of the next posts.| - -#### Payload - -##### Properties - -|Name|Type|Required|Description| -|---|---|---|---| -|user|object|false|No description| -|full_name|string|false|User full name| -|username|string|true|User handle| -|signup|object|false|No description| -|method|string|true|Signup method| -|datetime|string|true|Date and Time of the message| - - - -# Default - -## accounts.1.0.event.user.signup - -### subscribe - -> Example payload - -```json - -{ - "user": { - "id": "string", - "full_name": "string", - "username": "string" - }, - "signup": { - "method": "email", - "datetime": "2018-04-03T07:32:55Z" - } -} -``` - -> Code Samples - -```javascript--nodejs -const hermes = require('hermesjs'); -const app = hermes(); - -app.from.client.send({ - topic: 'accounts.1.0.event.user.signup', - payload: { - "user": { - "id": "string", - "full_name": "string", - "username": "string" - }, - "signup": { - "method": "email", - "datetime": "2018-04-03T07:32:55Z" - } -} -}); - -``` - -```javascript -//Coming soon... - -``` - -```ruby -# Coming soon... - -``` - -```python -//Coming soon... - -``` - -```java -/* asyncapi-java-tools */ -try (JmsServer client = builder.build()) { - - client.accounts.1.0.event.user.signup() - .publish({ - "user": { - "id": "string", - "full_name": "string", - "username": "string" - }, - "signup": { - "method": "email", - "datetime": "2018-04-03T07:32:55Z" - } -}) - .toCompletableFuture() - .get(); -} - -``` - -```go -//Coming soon... - -``` - -#### Payload - -##### Properties - -|Name|Type|Required|Description| -|---|---|---|---| -|user|object|false|No description| -|id|string|true|Resource identifier| -|full_name|string|false|User full name| -|username|string|true|User handle| -|signup|object|false|No description| -|method|string|true|Signup method| -|datetime|string|true|Date and Time of the message| - - - -# Schemas - -## id - - - -```json -"string" -``` - -### Properties - -|Name|Type|Required|Description| -|---|---|---|---| -|id|[id](#schemaid)|false|Resource identifier| - -## username - - - -```json -"string" -``` - -### Properties - -|Name|Type|Required|Description| -|---|---|---|---| -|username|[username](#schemausername)|false|User handle| - -## datetime - - - -```json -"2018-04-03T07:32:55Z" -``` - -### Properties - -|Name|Type|Required|Description| -|---|---|---|---| -|datetime|[datetime](#schemadatetime)(date-time)|false|Date and Time of the message| - -## MQTTQoSHeader - - - -```json -1 -``` - -### Properties - -|Name|Type|Required|Description| -|---|---|---|---| -|qos|[MQTTQoSHeader](#schemamqttqosheader)(int32)|false|Quality of Service| - -#### Enumerated Values - -|Property|Value| -|---|---| -|qos|0| -|qos|2| - -## MQTTRetainHeader - - - -```json -false -``` - -### Properties - -|Name|Type|Required|Description| -|---|---|---|---| -|retainFlag|[MQTTRetainHeader](#schemamqttretainheader)|false|This flag determines if the message will be saved by the broker for the specified topic as last known good value. New clients that subscribe to that topic will receive the last retained message on that topic instantly after subscribing. More on retained messages and best practices in one of the next posts.| - -## user - - - -```json -{ - "id": "string", - "full_name": "string", - "username": "string" -} -``` - -### Properties - -|Name|Type|Required|Description| -|---|---|---|---| -|» id|[id](#schemaid)|true|Resource identifier| -|» full_name|string|false|User full name| -|» username|[username](#schemausername)|true|User handle| - -## userCreate - - - -```json -{ - "full_name": "string", - "username": "string" -} -``` - -### Properties - -|Name|Type|Required|Description| -|---|---|---|---| -|» full_name|string|false|User full name| -|» username|[username](#schemausername)|true|User handle| - -## signup - - - -```json -{ - "method": "email", - "datetime": "2018-04-03T07:32:55Z" -} -``` - -### Properties - -|Name|Type|Required|Description| -|---|---|---|---| -|» method|string|true|Signup method| -|» datetime|[datetime](#schemadatetime)(date-time)|true|Date and Time of the message| - -#### Enumerated Values - -|Property|Value| -|---|---| -|method|email| -|method|facebook| -|method|twitter| -|method|github| -|method|google| - diff --git a/docs/source/fonts/slate.eot b/docs/source/fonts/slate.eot deleted file mode 100644 index 13c4839a1975d4c92d66753d75553f922743c6ef..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1876 zcmaJ?&2Jl35TEDWeRg&sP8)xqh$Kr)Yzaiu#`dnNaHtS!Xx9i53LF}#nAmmP`Xfq= z;s{Zte*qCEK;i~h4hYFPaA-x4sD#vVrBXQ{MIaD@1Ke8kn|8tnQ^fdI9N^x@? zd<=RUJW{D`U;b-v<0kYSA}zO8E|&DaCqF0BzlPme0}$TUZbAP8`m<~GR{K~75*dg= zcCEQu4DE@ZpmS=+>&5muJwb0nf0^x#V!izR7X1vpggLV7&CM3_1j&!tPMS_)mkgrN zC!rsJe5kniow8zt{RT+zltXle=pd}!=-!|+8X9a|iyqm&z#GOh#?Z4hMmoI$K1va6 zrUYgm&_U=R+`ZrJ0!LQ9E`42ef0@uHvC8U zo}w4%B?O&MCX$JGEG)w^HIqqa()pb0xK4IFpUb457c*fwDPqaQf|z%md}h1{#>ac0 zD>_@{@&c$_-fEYWRBE3yj7U8q4MTz%hA^cOxdwei%19MlXpM(P_)+e=@Rm}B>tXap zwoqO*DogaoKF+^`!zvX>{f10 zq*F6dk@0&Ok4=k2cHR|EKKaOn+_Q3KG-~~J-9n!;&D+d{W9=SQ|IqlDm9?y2uUl{( zi(0o$Q@Cby<g+B7U zE7gMM6{=S}Ps}C~lhg72%h#4X&vB-0d)je4Z)w>(?>M%-xE~jH;l@L}Lcyy(n4O9z z65lS`w&R>XbW_^$2bKN!lz(S%N3N!tcP>R={D&-^3rjyfS-aWi!AkH>sk+00G5&qW zC1%n(1Gmpd;5$IPUF_Lw@K%&WbbxEX?LgKcF9x!K$J`8LiMQ^#KsG5yOZ=|rBS1K&l2uG4tC&hwF_o-hDp_Le zTrgI}?0+pse - - -Generated by IcoMoon - - - - - - - - - - diff --git a/docs/source/fonts/slate.ttf b/docs/source/fonts/slate.ttf deleted file mode 100644 index ace9a46a7e1ed6b6ab3de2f30ef3e27c572f88d3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1720 zcmaJ>-D_KA7=PaL@t*V?ZMro%kz(6pV-rwZyCyk@Q7?wb>UJv9`gO6wj7^qiCTUqB zO%X@;7dX69!8^V6LWJzXiw!F%45qgVdLa}=5xvm6E&iVKo-9$jJ@CHI_viaTf`}a2 zC!H2wcyVDVd0amU$>&(FZ8pn0bm7yth{U7dH)`ef4)6r{E^wmO*t_`0^~*QG?-S|8 zt!lYq{5ky*k?|Sy{uTt*p8hrX-@re<)$DYS^+1t{800m!H_O^}@g4X@@W-3w?hZXf zuY!M;^{sNV`qeJ|2)=?Gg`Mqo2XzAEd#oqjAaRXMBJF+c79{T|EPkbe7-PE;5S;Q~ zaGL1Q(r@%{&}khDI-bPX!~GUGz-0@x9Aaiik?BxrHq?#(PnWnI%nYaReOv*$ZSm>?)ctla|1hAG;T1^YPnfOv{N&_J8ekcvoG^Cm?MLpzb znO-8ASEU{s)D{<<&JKz%JjTWAM|EWWzjHMajT;ECdZ?bsKw&|^tZONrkvOuIkI%De zUYTtG_26}0jYK0>4*B1QgBuPLXU?}t^*TiboK|r`R>P0_HD+(cdi{Ze{FKYDLBs0R~?v6B%Rx~Edo2aasT@IJ-vtfG(iE^ z$Awv_E5l{^C4s84a|;3+->t#z!u^V-9Nj!@+Ph(RslFP9tMyA^DCS*vdNzG<@yc2l z`u?ov&H8>AuC0gXeBbj{4$|U#n6XQ^x*FE+&d;P>_lp(J^Zj%8%oMl&cI_ZN6TKO{ zkvFp2-&{yO{TDd~50<`txN&oc<4*8TskuV~pXj~g5i{t$k=GYVU^@bQTx>a5uvcK? zADE$i`dge4A3((KH9;?{zv*7K*f>Jt^humckR5yQeHf=xv0R7Ti)jP&N=%#Ng5wPM z_VCv|5z{smX^sCCV+<0Gsc02b(JH2*RZK;zn2MJ0U5I^E%r-TsOdYDyD_EDQO?BF) z7OFc*Cuk9TtZz5Uo$8RKb(q)a%}C8|gD__z_YMNoV9|<#sst6tUZ*|mXK52w&tq|_ J6Wq-M;U6NW`v(93 diff --git a/docs/source/fonts/slate.woff b/docs/source/fonts/slate.woff deleted file mode 100644 index 1e72e0ee0018119d7c814c2097cc60c0bcd05d84..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1796 zcmaJ>&2Jl35TCanZ=GF;-Nqj%Qj#SmwgjS~vAs(b4i$%lc7v*fuR|jhlemtH?Nqf< z5&;$c3y8RZ#0{p83^QtGf$~^ZU#vdPL3b z4fcBr_DN>rKz!G#?&4f~pM4ZRM6a}~ts1aTadwIM%N_dh>UO7#K7YRFXF@YA68l_? z@xFm7>0K?wZ&VUvut!OxMlIIQ5*<0_&Hha~Yl49Y@PK@!7+CqFG*;eClSR)#j$=Xw zNnrjF9T`VX|4zRT99<||DqHk_nzSa(NzO5voBad{L?lOWoE4r?ZbRP(V_X@TZL>{} z(3A8mk}l-3xojrwNJr*pi-lsLQVxSKC{0w##ljO}){#>poy#tYg)pcTCk9|L<3To?f*omEO$b9ODUa}gVj!a zAvUB1l6OCpmTg;7PgnO)phbF-Xik@UVo+OLa3((}zVs*;Zywi?{r}GOL=0{q1ou!q ztD%;HAbGE?Z5HC#RzAMSTXWiN9ioS*i+Usm@#fI}eK@$`F!8DQHtAj`iEnm!UKH}P zNl{d*%%o>TwzLq6ppv_9BR_a$H<|Q)z2RXkyY6k4BJlQ)o4+xU@=Bif%MA~%sib$? zbw%hV*Y96nzi0MvpHdWZeO#D>x^i4rP!XsqKRYk5@ZB2RF5E9QWp(qg81F^VmBvaG ztu(Ggk(kS7r)DyTm#?ozQ4q}d{!9==(dt@sJ_vk&`7k5ChZ~1PD=Sgs?%Z@HoBe#* z_k-a4JvVKwyWWZ=q2@1#9uk~9EfrHBtA=!8%MC` zIGu@c6SyDi7WCym@ z2-w*rE$c_UfviKEL=Vy>={0bo+(i5#P1q3$6VB``hVMrCzU@B6vbqKcPy}m-BtQn- zkylU>byNe6DE>18g5d9bm%bZqa|qF=7&3(|U!AY)%Yg-vOsqKIq$w0D$r*3}ks4=+ z>U6?w2xMd=B$;zQ9v)F1K7KwfQ9|)<9nl&i?6-rchs{I8LC1eK^@#(|^QwB-{VeQz zoHLn@cwG?Yo(X!F(Q8iBOqSNs${h}C*?qJYLuZAnVXqx{ww|}Ux0`ca^V#hz?c7{r z7ldYbmk!M1m3G+IYC6(!VcCzqp&pJkZ#1@kw2W<^EJMqOM;^&dq6ELC*|pK!(cC0< zbZtF%BzLsuTw5O*+eg;dX0a+hcfI=gj8a~qWYJoMamHAo)!Qq|6&~9S8`{d0T?L&% z@$R=P6H0rTp6V+-Dlb>EB67JEMQ>kk%`y}{hvBC(RNEw)*%|U|4>SL+B=3rE@y*rw zR_bLZr&~XN?C;+yx2IilcDnrb?M)}An;DsTe@^rq$9L-UWNqY_oTyWyYisN3CMIh; z*C)b12exYgK^2c4S}J#2YJ+00rUlj%+LqQ7E%lldEc`K|1Bky)iLkwF{Wltvj!{A+PBEzhE3BX) zFBgqmj@&z?N1*=OK?z54T7is8FiA(N66oe`X+cKl>`n&&000000HC;3 zk^ug-#56-JW5JAtMV6Rgj#+|9A(7;@^`+^dWy@Alt7D86w|;R>QMs>d+47HJVfKhH aD;vc&%m&dlj4($-ipx}q&#}A+00017%3vV? diff --git a/docs/source/images/logo.png b/docs/source/images/logo.png deleted file mode 100644 index 2a5f45b0478c9eca2e9a8c4806b0bbce9a11367f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7967 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 -This error section is stored in a separate file in includes/_errors.md. Slate allows you to optionally separate out your docs into many files...just save them to the includes folder and add them to the top of your index.md's frontmatter. Files are included in the order listed. - - -The Kittn API uses the following error codes: - - -Error Code | Meaning ----------- | ------- -400 | Bad Request -- Your request is invalid. -401 | Unauthorized -- Your API key is wrong. -403 | Forbidden -- The kitten requested is hidden for administrators only. -404 | Not Found -- The specified kitten could not be found. -405 | Method Not Allowed -- You tried to access a kitten with an invalid method. -406 | Not Acceptable -- You requested a format that isn't json. -410 | Gone -- The kitten requested has been removed from our servers. -418 | I'm a teapot. -429 | Too Many Requests -- You're requesting too many kittens! Slow down! -500 | Internal Server Error -- We had a problem with our server. Try again later. -503 | Service Unavailable -- We're temporarily offline for maintenance. Please try again later. diff --git a/docs/source/includes/_head.md b/docs/source/includes/_head.md deleted file mode 100644 index 67ca9cca..00000000 --- a/docs/source/includes/_head.md +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/source/index.html.md b/docs/source/index.html.md deleted file mode 100644 index d69a0abb..00000000 --- a/docs/source/index.html.md +++ /dev/null @@ -1,6871 +0,0 @@ ---- -title: Postgres API v0.0.0 -language_tabs: - - shell: Shell - - http: HTTP - - javascript: JavaScript - - ruby: Ruby - - python: Python - - php: PHP - - java: Java - - go: Go -toc_footers: [] -includes: [] -search: true -highlight_theme: darkula -headingLevel: 2 - ---- - - - -

          Postgres API v0.0.0

          - -> Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu. - -Manage your PostgreSQL database using a RESTful API. - -This is still in early development, so most of the functionality is read-only. - -The goal of this API is to enable the full management of a Postgres database using a RESTful interface. This includes adding tables, columns, roles, and users at runtime, as well as running ad-hoc queries. - -Made by Supabase: https://supabase.io - -# Getting started - -## Usage - -> Basic usage - -```sh -curl -X GET http://localhost:1337/ \ --H 'Content-Type: application/json' \ --H 'X-Connection-Encrypted: ENCRYPTED_STRING' -``` -```js -const data = await fetch('http://localhost:1337', { -method: 'GET', -headers: { - 'Content-Type': 'application/json', - 'X-Connection-Encrypted': 'ENCRYPTED_STRING' -} -}) -``` - -For security reasons, this API is best self-hosted and set up with ENV_VARS with the default connection string. - -If you want to use this with multiple Postgres instances, you can pass the connection string as a header but it must be encrypted. - -## Self Hosting - -``` -https://github.com/supabase/pg-api -``` - -We support several different methods for self-hosting, detailed in the [repository](https://github.com/supabase/pg-api). - -## Authentication - -Authentication is not provided. Make sure you use this inside a secure network or behind a secure API proxy. - -Email: Support Web: Support -License: Apache 2.0 - -

          /config

          - -## Get all configs - - - -> Code samples - -```shell -# You can also use wget -curl -X GET /config \ - -H 'Accept: application/json' - -``` - -```http -GET /config HTTP/1.1 - -Accept: application/json - -``` - -```javascript - -const headers = { - 'Accept':'application/json' -}; - -fetch('/config', -{ - method: 'GET', - - headers: headers -}) -.then(function(res) { - return res.json(); -}).then(function(body) { - console.log(body); -}); - -``` - -```ruby -require 'rest-client' -require 'json' - -headers = { - 'Accept' => 'application/json' -} - -result = RestClient.get '/config', - params: { - }, headers: headers - -p JSON.parse(result) - -``` - -```python -import requests -headers = { - 'Accept': 'application/json' -} - -r = requests.get('/config', headers = headers) - -print(r.json()) - -``` - -```php - 'application/json', -); - -$client = new \GuzzleHttp\Client(); - -// Define array of request body. -$request_body = array(); - -try { - $response = $client->request('GET','/config', array( - 'headers' => $headers, - 'json' => $request_body, - ) - ); - print_r($response->getBody()->getContents()); - } - catch (\GuzzleHttp\Exception\BadResponseException $e) { - // handle exception or api errors. - print_r($e->getMessage()); - } - - // ... - -``` - -```java -URL obj = new URL("/config"); -HttpURLConnection con = (HttpURLConnection) obj.openConnection(); -con.setRequestMethod("GET"); -int responseCode = con.getResponseCode(); -BufferedReader in = new BufferedReader( - new InputStreamReader(con.getInputStream())); -String inputLine; -StringBuffer response = new StringBuffer(); -while ((inputLine = in.readLine()) != null) { - response.append(inputLine); -} -in.close(); -System.out.println(response.toString()); - -``` - -```go -package main - -import ( - "bytes" - "net/http" -) - -func main() { - - headers := map[string][]string{ - "Accept": []string{"application/json"}, - } - - data := bytes.NewBuffer([]byte{jsonReq}) - req, err := http.NewRequest("GET", "/config", data) - req.Header = headers - - client := &http.Client{} - resp, err := client.Do(req) - // ... -} - -``` - -`GET /config` - -> Example responses - -> 200 Response - -```json -[ - { - "name": "string", - "setting": "string", - "category": "string", - "group": "string", - "subgroup": "string", - "unit": "string", - "short_desc": "string", - "extra_desc": "string", - "context": "string", - "vartype": "string", - "source": "string", - "min_val": "string", - "max_val": "string", - "enumvals": [ - "string" - ], - "boot_val": "string", - "reset_val": "string", - "sourcefile": "string", - "sourceline": 0, - "pending_restart": true - } -] -``` - -

          Responses

          - -|Status|Meaning|Description|Schema| -|---|---|---|---| -|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation|Inline| - -

          Response Schema

          - -Status Code **200** - -|Name|Type|Required|Restrictions|Description| -|---|---|---|---|---| -|*anonymous*|[[Config](#schemaconfig)]|false|none|none| -|» name|string|false|none|none| -|» setting|string|false|none|none| -|» category|string|false|none|none| -|» group|string|false|none|none| -|» subgroup|string|false|none|none| -|» unit|string¦null|false|none|none| -|» short_desc|string|false|none|none| -|» extra_desc|string¦null|false|none|none| -|» context|string|false|none|none| -|» vartype|string|false|none|none| -|» source|string|false|none|none| -|» min_val|string¦null|false|none|none| -|» max_val|string¦null|false|none|none| -|» enumvals|[string]¦null|false|none|none| -|» boot_val|string|false|none|none| -|» reset_val|string|false|none|none| -|» sourcefile|string¦null|false|none|none| -|» sourceline|integer¦null|false|none|none| -|» pending_restart|boolean|false|none|none| - - - -

          /config/version

          - -## Get version - - - -> Code samples - -```shell -# You can also use wget -curl -X GET /config/version \ - -H 'Accept: application/json' - -``` - -```http -GET /config/version HTTP/1.1 - -Accept: application/json - -``` - -```javascript - -const headers = { - 'Accept':'application/json' -}; - -fetch('/config/version', -{ - method: 'GET', - - headers: headers -}) -.then(function(res) { - return res.json(); -}).then(function(body) { - console.log(body); -}); - -``` - -```ruby -require 'rest-client' -require 'json' - -headers = { - 'Accept' => 'application/json' -} - -result = RestClient.get '/config/version', - params: { - }, headers: headers - -p JSON.parse(result) - -``` - -```python -import requests -headers = { - 'Accept': 'application/json' -} - -r = requests.get('/config/version', headers = headers) - -print(r.json()) - -``` - -```php - 'application/json', -); - -$client = new \GuzzleHttp\Client(); - -// Define array of request body. -$request_body = array(); - -try { - $response = $client->request('GET','/config/version', array( - 'headers' => $headers, - 'json' => $request_body, - ) - ); - print_r($response->getBody()->getContents()); - } - catch (\GuzzleHttp\Exception\BadResponseException $e) { - // handle exception or api errors. - print_r($e->getMessage()); - } - - // ... - -``` - -```java -URL obj = new URL("/config/version"); -HttpURLConnection con = (HttpURLConnection) obj.openConnection(); -con.setRequestMethod("GET"); -int responseCode = con.getResponseCode(); -BufferedReader in = new BufferedReader( - new InputStreamReader(con.getInputStream())); -String inputLine; -StringBuffer response = new StringBuffer(); -while ((inputLine = in.readLine()) != null) { - response.append(inputLine); -} -in.close(); -System.out.println(response.toString()); - -``` - -```go -package main - -import ( - "bytes" - "net/http" -) - -func main() { - - headers := map[string][]string{ - "Accept": []string{"application/json"}, - } - - data := bytes.NewBuffer([]byte{jsonReq}) - req, err := http.NewRequest("GET", "/config/version", data) - req.Header = headers - - client := &http.Client{} - resp, err := client.Do(req) - // ... -} - -``` - -`GET /config/version` - -> Example responses - -> 200 Response - -```json -{ - "version": "string", - "version_number": 0, - "active_connections": 0, - "max_connections": 0 -} -``` - -

          Responses

          - -|Status|Meaning|Description|Schema| -|---|---|---|---| -|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation|[Version](#schemaversion)| - - - -

          /query

          - -## Make a query - - - -> Code samples - -```shell -# You can also use wget -curl -X POST /query \ - -H 'Accept: application/json' - -``` - -```http -POST /query HTTP/1.1 - -Accept: application/json - -``` - -```javascript - -const headers = { - 'Accept':'application/json' -}; - -fetch('/query', -{ - method: 'POST', - - headers: headers -}) -.then(function(res) { - return res.json(); -}).then(function(body) { - console.log(body); -}); - -``` - -```ruby -require 'rest-client' -require 'json' - -headers = { - 'Accept' => 'application/json' -} - -result = RestClient.post '/query', - params: { - }, headers: headers - -p JSON.parse(result) - -``` - -```python -import requests -headers = { - 'Accept': 'application/json' -} - -r = requests.post('/query', headers = headers) - -print(r.json()) - -``` - -```php - 'application/json', -); - -$client = new \GuzzleHttp\Client(); - -// Define array of request body. -$request_body = array(); - -try { - $response = $client->request('POST','/query', array( - 'headers' => $headers, - 'json' => $request_body, - ) - ); - print_r($response->getBody()->getContents()); - } - catch (\GuzzleHttp\Exception\BadResponseException $e) { - // handle exception or api errors. - print_r($e->getMessage()); - } - - // ... - -``` - -```java -URL obj = new URL("/query"); -HttpURLConnection con = (HttpURLConnection) obj.openConnection(); -con.setRequestMethod("POST"); -int responseCode = con.getResponseCode(); -BufferedReader in = new BufferedReader( - new InputStreamReader(con.getInputStream())); -String inputLine; -StringBuffer response = new StringBuffer(); -while ((inputLine = in.readLine()) != null) { - response.append(inputLine); -} -in.close(); -System.out.println(response.toString()); - -``` - -```go -package main - -import ( - "bytes" - "net/http" -) - -func main() { - - headers := map[string][]string{ - "Accept": []string{"application/json"}, - } - - data := bytes.NewBuffer([]byte{jsonReq}) - req, err := http.NewRequest("POST", "/query", data) - req.Header = headers - - client := &http.Client{} - resp, err := client.Do(req) - // ... -} - -``` - -`POST /query` - -> Example responses - -> 200 Response - -```json -[ - {} -] -``` - -

          Responses

          - -|Status|Meaning|Description|Schema| -|---|---|---|---| -|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation|Inline| - -

          Response Schema

          - - - -

          /columns

          - -## Get all columns - - - -> Code samples - -```shell -# You can also use wget -curl -X GET /columns \ - -H 'Accept: application/json' - -``` - -```http -GET /columns HTTP/1.1 - -Accept: application/json - -``` - -```javascript - -const headers = { - 'Accept':'application/json' -}; - -fetch('/columns', -{ - method: 'GET', - - headers: headers -}) -.then(function(res) { - return res.json(); -}).then(function(body) { - console.log(body); -}); - -``` - -```ruby -require 'rest-client' -require 'json' - -headers = { - 'Accept' => 'application/json' -} - -result = RestClient.get '/columns', - params: { - }, headers: headers - -p JSON.parse(result) - -``` - -```python -import requests -headers = { - 'Accept': 'application/json' -} - -r = requests.get('/columns', headers = headers) - -print(r.json()) - -``` - -```php - 'application/json', -); - -$client = new \GuzzleHttp\Client(); - -// Define array of request body. -$request_body = array(); - -try { - $response = $client->request('GET','/columns', array( - 'headers' => $headers, - 'json' => $request_body, - ) - ); - print_r($response->getBody()->getContents()); - } - catch (\GuzzleHttp\Exception\BadResponseException $e) { - // handle exception or api errors. - print_r($e->getMessage()); - } - - // ... - -``` - -```java -URL obj = new URL("/columns"); -HttpURLConnection con = (HttpURLConnection) obj.openConnection(); -con.setRequestMethod("GET"); -int responseCode = con.getResponseCode(); -BufferedReader in = new BufferedReader( - new InputStreamReader(con.getInputStream())); -String inputLine; -StringBuffer response = new StringBuffer(); -while ((inputLine = in.readLine()) != null) { - response.append(inputLine); -} -in.close(); -System.out.println(response.toString()); - -``` - -```go -package main - -import ( - "bytes" - "net/http" -) - -func main() { - - headers := map[string][]string{ - "Accept": []string{"application/json"}, - } - - data := bytes.NewBuffer([]byte{jsonReq}) - req, err := http.NewRequest("GET", "/columns", data) - req.Header = headers - - client := &http.Client{} - resp, err := client.Do(req) - // ... -} - -``` - -`GET /columns` - -

          Parameters

          - -|Name|In|Type|Required|Description| -|---|---|---|---|---| -|include_system_schemas|query|boolean|false|none| - -> Example responses - -> 200 Response - -```json -[ - { - "table_id": 0, - "schema": "string", - "table": "string", - "id": "string", - "ordinal_position": 0, - "name": "string", - "default_value": "string", - "data_type": "string", - "format": "string", - "description": "string", - "is_identity": true, - "identity_generation": "string", - "is_nullable": true, - "is_updatable": true, - "enums": [ - "string" - ] - } -] -``` - -

          Responses

          - -|Status|Meaning|Description|Schema| -|---|---|---|---| -|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation|Inline| - -

          Response Schema

          - -Status Code **200** - -|Name|Type|Required|Restrictions|Description| -|---|---|---|---|---| -|*anonymous*|[[Column](#schemacolumn)]|false|none|none| -|» table_id|integer|false|none|none| -|» schema|string|false|none|none| -|» table|string|false|none|none| -|» id|string|false|none|none| -|» ordinal_position|integer|false|none|none| -|» name|string|false|none|none| -|» default_value|string|false|none|none| -|» data_type|string|false|none|none| -|» format|string|false|none|none| -|» description|string|false|none|none| -|» is_identity|boolean|false|none|none| -|» identity_generation|string|false|none|none| -|» is_nullable|boolean|false|none|none| -|» is_updatable|boolean|false|none|none| -|» enums|[string]|false|none|none| - - - -## Add a column - - - -> Code samples - -```shell -# You can also use wget -curl -X POST /columns \ - -H 'Content-Type: application/json' \ - -H 'Accept: application/json' - -``` - -```http -POST /columns HTTP/1.1 - -Content-Type: application/json -Accept: application/json - -``` - -```javascript -const inputBody = '{ - "name": "string", - "table_id": 0, - "type": "string", - "default_value": "string", - "is_identity": true, - "is_nullable": true, - "is_primary_key": true, - "is_unique": true -}'; -const headers = { - 'Content-Type':'application/json', - 'Accept':'application/json' -}; - -fetch('/columns', -{ - method: 'POST', - body: inputBody, - headers: headers -}) -.then(function(res) { - return res.json(); -}).then(function(body) { - console.log(body); -}); - -``` - -```ruby -require 'rest-client' -require 'json' - -headers = { - 'Content-Type' => 'application/json', - 'Accept' => 'application/json' -} - -result = RestClient.post '/columns', - params: { - }, headers: headers - -p JSON.parse(result) - -``` - -```python -import requests -headers = { - 'Content-Type': 'application/json', - 'Accept': 'application/json' -} - -r = requests.post('/columns', headers = headers) - -print(r.json()) - -``` - -```php - 'application/json', - 'Accept' => 'application/json', -); - -$client = new \GuzzleHttp\Client(); - -// Define array of request body. -$request_body = array(); - -try { - $response = $client->request('POST','/columns', array( - 'headers' => $headers, - 'json' => $request_body, - ) - ); - print_r($response->getBody()->getContents()); - } - catch (\GuzzleHttp\Exception\BadResponseException $e) { - // handle exception or api errors. - print_r($e->getMessage()); - } - - // ... - -``` - -```java -URL obj = new URL("/columns"); -HttpURLConnection con = (HttpURLConnection) obj.openConnection(); -con.setRequestMethod("POST"); -int responseCode = con.getResponseCode(); -BufferedReader in = new BufferedReader( - new InputStreamReader(con.getInputStream())); -String inputLine; -StringBuffer response = new StringBuffer(); -while ((inputLine = in.readLine()) != null) { - response.append(inputLine); -} -in.close(); -System.out.println(response.toString()); - -``` - -```go -package main - -import ( - "bytes" - "net/http" -) - -func main() { - - headers := map[string][]string{ - "Content-Type": []string{"application/json"}, - "Accept": []string{"application/json"}, - } - - data := bytes.NewBuffer([]byte{jsonReq}) - req, err := http.NewRequest("POST", "/columns", data) - req.Header = headers - - client := &http.Client{} - resp, err := client.Do(req) - // ... -} - -``` - -`POST /columns` - -> Body parameter - -```json -{ - "name": "string", - "table_id": 0, - "type": "string", - "default_value": "string", - "is_identity": true, - "is_nullable": true, - "is_primary_key": true, - "is_unique": true -} -``` - -

          Parameters

          - -|Name|In|Type|Required|Description| -|---|---|---|---|---| -|body|body|object|true|none| -|» name|body|string|true|none| -|» table_id|body|integer|true|none| -|» type|body|string|true|none| -|» default_value|body|string|false|none| -|» is_identity|body|boolean|false|none| -|» is_nullable|body|boolean|false|none| -|» is_primary_key|body|boolean|false|none| -|» is_unique|body|boolean|false|none| - -> Example responses - -> 200 Response - -```json -{ - "table_id": 0, - "schema": "string", - "table": "string", - "id": "string", - "ordinal_position": 0, - "name": "string", - "default_value": "string", - "data_type": "string", - "format": "string", - "description": "string", - "is_identity": true, - "identity_generation": "string", - "is_nullable": true, - "is_updatable": true, - "enums": [ - "string" - ] -} -``` - -

          Responses

          - -|Status|Meaning|Description|Schema| -|---|---|---|---| -|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation|[Column](#schemacolumn)| - - - -## Update a column by ID - - - -> Code samples - -```shell -# You can also use wget -curl -X PATCH /columns/{id} \ - -H 'Content-Type: application/json' \ - -H 'Accept: application/json' - -``` - -```http -PATCH /columns/{id} HTTP/1.1 - -Content-Type: application/json -Accept: application/json - -``` - -```javascript -const inputBody = '{ - "name": "string", - "type": "string", - "drop_default": true, - "default_value": "string", - "is_nullable": true -}'; -const headers = { - 'Content-Type':'application/json', - 'Accept':'application/json' -}; - -fetch('/columns/{id}', -{ - method: 'PATCH', - body: inputBody, - headers: headers -}) -.then(function(res) { - return res.json(); -}).then(function(body) { - console.log(body); -}); - -``` - -```ruby -require 'rest-client' -require 'json' - -headers = { - 'Content-Type' => 'application/json', - 'Accept' => 'application/json' -} - -result = RestClient.patch '/columns/{id}', - params: { - }, headers: headers - -p JSON.parse(result) - -``` - -```python -import requests -headers = { - 'Content-Type': 'application/json', - 'Accept': 'application/json' -} - -r = requests.patch('/columns/{id}', headers = headers) - -print(r.json()) - -``` - -```php - 'application/json', - 'Accept' => 'application/json', -); - -$client = new \GuzzleHttp\Client(); - -// Define array of request body. -$request_body = array(); - -try { - $response = $client->request('PATCH','/columns/{id}', array( - 'headers' => $headers, - 'json' => $request_body, - ) - ); - print_r($response->getBody()->getContents()); - } - catch (\GuzzleHttp\Exception\BadResponseException $e) { - // handle exception or api errors. - print_r($e->getMessage()); - } - - // ... - -``` - -```java -URL obj = new URL("/columns/{id}"); -HttpURLConnection con = (HttpURLConnection) obj.openConnection(); -con.setRequestMethod("PATCH"); -int responseCode = con.getResponseCode(); -BufferedReader in = new BufferedReader( - new InputStreamReader(con.getInputStream())); -String inputLine; -StringBuffer response = new StringBuffer(); -while ((inputLine = in.readLine()) != null) { - response.append(inputLine); -} -in.close(); -System.out.println(response.toString()); - -``` - -```go -package main - -import ( - "bytes" - "net/http" -) - -func main() { - - headers := map[string][]string{ - "Content-Type": []string{"application/json"}, - "Accept": []string{"application/json"}, - } - - data := bytes.NewBuffer([]byte{jsonReq}) - req, err := http.NewRequest("PATCH", "/columns/{id}", data) - req.Header = headers - - client := &http.Client{} - resp, err := client.Do(req) - // ... -} - -``` - -`PATCH /columns/{id}` - -> Body parameter - -```json -{ - "name": "string", - "type": "string", - "drop_default": true, - "default_value": "string", - "is_nullable": true -} -``` - -

          Parameters

          - -|Name|In|Type|Required|Description| -|---|---|---|---|---| -|body|body|object|true|none| -|» name|body|string|false|none| -|» type|body|string|false|none| -|» drop_default|body|boolean|false|none| -|» default_value|body|string|false|none| -|» is_nullable|body|boolean|false|none| -|id|path|string|true|none| - -> Example responses - -> 200 Response - -```json -{ - "table_id": 0, - "schema": "string", - "table": "string", - "id": "string", - "ordinal_position": 0, - "name": "string", - "default_value": "string", - "data_type": "string", - "format": "string", - "description": "string", - "is_identity": true, - "identity_generation": "string", - "is_nullable": true, - "is_updatable": true, - "enums": [ - "string" - ] -} -``` - -

          Responses

          - -|Status|Meaning|Description|Schema| -|---|---|---|---| -|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation|[Column](#schemacolumn)| - - - -## Delete a column by ID - - - -> Code samples - -```shell -# You can also use wget -curl -X DELETE /columns/{id} \ - -H 'Accept: application/json' - -``` - -```http -DELETE /columns/{id} HTTP/1.1 - -Accept: application/json - -``` - -```javascript - -const headers = { - 'Accept':'application/json' -}; - -fetch('/columns/{id}', -{ - method: 'DELETE', - - headers: headers -}) -.then(function(res) { - return res.json(); -}).then(function(body) { - console.log(body); -}); - -``` - -```ruby -require 'rest-client' -require 'json' - -headers = { - 'Accept' => 'application/json' -} - -result = RestClient.delete '/columns/{id}', - params: { - }, headers: headers - -p JSON.parse(result) - -``` - -```python -import requests -headers = { - 'Accept': 'application/json' -} - -r = requests.delete('/columns/{id}', headers = headers) - -print(r.json()) - -``` - -```php - 'application/json', -); - -$client = new \GuzzleHttp\Client(); - -// Define array of request body. -$request_body = array(); - -try { - $response = $client->request('DELETE','/columns/{id}', array( - 'headers' => $headers, - 'json' => $request_body, - ) - ); - print_r($response->getBody()->getContents()); - } - catch (\GuzzleHttp\Exception\BadResponseException $e) { - // handle exception or api errors. - print_r($e->getMessage()); - } - - // ... - -``` - -```java -URL obj = new URL("/columns/{id}"); -HttpURLConnection con = (HttpURLConnection) obj.openConnection(); -con.setRequestMethod("DELETE"); -int responseCode = con.getResponseCode(); -BufferedReader in = new BufferedReader( - new InputStreamReader(con.getInputStream())); -String inputLine; -StringBuffer response = new StringBuffer(); -while ((inputLine = in.readLine()) != null) { - response.append(inputLine); -} -in.close(); -System.out.println(response.toString()); - -``` - -```go -package main - -import ( - "bytes" - "net/http" -) - -func main() { - - headers := map[string][]string{ - "Accept": []string{"application/json"}, - } - - data := bytes.NewBuffer([]byte{jsonReq}) - req, err := http.NewRequest("DELETE", "/columns/{id}", data) - req.Header = headers - - client := &http.Client{} - resp, err := client.Do(req) - // ... -} - -``` - -`DELETE /columns/{id}` - -

          Parameters

          - -|Name|In|Type|Required|Description| -|---|---|---|---|---| -|id|path|string|true|none| - -> Example responses - -> 200 Response - -```json -{ - "table_id": 0, - "schema": "string", - "table": "string", - "id": "string", - "ordinal_position": 0, - "name": "string", - "default_value": "string", - "data_type": "string", - "format": "string", - "description": "string", - "is_identity": true, - "identity_generation": "string", - "is_nullable": true, - "is_updatable": true, - "enums": [ - "string" - ] -} -``` - -

          Responses

          - -|Status|Meaning|Description|Schema| -|---|---|---|---| -|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation|[Column](#schemacolumn)| - - - -

          /extensions

          - -## Get all extensions - - - -> Code samples - -```shell -# You can also use wget -curl -X GET /extensions \ - -H 'Accept: application/json' - -``` - -```http -GET /extensions HTTP/1.1 - -Accept: application/json - -``` - -```javascript - -const headers = { - 'Accept':'application/json' -}; - -fetch('/extensions', -{ - method: 'GET', - - headers: headers -}) -.then(function(res) { - return res.json(); -}).then(function(body) { - console.log(body); -}); - -``` - -```ruby -require 'rest-client' -require 'json' - -headers = { - 'Accept' => 'application/json' -} - -result = RestClient.get '/extensions', - params: { - }, headers: headers - -p JSON.parse(result) - -``` - -```python -import requests -headers = { - 'Accept': 'application/json' -} - -r = requests.get('/extensions', headers = headers) - -print(r.json()) - -``` - -```php - 'application/json', -); - -$client = new \GuzzleHttp\Client(); - -// Define array of request body. -$request_body = array(); - -try { - $response = $client->request('GET','/extensions', array( - 'headers' => $headers, - 'json' => $request_body, - ) - ); - print_r($response->getBody()->getContents()); - } - catch (\GuzzleHttp\Exception\BadResponseException $e) { - // handle exception or api errors. - print_r($e->getMessage()); - } - - // ... - -``` - -```java -URL obj = new URL("/extensions"); -HttpURLConnection con = (HttpURLConnection) obj.openConnection(); -con.setRequestMethod("GET"); -int responseCode = con.getResponseCode(); -BufferedReader in = new BufferedReader( - new InputStreamReader(con.getInputStream())); -String inputLine; -StringBuffer response = new StringBuffer(); -while ((inputLine = in.readLine()) != null) { - response.append(inputLine); -} -in.close(); -System.out.println(response.toString()); - -``` - -```go -package main - -import ( - "bytes" - "net/http" -) - -func main() { - - headers := map[string][]string{ - "Accept": []string{"application/json"}, - } - - data := bytes.NewBuffer([]byte{jsonReq}) - req, err := http.NewRequest("GET", "/extensions", data) - req.Header = headers - - client := &http.Client{} - resp, err := client.Do(req) - // ... -} - -``` - -`GET /extensions` - -> Example responses - -> 200 Response - -```json -[ - { - "name": "string", - "comment": "string", - "default_version": "string", - "installed_version": "string" - } -] -``` - -

          Responses

          - -|Status|Meaning|Description|Schema| -|---|---|---|---| -|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation|Inline| - -

          Response Schema

          - -Status Code **200** - -|Name|Type|Required|Restrictions|Description| -|---|---|---|---|---| -|*anonymous*|[[Extension](#schemaextension)]|false|none|none| -|» name|string|false|none|none| -|» comment|string|false|none|none| -|» default_version|string|false|none|none| -|» installed_version|string|false|none|none| - - - -## Install an extension - - - -> Code samples - -```shell -# You can also use wget -curl -X POST /extensions \ - -H 'Content-Type: application/json' \ - -H 'Accept: application/json' - -``` - -```http -POST /extensions HTTP/1.1 - -Content-Type: application/json -Accept: application/json - -``` - -```javascript -const inputBody = '{ - "name": "string", - "schema": "string", - "version": "string", - "cascade": true -}'; -const headers = { - 'Content-Type':'application/json', - 'Accept':'application/json' -}; - -fetch('/extensions', -{ - method: 'POST', - body: inputBody, - headers: headers -}) -.then(function(res) { - return res.json(); -}).then(function(body) { - console.log(body); -}); - -``` - -```ruby -require 'rest-client' -require 'json' - -headers = { - 'Content-Type' => 'application/json', - 'Accept' => 'application/json' -} - -result = RestClient.post '/extensions', - params: { - }, headers: headers - -p JSON.parse(result) - -``` - -```python -import requests -headers = { - 'Content-Type': 'application/json', - 'Accept': 'application/json' -} - -r = requests.post('/extensions', headers = headers) - -print(r.json()) - -``` - -```php - 'application/json', - 'Accept' => 'application/json', -); - -$client = new \GuzzleHttp\Client(); - -// Define array of request body. -$request_body = array(); - -try { - $response = $client->request('POST','/extensions', array( - 'headers' => $headers, - 'json' => $request_body, - ) - ); - print_r($response->getBody()->getContents()); - } - catch (\GuzzleHttp\Exception\BadResponseException $e) { - // handle exception or api errors. - print_r($e->getMessage()); - } - - // ... - -``` - -```java -URL obj = new URL("/extensions"); -HttpURLConnection con = (HttpURLConnection) obj.openConnection(); -con.setRequestMethod("POST"); -int responseCode = con.getResponseCode(); -BufferedReader in = new BufferedReader( - new InputStreamReader(con.getInputStream())); -String inputLine; -StringBuffer response = new StringBuffer(); -while ((inputLine = in.readLine()) != null) { - response.append(inputLine); -} -in.close(); -System.out.println(response.toString()); - -``` - -```go -package main - -import ( - "bytes" - "net/http" -) - -func main() { - - headers := map[string][]string{ - "Content-Type": []string{"application/json"}, - "Accept": []string{"application/json"}, - } - - data := bytes.NewBuffer([]byte{jsonReq}) - req, err := http.NewRequest("POST", "/extensions", data) - req.Header = headers - - client := &http.Client{} - resp, err := client.Do(req) - // ... -} - -``` - -`POST /extensions` - -> Body parameter - -```json -{ - "name": "string", - "schema": "string", - "version": "string", - "cascade": true -} -``` - -

          Parameters

          - -|Name|In|Type|Required|Description| -|---|---|---|---|---| -|body|body|object|true|none| -|» name|body|string|true|none| -|» schema|body|string|false|none| -|» version|body|string|false|none| -|» cascade|body|boolean|false|none| - -> Example responses - -> 200 Response - -```json -{ - "name": "string", - "comment": "string", - "default_version": "string", - "installed_version": "string" -} -``` - -

          Responses

          - -|Status|Meaning|Description|Schema| -|---|---|---|---| -|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation|[Extension](#schemaextension)| - - - -## Update/modify an extension by ID - - - -> Code samples - -```shell -# You can also use wget -curl -X PATCH /extensions/{id} \ - -H 'Content-Type: application/json' \ - -H 'Accept: application/json' - -``` - -```http -PATCH /extensions/{id} HTTP/1.1 - -Content-Type: application/json -Accept: application/json - -``` - -```javascript -const inputBody = '{ - "update": true, - "version": "string", - "schema": "string" -}'; -const headers = { - 'Content-Type':'application/json', - 'Accept':'application/json' -}; - -fetch('/extensions/{id}', -{ - method: 'PATCH', - body: inputBody, - headers: headers -}) -.then(function(res) { - return res.json(); -}).then(function(body) { - console.log(body); -}); - -``` - -```ruby -require 'rest-client' -require 'json' - -headers = { - 'Content-Type' => 'application/json', - 'Accept' => 'application/json' -} - -result = RestClient.patch '/extensions/{id}', - params: { - }, headers: headers - -p JSON.parse(result) - -``` - -```python -import requests -headers = { - 'Content-Type': 'application/json', - 'Accept': 'application/json' -} - -r = requests.patch('/extensions/{id}', headers = headers) - -print(r.json()) - -``` - -```php - 'application/json', - 'Accept' => 'application/json', -); - -$client = new \GuzzleHttp\Client(); - -// Define array of request body. -$request_body = array(); - -try { - $response = $client->request('PATCH','/extensions/{id}', array( - 'headers' => $headers, - 'json' => $request_body, - ) - ); - print_r($response->getBody()->getContents()); - } - catch (\GuzzleHttp\Exception\BadResponseException $e) { - // handle exception or api errors. - print_r($e->getMessage()); - } - - // ... - -``` - -```java -URL obj = new URL("/extensions/{id}"); -HttpURLConnection con = (HttpURLConnection) obj.openConnection(); -con.setRequestMethod("PATCH"); -int responseCode = con.getResponseCode(); -BufferedReader in = new BufferedReader( - new InputStreamReader(con.getInputStream())); -String inputLine; -StringBuffer response = new StringBuffer(); -while ((inputLine = in.readLine()) != null) { - response.append(inputLine); -} -in.close(); -System.out.println(response.toString()); - -``` - -```go -package main - -import ( - "bytes" - "net/http" -) - -func main() { - - headers := map[string][]string{ - "Content-Type": []string{"application/json"}, - "Accept": []string{"application/json"}, - } - - data := bytes.NewBuffer([]byte{jsonReq}) - req, err := http.NewRequest("PATCH", "/extensions/{id}", data) - req.Header = headers - - client := &http.Client{} - resp, err := client.Do(req) - // ... -} - -``` - -`PATCH /extensions/{id}` - -> Body parameter - -```json -{ - "update": true, - "version": "string", - "schema": "string" -} -``` - -

          Parameters

          - -|Name|In|Type|Required|Description| -|---|---|---|---|---| -|body|body|object|true|none| -|» update|body|boolean|false|none| -|» version|body|string|false|none| -|» schema|body|string|false|none| -|id|path|integer|true|none| - -> Example responses - -> 200 Response - -```json -{ - "name": "string", - "comment": "string", - "default_version": "string", - "installed_version": "string" -} -``` - -

          Responses

          - -|Status|Meaning|Description|Schema| -|---|---|---|---| -|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation|[Extension](#schemaextension)| - - - -## Uninstall an extension by ID - - - -> Code samples - -```shell -# You can also use wget -curl -X DELETE /extensions/{id} \ - -H 'Accept: application/json' - -``` - -```http -DELETE /extensions/{id} HTTP/1.1 - -Accept: application/json - -``` - -```javascript - -const headers = { - 'Accept':'application/json' -}; - -fetch('/extensions/{id}', -{ - method: 'DELETE', - - headers: headers -}) -.then(function(res) { - return res.json(); -}).then(function(body) { - console.log(body); -}); - -``` - -```ruby -require 'rest-client' -require 'json' - -headers = { - 'Accept' => 'application/json' -} - -result = RestClient.delete '/extensions/{id}', - params: { - }, headers: headers - -p JSON.parse(result) - -``` - -```python -import requests -headers = { - 'Accept': 'application/json' -} - -r = requests.delete('/extensions/{id}', headers = headers) - -print(r.json()) - -``` - -```php - 'application/json', -); - -$client = new \GuzzleHttp\Client(); - -// Define array of request body. -$request_body = array(); - -try { - $response = $client->request('DELETE','/extensions/{id}', array( - 'headers' => $headers, - 'json' => $request_body, - ) - ); - print_r($response->getBody()->getContents()); - } - catch (\GuzzleHttp\Exception\BadResponseException $e) { - // handle exception or api errors. - print_r($e->getMessage()); - } - - // ... - -``` - -```java -URL obj = new URL("/extensions/{id}"); -HttpURLConnection con = (HttpURLConnection) obj.openConnection(); -con.setRequestMethod("DELETE"); -int responseCode = con.getResponseCode(); -BufferedReader in = new BufferedReader( - new InputStreamReader(con.getInputStream())); -String inputLine; -StringBuffer response = new StringBuffer(); -while ((inputLine = in.readLine()) != null) { - response.append(inputLine); -} -in.close(); -System.out.println(response.toString()); - -``` - -```go -package main - -import ( - "bytes" - "net/http" -) - -func main() { - - headers := map[string][]string{ - "Accept": []string{"application/json"}, - } - - data := bytes.NewBuffer([]byte{jsonReq}) - req, err := http.NewRequest("DELETE", "/extensions/{id}", data) - req.Header = headers - - client := &http.Client{} - resp, err := client.Do(req) - // ... -} - -``` - -`DELETE /extensions/{id}` - -

          Parameters

          - -|Name|In|Type|Required|Description| -|---|---|---|---|---| -|id|path|integer|true|none| - -> Example responses - -> 200 Response - -```json -{ - "name": "string", - "comment": "string", - "default_version": "string", - "installed_version": "string" -} -``` - -

          Responses

          - -|Status|Meaning|Description|Schema| -|---|---|---|---| -|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation|[Extension](#schemaextension)| - - - -

          /functions

          - -## Get all functions - - - -> Code samples - -```shell -# You can also use wget -curl -X GET /functions \ - -H 'Accept: application/json' - -``` - -```http -GET /functions HTTP/1.1 - -Accept: application/json - -``` - -```javascript - -const headers = { - 'Accept':'application/json' -}; - -fetch('/functions', -{ - method: 'GET', - - headers: headers -}) -.then(function(res) { - return res.json(); -}).then(function(body) { - console.log(body); -}); - -``` - -```ruby -require 'rest-client' -require 'json' - -headers = { - 'Accept' => 'application/json' -} - -result = RestClient.get '/functions', - params: { - }, headers: headers - -p JSON.parse(result) - -``` - -```python -import requests -headers = { - 'Accept': 'application/json' -} - -r = requests.get('/functions', headers = headers) - -print(r.json()) - -``` - -```php - 'application/json', -); - -$client = new \GuzzleHttp\Client(); - -// Define array of request body. -$request_body = array(); - -try { - $response = $client->request('GET','/functions', array( - 'headers' => $headers, - 'json' => $request_body, - ) - ); - print_r($response->getBody()->getContents()); - } - catch (\GuzzleHttp\Exception\BadResponseException $e) { - // handle exception or api errors. - print_r($e->getMessage()); - } - - // ... - -``` - -```java -URL obj = new URL("/functions"); -HttpURLConnection con = (HttpURLConnection) obj.openConnection(); -con.setRequestMethod("GET"); -int responseCode = con.getResponseCode(); -BufferedReader in = new BufferedReader( - new InputStreamReader(con.getInputStream())); -String inputLine; -StringBuffer response = new StringBuffer(); -while ((inputLine = in.readLine()) != null) { - response.append(inputLine); -} -in.close(); -System.out.println(response.toString()); - -``` - -```go -package main - -import ( - "bytes" - "net/http" -) - -func main() { - - headers := map[string][]string{ - "Accept": []string{"application/json"}, - } - - data := bytes.NewBuffer([]byte{jsonReq}) - req, err := http.NewRequest("GET", "/functions", data) - req.Header = headers - - client := &http.Client{} - resp, err := client.Do(req) - // ... -} - -``` - -`GET /functions` - -

          Parameters

          - -|Name|In|Type|Required|Description| -|---|---|---|---|---| -|include_system_schemas|query|boolean|false|none| - -> Example responses - -> 200 Response - -```json -[ - { - "id": 0, - "schema": "string", - "name": "string", - "language": "string", - "definition": "string", - "argument_types": "string", - "return_type": "string" - } -] -``` - -

          Responses

          - -|Status|Meaning|Description|Schema| -|---|---|---|---| -|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation|Inline| - -

          Response Schema

          - -Status Code **200** - -|Name|Type|Required|Restrictions|Description| -|---|---|---|---|---| -|*anonymous*|[[Function](#schemafunction)]|false|none|none| -|» id|integer|false|none|none| -|» schema|string|false|none|none| -|» name|string|false|none|none| -|» language|string|false|none|none| -|» definition|string|false|none|none| -|» argument_types|string|false|none|none| -|» return_type|string|false|none|none| - - - -

          /policies

          - -## Get all policies - - - -> Code samples - -```shell -# You can also use wget -curl -X GET /policies \ - -H 'Accept: application/json' - -``` - -```http -GET /policies HTTP/1.1 - -Accept: application/json - -``` - -```javascript - -const headers = { - 'Accept':'application/json' -}; - -fetch('/policies', -{ - method: 'GET', - - headers: headers -}) -.then(function(res) { - return res.json(); -}).then(function(body) { - console.log(body); -}); - -``` - -```ruby -require 'rest-client' -require 'json' - -headers = { - 'Accept' => 'application/json' -} - -result = RestClient.get '/policies', - params: { - }, headers: headers - -p JSON.parse(result) - -``` - -```python -import requests -headers = { - 'Accept': 'application/json' -} - -r = requests.get('/policies', headers = headers) - -print(r.json()) - -``` - -```php - 'application/json', -); - -$client = new \GuzzleHttp\Client(); - -// Define array of request body. -$request_body = array(); - -try { - $response = $client->request('GET','/policies', array( - 'headers' => $headers, - 'json' => $request_body, - ) - ); - print_r($response->getBody()->getContents()); - } - catch (\GuzzleHttp\Exception\BadResponseException $e) { - // handle exception or api errors. - print_r($e->getMessage()); - } - - // ... - -``` - -```java -URL obj = new URL("/policies"); -HttpURLConnection con = (HttpURLConnection) obj.openConnection(); -con.setRequestMethod("GET"); -int responseCode = con.getResponseCode(); -BufferedReader in = new BufferedReader( - new InputStreamReader(con.getInputStream())); -String inputLine; -StringBuffer response = new StringBuffer(); -while ((inputLine = in.readLine()) != null) { - response.append(inputLine); -} -in.close(); -System.out.println(response.toString()); - -``` - -```go -package main - -import ( - "bytes" - "net/http" -) - -func main() { - - headers := map[string][]string{ - "Accept": []string{"application/json"}, - } - - data := bytes.NewBuffer([]byte{jsonReq}) - req, err := http.NewRequest("GET", "/policies", data) - req.Header = headers - - client := &http.Client{} - resp, err := client.Do(req) - // ... -} - -``` - -`GET /policies` - -

          Parameters

          - -|Name|In|Type|Required|Description| -|---|---|---|---|---| -|include_system_schemas|query|boolean|false|none| - -> Example responses - -> 200 Response - -```json -[ - { - "id": 0, - "name": "string", - "schema": "string", - "table": "string", - "table_id": 0, - "action": "PERMISSIVE", - "roles": [ - "string" - ], - "command": "string", - "definition": "string", - "check": "string" - } -] -``` - -

          Responses

          - -|Status|Meaning|Description|Schema| -|---|---|---|---| -|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation|Inline| - -

          Response Schema

          - -Status Code **200** - -|Name|Type|Required|Restrictions|Description| -|---|---|---|---|---| -|*anonymous*|[[Policy](#schemapolicy)]|false|none|none| -|» id|integer|false|none|none| -|» name|string|false|none|none| -|» schema|string|false|none|none| -|» table|string|false|none|none| -|» table_id|integer|false|none|none| -|» action|string|false|none|none| -|» roles|[string]|false|none|none| -|» command|string|false|none|none| -|» definition|string|false|none|none| -|» check|string¦null|false|none|none| - -#### Enumerated Values - -|Property|Value| -|---|---| -|action|PERMISSIVE| -|action|RESTRICTIVE| - - - -## Create a policy - - - -> Code samples - -```shell -# You can also use wget -curl -X POST /policies \ - -H 'Content-Type: application/json' \ - -H 'Accept: application/json' - -``` - -```http -POST /policies HTTP/1.1 - -Content-Type: application/json -Accept: application/json - -``` - -```javascript -const inputBody = '{ - "name": "string", - "schema": "string", - "table": "string" -}'; -const headers = { - 'Content-Type':'application/json', - 'Accept':'application/json' -}; - -fetch('/policies', -{ - method: 'POST', - body: inputBody, - headers: headers -}) -.then(function(res) { - return res.json(); -}).then(function(body) { - console.log(body); -}); - -``` - -```ruby -require 'rest-client' -require 'json' - -headers = { - 'Content-Type' => 'application/json', - 'Accept' => 'application/json' -} - -result = RestClient.post '/policies', - params: { - }, headers: headers - -p JSON.parse(result) - -``` - -```python -import requests -headers = { - 'Content-Type': 'application/json', - 'Accept': 'application/json' -} - -r = requests.post('/policies', headers = headers) - -print(r.json()) - -``` - -```php - 'application/json', - 'Accept' => 'application/json', -); - -$client = new \GuzzleHttp\Client(); - -// Define array of request body. -$request_body = array(); - -try { - $response = $client->request('POST','/policies', array( - 'headers' => $headers, - 'json' => $request_body, - ) - ); - print_r($response->getBody()->getContents()); - } - catch (\GuzzleHttp\Exception\BadResponseException $e) { - // handle exception or api errors. - print_r($e->getMessage()); - } - - // ... - -``` - -```java -URL obj = new URL("/policies"); -HttpURLConnection con = (HttpURLConnection) obj.openConnection(); -con.setRequestMethod("POST"); -int responseCode = con.getResponseCode(); -BufferedReader in = new BufferedReader( - new InputStreamReader(con.getInputStream())); -String inputLine; -StringBuffer response = new StringBuffer(); -while ((inputLine = in.readLine()) != null) { - response.append(inputLine); -} -in.close(); -System.out.println(response.toString()); - -``` - -```go -package main - -import ( - "bytes" - "net/http" -) - -func main() { - - headers := map[string][]string{ - "Content-Type": []string{"application/json"}, - "Accept": []string{"application/json"}, - } - - data := bytes.NewBuffer([]byte{jsonReq}) - req, err := http.NewRequest("POST", "/policies", data) - req.Header = headers - - client := &http.Client{} - resp, err := client.Do(req) - // ... -} - -``` - -`POST /policies` - -> Body parameter - -```json -{ - "name": "string", - "schema": "string", - "table": "string" -} -``` - -

          Parameters

          - -|Name|In|Type|Required|Description| -|---|---|---|---|---| -|body|body|object|true|none| -|» name|body|string|true|none| -|» schema|body|string|false|none| -|» table|body|string|true|none| - -> Example responses - -> 200 Response - -```json -{ - "id": 0, - "name": "string", - "schema": "string", - "table": "string", - "table_id": 0, - "action": "PERMISSIVE", - "roles": [ - "string" - ], - "command": "string", - "definition": "string", - "check": "string" -} -``` - -

          Responses

          - -|Status|Meaning|Description|Schema| -|---|---|---|---| -|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation|[Policy](#schemapolicy)| - - - -## Update a policy by ID - - - -> Code samples - -```shell -# You can also use wget -curl -X PATCH /policies/{id} \ - -H 'Content-Type: application/json' \ - -H 'Accept: application/json' - -``` - -```http -PATCH /policies/{id} HTTP/1.1 - -Content-Type: application/json -Accept: application/json - -``` - -```javascript -const inputBody = '{ - "name": "string", - "schema": "string", - "table": "string" -}'; -const headers = { - 'Content-Type':'application/json', - 'Accept':'application/json' -}; - -fetch('/policies/{id}', -{ - method: 'PATCH', - body: inputBody, - headers: headers -}) -.then(function(res) { - return res.json(); -}).then(function(body) { - console.log(body); -}); - -``` - -```ruby -require 'rest-client' -require 'json' - -headers = { - 'Content-Type' => 'application/json', - 'Accept' => 'application/json' -} - -result = RestClient.patch '/policies/{id}', - params: { - }, headers: headers - -p JSON.parse(result) - -``` - -```python -import requests -headers = { - 'Content-Type': 'application/json', - 'Accept': 'application/json' -} - -r = requests.patch('/policies/{id}', headers = headers) - -print(r.json()) - -``` - -```php - 'application/json', - 'Accept' => 'application/json', -); - -$client = new \GuzzleHttp\Client(); - -// Define array of request body. -$request_body = array(); - -try { - $response = $client->request('PATCH','/policies/{id}', array( - 'headers' => $headers, - 'json' => $request_body, - ) - ); - print_r($response->getBody()->getContents()); - } - catch (\GuzzleHttp\Exception\BadResponseException $e) { - // handle exception or api errors. - print_r($e->getMessage()); - } - - // ... - -``` - -```java -URL obj = new URL("/policies/{id}"); -HttpURLConnection con = (HttpURLConnection) obj.openConnection(); -con.setRequestMethod("PATCH"); -int responseCode = con.getResponseCode(); -BufferedReader in = new BufferedReader( - new InputStreamReader(con.getInputStream())); -String inputLine; -StringBuffer response = new StringBuffer(); -while ((inputLine = in.readLine()) != null) { - response.append(inputLine); -} -in.close(); -System.out.println(response.toString()); - -``` - -```go -package main - -import ( - "bytes" - "net/http" -) - -func main() { - - headers := map[string][]string{ - "Content-Type": []string{"application/json"}, - "Accept": []string{"application/json"}, - } - - data := bytes.NewBuffer([]byte{jsonReq}) - req, err := http.NewRequest("PATCH", "/policies/{id}", data) - req.Header = headers - - client := &http.Client{} - resp, err := client.Do(req) - // ... -} - -``` - -`PATCH /policies/{id}` - -> Body parameter - -```json -{ - "name": "string", - "schema": "string", - "table": "string" -} -``` - -

          Parameters

          - -|Name|In|Type|Required|Description| -|---|---|---|---|---| -|body|body|object|true|none| -|» name|body|string|false|none| -|» schema|body|string|false|none| -|» table|body|string|false|none| -|id|path|integer|true|none| - -> Example responses - -> 200 Response - -```json -{ - "id": 0, - "name": "string", - "schema": "string", - "table": "string", - "table_id": 0, - "action": "PERMISSIVE", - "roles": [ - "string" - ], - "command": "string", - "definition": "string", - "check": "string" -} -``` - -

          Responses

          - -|Status|Meaning|Description|Schema| -|---|---|---|---| -|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation|[Policy](#schemapolicy)| - - - -## Delete a policy by ID - - - -> Code samples - -```shell -# You can also use wget -curl -X DELETE /policies/{id} \ - -H 'Accept: application/json' - -``` - -```http -DELETE /policies/{id} HTTP/1.1 - -Accept: application/json - -``` - -```javascript - -const headers = { - 'Accept':'application/json' -}; - -fetch('/policies/{id}', -{ - method: 'DELETE', - - headers: headers -}) -.then(function(res) { - return res.json(); -}).then(function(body) { - console.log(body); -}); - -``` - -```ruby -require 'rest-client' -require 'json' - -headers = { - 'Accept' => 'application/json' -} - -result = RestClient.delete '/policies/{id}', - params: { - }, headers: headers - -p JSON.parse(result) - -``` - -```python -import requests -headers = { - 'Accept': 'application/json' -} - -r = requests.delete('/policies/{id}', headers = headers) - -print(r.json()) - -``` - -```php - 'application/json', -); - -$client = new \GuzzleHttp\Client(); - -// Define array of request body. -$request_body = array(); - -try { - $response = $client->request('DELETE','/policies/{id}', array( - 'headers' => $headers, - 'json' => $request_body, - ) - ); - print_r($response->getBody()->getContents()); - } - catch (\GuzzleHttp\Exception\BadResponseException $e) { - // handle exception or api errors. - print_r($e->getMessage()); - } - - // ... - -``` - -```java -URL obj = new URL("/policies/{id}"); -HttpURLConnection con = (HttpURLConnection) obj.openConnection(); -con.setRequestMethod("DELETE"); -int responseCode = con.getResponseCode(); -BufferedReader in = new BufferedReader( - new InputStreamReader(con.getInputStream())); -String inputLine; -StringBuffer response = new StringBuffer(); -while ((inputLine = in.readLine()) != null) { - response.append(inputLine); -} -in.close(); -System.out.println(response.toString()); - -``` - -```go -package main - -import ( - "bytes" - "net/http" -) - -func main() { - - headers := map[string][]string{ - "Accept": []string{"application/json"}, - } - - data := bytes.NewBuffer([]byte{jsonReq}) - req, err := http.NewRequest("DELETE", "/policies/{id}", data) - req.Header = headers - - client := &http.Client{} - resp, err := client.Do(req) - // ... -} - -``` - -`DELETE /policies/{id}` - -

          Parameters

          - -|Name|In|Type|Required|Description| -|---|---|---|---|---| -|id|path|integer|true|none| - -> Example responses - -> 200 Response - -```json -{ - "id": 0, - "name": "string", - "schema": "string", - "table": "string", - "table_id": 0, - "action": "PERMISSIVE", - "roles": [ - "string" - ], - "command": "string", - "definition": "string", - "check": "string" -} -``` - -

          Responses

          - -|Status|Meaning|Description|Schema| -|---|---|---|---| -|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation|[Policy](#schemapolicy)| - - - -

          /roles

          - -## Get all roles - - - -> Code samples - -```shell -# You can also use wget -curl -X GET /roles \ - -H 'Accept: application/json' - -``` - -```http -GET /roles HTTP/1.1 - -Accept: application/json - -``` - -```javascript - -const headers = { - 'Accept':'application/json' -}; - -fetch('/roles', -{ - method: 'GET', - - headers: headers -}) -.then(function(res) { - return res.json(); -}).then(function(body) { - console.log(body); -}); - -``` - -```ruby -require 'rest-client' -require 'json' - -headers = { - 'Accept' => 'application/json' -} - -result = RestClient.get '/roles', - params: { - }, headers: headers - -p JSON.parse(result) - -``` - -```python -import requests -headers = { - 'Accept': 'application/json' -} - -r = requests.get('/roles', headers = headers) - -print(r.json()) - -``` - -```php - 'application/json', -); - -$client = new \GuzzleHttp\Client(); - -// Define array of request body. -$request_body = array(); - -try { - $response = $client->request('GET','/roles', array( - 'headers' => $headers, - 'json' => $request_body, - ) - ); - print_r($response->getBody()->getContents()); - } - catch (\GuzzleHttp\Exception\BadResponseException $e) { - // handle exception or api errors. - print_r($e->getMessage()); - } - - // ... - -``` - -```java -URL obj = new URL("/roles"); -HttpURLConnection con = (HttpURLConnection) obj.openConnection(); -con.setRequestMethod("GET"); -int responseCode = con.getResponseCode(); -BufferedReader in = new BufferedReader( - new InputStreamReader(con.getInputStream())); -String inputLine; -StringBuffer response = new StringBuffer(); -while ((inputLine = in.readLine()) != null) { - response.append(inputLine); -} -in.close(); -System.out.println(response.toString()); - -``` - -```go -package main - -import ( - "bytes" - "net/http" -) - -func main() { - - headers := map[string][]string{ - "Accept": []string{"application/json"}, - } - - data := bytes.NewBuffer([]byte{jsonReq}) - req, err := http.NewRequest("GET", "/roles", data) - req.Header = headers - - client := &http.Client{} - resp, err := client.Do(req) - // ... -} - -``` - -`GET /roles` - -

          Parameters

          - -|Name|In|Type|Required|Description| -|---|---|---|---|---| -|include_system_schemas|query|boolean|false|none| - -> Example responses - -> 200 Response - -```json -[ - { - "id": 0, - "name": "string", - "is_superuser": true, - "can_create_db": true, - "can_create_role": true, - "inherit_role": true, - "can_login": true, - "is_replication_role": true, - "can_bypass_rls": true, - "active_connections": 0, - "connection_limit": 0, - "password": "string", - "valid_until": "string", - "config": "string", - "grants": [ - { - "table_id": 0, - "grantor": "string", - "grantee": "string", - "catalog": "string", - "schema": "string", - "table_name": "string", - "privilege_type": "string", - "is_grantable": true, - "with_hierarchy": true - } - ] - } -] -``` - -

          Responses

          - -|Status|Meaning|Description|Schema| -|---|---|---|---| -|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation|Inline| - -

          Response Schema

          - -Status Code **200** - -|Name|Type|Required|Restrictions|Description| -|---|---|---|---|---| -|*anonymous*|[[Role](#schemarole)]|false|none|none| -|» id|integer|false|none|none| -|» name|string|false|none|none| -|» is_superuser|boolean|false|none|none| -|» can_create_db|boolean|false|none|none| -|» can_create_role|boolean|false|none|none| -|» inherit_role|boolean|false|none|none| -|» can_login|boolean|false|none|none| -|» is_replication_role|boolean|false|none|none| -|» can_bypass_rls|boolean|false|none|none| -|» active_connections|integer|false|none|none| -|» connection_limit|integer|false|none|none| -|» password|string|false|none|none| -|» valid_until|string¦null|false|none|none| -|» config|string¦null|false|none|none| -|» grants|[[Grant](#schemagrant)]|false|none|none| -|»» table_id|integer|false|none|none| -|»» grantor|string|false|none|none| -|»» grantee|string|false|none|none| -|»» catalog|string|false|none|none| -|»» schema|string|false|none|none| -|»» table_name|string|false|none|none| -|»» privilege_type|string|false|none|none| -|»» is_grantable|boolean|false|none|none| -|»» with_hierarchy|boolean|false|none|none| - - - -## Create a role - - - -> Code samples - -```shell -# You can also use wget -curl -X POST /roles \ - -H 'Content-Type: application/json' \ - -H 'Accept: application/json' - -``` - -```http -POST /roles HTTP/1.1 - -Content-Type: application/json -Accept: application/json - -``` - -```javascript -const inputBody = '{ - "name": "string", - "is_superuser": true, - "can_create_db": true, - "can_create_role": true, - "inherit_role": true, - "can_login": true, - "is_replication_role": true, - "can_bypass_rls": true, - "connection_limit": 0, - "password": "string", - "valid_until": "string", - "member_of": [ - "string" - ], - "members": [ - "string" - ], - "admins": [ - "string" - ] -}'; -const headers = { - 'Content-Type':'application/json', - 'Accept':'application/json' -}; - -fetch('/roles', -{ - method: 'POST', - body: inputBody, - headers: headers -}) -.then(function(res) { - return res.json(); -}).then(function(body) { - console.log(body); -}); - -``` - -```ruby -require 'rest-client' -require 'json' - -headers = { - 'Content-Type' => 'application/json', - 'Accept' => 'application/json' -} - -result = RestClient.post '/roles', - params: { - }, headers: headers - -p JSON.parse(result) - -``` - -```python -import requests -headers = { - 'Content-Type': 'application/json', - 'Accept': 'application/json' -} - -r = requests.post('/roles', headers = headers) - -print(r.json()) - -``` - -```php - 'application/json', - 'Accept' => 'application/json', -); - -$client = new \GuzzleHttp\Client(); - -// Define array of request body. -$request_body = array(); - -try { - $response = $client->request('POST','/roles', array( - 'headers' => $headers, - 'json' => $request_body, - ) - ); - print_r($response->getBody()->getContents()); - } - catch (\GuzzleHttp\Exception\BadResponseException $e) { - // handle exception or api errors. - print_r($e->getMessage()); - } - - // ... - -``` - -```java -URL obj = new URL("/roles"); -HttpURLConnection con = (HttpURLConnection) obj.openConnection(); -con.setRequestMethod("POST"); -int responseCode = con.getResponseCode(); -BufferedReader in = new BufferedReader( - new InputStreamReader(con.getInputStream())); -String inputLine; -StringBuffer response = new StringBuffer(); -while ((inputLine = in.readLine()) != null) { - response.append(inputLine); -} -in.close(); -System.out.println(response.toString()); - -``` - -```go -package main - -import ( - "bytes" - "net/http" -) - -func main() { - - headers := map[string][]string{ - "Content-Type": []string{"application/json"}, - "Accept": []string{"application/json"}, - } - - data := bytes.NewBuffer([]byte{jsonReq}) - req, err := http.NewRequest("POST", "/roles", data) - req.Header = headers - - client := &http.Client{} - resp, err := client.Do(req) - // ... -} - -``` - -`POST /roles` - -> Body parameter - -```json -{ - "name": "string", - "is_superuser": true, - "can_create_db": true, - "can_create_role": true, - "inherit_role": true, - "can_login": true, - "is_replication_role": true, - "can_bypass_rls": true, - "connection_limit": 0, - "password": "string", - "valid_until": "string", - "member_of": [ - "string" - ], - "members": [ - "string" - ], - "admins": [ - "string" - ] -} -``` - -

          Parameters

          - -|Name|In|Type|Required|Description| -|---|---|---|---|---| -|body|body|object|true|none| -|» name|body|string|true|none| -|» is_superuser|body|boolean|false|none| -|» can_create_db|body|boolean|false|none| -|» can_create_role|body|boolean|false|none| -|» inherit_role|body|boolean|false|none| -|» can_login|body|boolean|false|none| -|» is_replication_role|body|boolean|false|none| -|» can_bypass_rls|body|boolean|false|none| -|» connection_limit|body|integer|false|none| -|» password|body|string|false|none| -|» valid_until|body|string|false|none| -|» member_of|body|[string]|false|none| -|» members|body|[string]|false|none| -|» admins|body|[string]|false|none| - -> Example responses - -> 200 Response - -```json -{ - "id": 0, - "name": "string", - "is_superuser": true, - "can_create_db": true, - "can_create_role": true, - "inherit_role": true, - "can_login": true, - "is_replication_role": true, - "can_bypass_rls": true, - "active_connections": 0, - "connection_limit": 0, - "password": "string", - "valid_until": "string", - "config": "string", - "grants": [ - { - "table_id": 0, - "grantor": "string", - "grantee": "string", - "catalog": "string", - "schema": "string", - "table_name": "string", - "privilege_type": "string", - "is_grantable": true, - "with_hierarchy": true - } - ] -} -``` - -

          Responses

          - -|Status|Meaning|Description|Schema| -|---|---|---|---| -|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation|[Role](#schemarole)| - - - -## Update a role by ID - - - -> Code samples - -```shell -# You can also use wget -curl -X PATCH /roles/{id} \ - -H 'Content-Type: application/json' \ - -H 'Accept: application/json' - -``` - -```http -PATCH /roles/{id} HTTP/1.1 - -Content-Type: application/json -Accept: application/json - -``` - -```javascript -const inputBody = '{ - "name": "string", - "is_superuser": true, - "can_create_db": true, - "can_create_role": true, - "inherit_role": true, - "can_login": true, - "is_replication_role": true, - "can_bypass_rls": true, - "connection_limit": 0, - "password": "string", - "valid_until": "string" -}'; -const headers = { - 'Content-Type':'application/json', - 'Accept':'application/json' -}; - -fetch('/roles/{id}', -{ - method: 'PATCH', - body: inputBody, - headers: headers -}) -.then(function(res) { - return res.json(); -}).then(function(body) { - console.log(body); -}); - -``` - -```ruby -require 'rest-client' -require 'json' - -headers = { - 'Content-Type' => 'application/json', - 'Accept' => 'application/json' -} - -result = RestClient.patch '/roles/{id}', - params: { - }, headers: headers - -p JSON.parse(result) - -``` - -```python -import requests -headers = { - 'Content-Type': 'application/json', - 'Accept': 'application/json' -} - -r = requests.patch('/roles/{id}', headers = headers) - -print(r.json()) - -``` - -```php - 'application/json', - 'Accept' => 'application/json', -); - -$client = new \GuzzleHttp\Client(); - -// Define array of request body. -$request_body = array(); - -try { - $response = $client->request('PATCH','/roles/{id}', array( - 'headers' => $headers, - 'json' => $request_body, - ) - ); - print_r($response->getBody()->getContents()); - } - catch (\GuzzleHttp\Exception\BadResponseException $e) { - // handle exception or api errors. - print_r($e->getMessage()); - } - - // ... - -``` - -```java -URL obj = new URL("/roles/{id}"); -HttpURLConnection con = (HttpURLConnection) obj.openConnection(); -con.setRequestMethod("PATCH"); -int responseCode = con.getResponseCode(); -BufferedReader in = new BufferedReader( - new InputStreamReader(con.getInputStream())); -String inputLine; -StringBuffer response = new StringBuffer(); -while ((inputLine = in.readLine()) != null) { - response.append(inputLine); -} -in.close(); -System.out.println(response.toString()); - -``` - -```go -package main - -import ( - "bytes" - "net/http" -) - -func main() { - - headers := map[string][]string{ - "Content-Type": []string{"application/json"}, - "Accept": []string{"application/json"}, - } - - data := bytes.NewBuffer([]byte{jsonReq}) - req, err := http.NewRequest("PATCH", "/roles/{id}", data) - req.Header = headers - - client := &http.Client{} - resp, err := client.Do(req) - // ... -} - -``` - -`PATCH /roles/{id}` - -> Body parameter - -```json -{ - "name": "string", - "is_superuser": true, - "can_create_db": true, - "can_create_role": true, - "inherit_role": true, - "can_login": true, - "is_replication_role": true, - "can_bypass_rls": true, - "connection_limit": 0, - "password": "string", - "valid_until": "string" -} -``` - -

          Parameters

          - -|Name|In|Type|Required|Description| -|---|---|---|---|---| -|body|body|object|true|none| -|» name|body|string|false|none| -|» is_superuser|body|boolean|false|none| -|» can_create_db|body|boolean|false|none| -|» can_create_role|body|boolean|false|none| -|» inherit_role|body|boolean|false|none| -|» can_login|body|boolean|false|none| -|» is_replication_role|body|boolean|false|none| -|» can_bypass_rls|body|boolean|false|none| -|» connection_limit|body|integer|false|none| -|» password|body|string|false|none| -|» valid_until|body|string|false|none| -|id|path|integer|true|none| - -> Example responses - -> 200 Response - -```json -{ - "id": 0, - "name": "string", - "is_superuser": true, - "can_create_db": true, - "can_create_role": true, - "inherit_role": true, - "can_login": true, - "is_replication_role": true, - "can_bypass_rls": true, - "active_connections": 0, - "connection_limit": 0, - "password": "string", - "valid_until": "string", - "config": "string", - "grants": [ - { - "table_id": 0, - "grantor": "string", - "grantee": "string", - "catalog": "string", - "schema": "string", - "table_name": "string", - "privilege_type": "string", - "is_grantable": true, - "with_hierarchy": true - } - ] -} -``` - -

          Responses

          - -|Status|Meaning|Description|Schema| -|---|---|---|---| -|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation|[Role](#schemarole)| - - - -## Delete a role by ID - - - -> Code samples - -```shell -# You can also use wget -curl -X DELETE /roles/{id} \ - -H 'Accept: application/json' - -``` - -```http -DELETE /roles/{id} HTTP/1.1 - -Accept: application/json - -``` - -```javascript - -const headers = { - 'Accept':'application/json' -}; - -fetch('/roles/{id}', -{ - method: 'DELETE', - - headers: headers -}) -.then(function(res) { - return res.json(); -}).then(function(body) { - console.log(body); -}); - -``` - -```ruby -require 'rest-client' -require 'json' - -headers = { - 'Accept' => 'application/json' -} - -result = RestClient.delete '/roles/{id}', - params: { - }, headers: headers - -p JSON.parse(result) - -``` - -```python -import requests -headers = { - 'Accept': 'application/json' -} - -r = requests.delete('/roles/{id}', headers = headers) - -print(r.json()) - -``` - -```php - 'application/json', -); - -$client = new \GuzzleHttp\Client(); - -// Define array of request body. -$request_body = array(); - -try { - $response = $client->request('DELETE','/roles/{id}', array( - 'headers' => $headers, - 'json' => $request_body, - ) - ); - print_r($response->getBody()->getContents()); - } - catch (\GuzzleHttp\Exception\BadResponseException $e) { - // handle exception or api errors. - print_r($e->getMessage()); - } - - // ... - -``` - -```java -URL obj = new URL("/roles/{id}"); -HttpURLConnection con = (HttpURLConnection) obj.openConnection(); -con.setRequestMethod("DELETE"); -int responseCode = con.getResponseCode(); -BufferedReader in = new BufferedReader( - new InputStreamReader(con.getInputStream())); -String inputLine; -StringBuffer response = new StringBuffer(); -while ((inputLine = in.readLine()) != null) { - response.append(inputLine); -} -in.close(); -System.out.println(response.toString()); - -``` - -```go -package main - -import ( - "bytes" - "net/http" -) - -func main() { - - headers := map[string][]string{ - "Accept": []string{"application/json"}, - } - - data := bytes.NewBuffer([]byte{jsonReq}) - req, err := http.NewRequest("DELETE", "/roles/{id}", data) - req.Header = headers - - client := &http.Client{} - resp, err := client.Do(req) - // ... -} - -``` - -`DELETE /roles/{id}` - -

          Parameters

          - -|Name|In|Type|Required|Description| -|---|---|---|---|---| -|id|path|integer|true|none| - -> Example responses - -> 200 Response - -```json -{ - "id": 0, - "name": "string", - "is_superuser": true, - "can_create_db": true, - "can_create_role": true, - "inherit_role": true, - "can_login": true, - "is_replication_role": true, - "can_bypass_rls": true, - "active_connections": 0, - "connection_limit": 0, - "password": "string", - "valid_until": "string", - "config": "string", - "grants": [ - { - "table_id": 0, - "grantor": "string", - "grantee": "string", - "catalog": "string", - "schema": "string", - "table_name": "string", - "privilege_type": "string", - "is_grantable": true, - "with_hierarchy": true - } - ] -} -``` - -

          Responses

          - -|Status|Meaning|Description|Schema| -|---|---|---|---| -|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation|[Role](#schemarole)| - - - -

          /schemas

          - -## Get all schemas - - - -> Code samples - -```shell -# You can also use wget -curl -X GET /schemas \ - -H 'Accept: application/json' - -``` - -```http -GET /schemas HTTP/1.1 - -Accept: application/json - -``` - -```javascript - -const headers = { - 'Accept':'application/json' -}; - -fetch('/schemas', -{ - method: 'GET', - - headers: headers -}) -.then(function(res) { - return res.json(); -}).then(function(body) { - console.log(body); -}); - -``` - -```ruby -require 'rest-client' -require 'json' - -headers = { - 'Accept' => 'application/json' -} - -result = RestClient.get '/schemas', - params: { - }, headers: headers - -p JSON.parse(result) - -``` - -```python -import requests -headers = { - 'Accept': 'application/json' -} - -r = requests.get('/schemas', headers = headers) - -print(r.json()) - -``` - -```php - 'application/json', -); - -$client = new \GuzzleHttp\Client(); - -// Define array of request body. -$request_body = array(); - -try { - $response = $client->request('GET','/schemas', array( - 'headers' => $headers, - 'json' => $request_body, - ) - ); - print_r($response->getBody()->getContents()); - } - catch (\GuzzleHttp\Exception\BadResponseException $e) { - // handle exception or api errors. - print_r($e->getMessage()); - } - - // ... - -``` - -```java -URL obj = new URL("/schemas"); -HttpURLConnection con = (HttpURLConnection) obj.openConnection(); -con.setRequestMethod("GET"); -int responseCode = con.getResponseCode(); -BufferedReader in = new BufferedReader( - new InputStreamReader(con.getInputStream())); -String inputLine; -StringBuffer response = new StringBuffer(); -while ((inputLine = in.readLine()) != null) { - response.append(inputLine); -} -in.close(); -System.out.println(response.toString()); - -``` - -```go -package main - -import ( - "bytes" - "net/http" -) - -func main() { - - headers := map[string][]string{ - "Accept": []string{"application/json"}, - } - - data := bytes.NewBuffer([]byte{jsonReq}) - req, err := http.NewRequest("GET", "/schemas", data) - req.Header = headers - - client := &http.Client{} - resp, err := client.Do(req) - // ... -} - -``` - -`GET /schemas` - -

          Parameters

          - -|Name|In|Type|Required|Description| -|---|---|---|---|---| -|include_system_schemas|query|boolean|false|none| - -> Example responses - -> 200 Response - -```json -[ - { - "id": 0, - "catalog_name": "string", - "name": "string", - "owner": "string", - "default_character_set_catalog": "string", - "default_character_set_schema": "string", - "default_character_set_name": "string", - "sql_path": "string" - } -] -``` - -

          Responses

          - -|Status|Meaning|Description|Schema| -|---|---|---|---| -|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation|Inline| - -

          Response Schema

          - -Status Code **200** - -|Name|Type|Required|Restrictions|Description| -|---|---|---|---|---| -|*anonymous*|[[Schema](#schemaschema)]|false|none|none| -|» id|integer|false|none|none| -|» catalog_name|string|false|none|none| -|» name|string|false|none|none| -|» owner|string|false|none|none| -|» default_character_set_catalog|string¦null|false|none|none| -|» default_character_set_schema|string¦null|false|none|none| -|» default_character_set_name|string¦null|false|none|none| -|» sql_path|string¦null|false|none|none| - - - -## Create a schema - - - -> Code samples - -```shell -# You can also use wget -curl -X POST /schemas \ - -H 'Content-Type: application/json' \ - -H 'Accept: application/json' - -``` - -```http -POST /schemas HTTP/1.1 - -Content-Type: application/json -Accept: application/json - -``` - -```javascript -const inputBody = '{ - "name": "string", - "owner": "string" -}'; -const headers = { - 'Content-Type':'application/json', - 'Accept':'application/json' -}; - -fetch('/schemas', -{ - method: 'POST', - body: inputBody, - headers: headers -}) -.then(function(res) { - return res.json(); -}).then(function(body) { - console.log(body); -}); - -``` - -```ruby -require 'rest-client' -require 'json' - -headers = { - 'Content-Type' => 'application/json', - 'Accept' => 'application/json' -} - -result = RestClient.post '/schemas', - params: { - }, headers: headers - -p JSON.parse(result) - -``` - -```python -import requests -headers = { - 'Content-Type': 'application/json', - 'Accept': 'application/json' -} - -r = requests.post('/schemas', headers = headers) - -print(r.json()) - -``` - -```php - 'application/json', - 'Accept' => 'application/json', -); - -$client = new \GuzzleHttp\Client(); - -// Define array of request body. -$request_body = array(); - -try { - $response = $client->request('POST','/schemas', array( - 'headers' => $headers, - 'json' => $request_body, - ) - ); - print_r($response->getBody()->getContents()); - } - catch (\GuzzleHttp\Exception\BadResponseException $e) { - // handle exception or api errors. - print_r($e->getMessage()); - } - - // ... - -``` - -```java -URL obj = new URL("/schemas"); -HttpURLConnection con = (HttpURLConnection) obj.openConnection(); -con.setRequestMethod("POST"); -int responseCode = con.getResponseCode(); -BufferedReader in = new BufferedReader( - new InputStreamReader(con.getInputStream())); -String inputLine; -StringBuffer response = new StringBuffer(); -while ((inputLine = in.readLine()) != null) { - response.append(inputLine); -} -in.close(); -System.out.println(response.toString()); - -``` - -```go -package main - -import ( - "bytes" - "net/http" -) - -func main() { - - headers := map[string][]string{ - "Content-Type": []string{"application/json"}, - "Accept": []string{"application/json"}, - } - - data := bytes.NewBuffer([]byte{jsonReq}) - req, err := http.NewRequest("POST", "/schemas", data) - req.Header = headers - - client := &http.Client{} - resp, err := client.Do(req) - // ... -} - -``` - -`POST /schemas` - -> Body parameter - -```json -{ - "name": "string", - "owner": "string" -} -``` - -

          Parameters

          - -|Name|In|Type|Required|Description| -|---|---|---|---|---| -|body|body|object|true|none| -|» name|body|string|true|none| -|» owner|body|string|true|none| - -> Example responses - -> 200 Response - -```json -{ - "id": 0, - "catalog_name": "string", - "name": "string", - "owner": "string", - "default_character_set_catalog": "string", - "default_character_set_schema": "string", - "default_character_set_name": "string", - "sql_path": "string" -} -``` - -

          Responses

          - -|Status|Meaning|Description|Schema| -|---|---|---|---| -|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation|[Schema](#schemaschema)| - - - -## Update a schema by ID - - - -> Code samples - -```shell -# You can also use wget -curl -X PATCH /schemas/{id} \ - -H 'Content-Type: application/json' \ - -H 'Accept: application/json' - -``` - -```http -PATCH /schemas/{id} HTTP/1.1 - -Content-Type: application/json -Accept: application/json - -``` - -```javascript -const inputBody = '{ - "name": "string", - "owner": "string" -}'; -const headers = { - 'Content-Type':'application/json', - 'Accept':'application/json' -}; - -fetch('/schemas/{id}', -{ - method: 'PATCH', - body: inputBody, - headers: headers -}) -.then(function(res) { - return res.json(); -}).then(function(body) { - console.log(body); -}); - -``` - -```ruby -require 'rest-client' -require 'json' - -headers = { - 'Content-Type' => 'application/json', - 'Accept' => 'application/json' -} - -result = RestClient.patch '/schemas/{id}', - params: { - }, headers: headers - -p JSON.parse(result) - -``` - -```python -import requests -headers = { - 'Content-Type': 'application/json', - 'Accept': 'application/json' -} - -r = requests.patch('/schemas/{id}', headers = headers) - -print(r.json()) - -``` - -```php - 'application/json', - 'Accept' => 'application/json', -); - -$client = new \GuzzleHttp\Client(); - -// Define array of request body. -$request_body = array(); - -try { - $response = $client->request('PATCH','/schemas/{id}', array( - 'headers' => $headers, - 'json' => $request_body, - ) - ); - print_r($response->getBody()->getContents()); - } - catch (\GuzzleHttp\Exception\BadResponseException $e) { - // handle exception or api errors. - print_r($e->getMessage()); - } - - // ... - -``` - -```java -URL obj = new URL("/schemas/{id}"); -HttpURLConnection con = (HttpURLConnection) obj.openConnection(); -con.setRequestMethod("PATCH"); -int responseCode = con.getResponseCode(); -BufferedReader in = new BufferedReader( - new InputStreamReader(con.getInputStream())); -String inputLine; -StringBuffer response = new StringBuffer(); -while ((inputLine = in.readLine()) != null) { - response.append(inputLine); -} -in.close(); -System.out.println(response.toString()); - -``` - -```go -package main - -import ( - "bytes" - "net/http" -) - -func main() { - - headers := map[string][]string{ - "Content-Type": []string{"application/json"}, - "Accept": []string{"application/json"}, - } - - data := bytes.NewBuffer([]byte{jsonReq}) - req, err := http.NewRequest("PATCH", "/schemas/{id}", data) - req.Header = headers - - client := &http.Client{} - resp, err := client.Do(req) - // ... -} - -``` - -`PATCH /schemas/{id}` - -> Body parameter - -```json -{ - "name": "string", - "owner": "string" -} -``` - -

          Parameters

          - -|Name|In|Type|Required|Description| -|---|---|---|---|---| -|body|body|object|true|none| -|» name|body|string|false|none| -|» owner|body|string|false|none| -|id|path|integer|true|none| - -> Example responses - -> 200 Response - -```json -{ - "id": 0, - "catalog_name": "string", - "name": "string", - "owner": "string", - "default_character_set_catalog": "string", - "default_character_set_schema": "string", - "default_character_set_name": "string", - "sql_path": "string" -} -``` - -

          Responses

          - -|Status|Meaning|Description|Schema| -|---|---|---|---| -|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation|[Schema](#schemaschema)| - - - -## Delete a schema by ID - - - -> Code samples - -```shell -# You can also use wget -curl -X DELETE /schemas/{id} \ - -H 'Accept: application/json' - -``` - -```http -DELETE /schemas/{id} HTTP/1.1 - -Accept: application/json - -``` - -```javascript - -const headers = { - 'Accept':'application/json' -}; - -fetch('/schemas/{id}', -{ - method: 'DELETE', - - headers: headers -}) -.then(function(res) { - return res.json(); -}).then(function(body) { - console.log(body); -}); - -``` - -```ruby -require 'rest-client' -require 'json' - -headers = { - 'Accept' => 'application/json' -} - -result = RestClient.delete '/schemas/{id}', - params: { - }, headers: headers - -p JSON.parse(result) - -``` - -```python -import requests -headers = { - 'Accept': 'application/json' -} - -r = requests.delete('/schemas/{id}', headers = headers) - -print(r.json()) - -``` - -```php - 'application/json', -); - -$client = new \GuzzleHttp\Client(); - -// Define array of request body. -$request_body = array(); - -try { - $response = $client->request('DELETE','/schemas/{id}', array( - 'headers' => $headers, - 'json' => $request_body, - ) - ); - print_r($response->getBody()->getContents()); - } - catch (\GuzzleHttp\Exception\BadResponseException $e) { - // handle exception or api errors. - print_r($e->getMessage()); - } - - // ... - -``` - -```java -URL obj = new URL("/schemas/{id}"); -HttpURLConnection con = (HttpURLConnection) obj.openConnection(); -con.setRequestMethod("DELETE"); -int responseCode = con.getResponseCode(); -BufferedReader in = new BufferedReader( - new InputStreamReader(con.getInputStream())); -String inputLine; -StringBuffer response = new StringBuffer(); -while ((inputLine = in.readLine()) != null) { - response.append(inputLine); -} -in.close(); -System.out.println(response.toString()); - -``` - -```go -package main - -import ( - "bytes" - "net/http" -) - -func main() { - - headers := map[string][]string{ - "Accept": []string{"application/json"}, - } - - data := bytes.NewBuffer([]byte{jsonReq}) - req, err := http.NewRequest("DELETE", "/schemas/{id}", data) - req.Header = headers - - client := &http.Client{} - resp, err := client.Do(req) - // ... -} - -``` - -`DELETE /schemas/{id}` - -

          Parameters

          - -|Name|In|Type|Required|Description| -|---|---|---|---|---| -|id|path|integer|true|none| - -> Example responses - -> 200 Response - -```json -{ - "id": 0, - "catalog_name": "string", - "name": "string", - "owner": "string", - "default_character_set_catalog": "string", - "default_character_set_schema": "string", - "default_character_set_name": "string", - "sql_path": "string" -} -``` - -

          Responses

          - -|Status|Meaning|Description|Schema| -|---|---|---|---| -|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation|[Schema](#schemaschema)| - - - -

          /tables

          - -## Get all tables - - - -> Code samples - -```shell -# You can also use wget -curl -X GET /tables \ - -H 'Accept: application/json' - -``` - -```http -GET /tables HTTP/1.1 - -Accept: application/json - -``` - -```javascript - -const headers = { - 'Accept':'application/json' -}; - -fetch('/tables', -{ - method: 'GET', - - headers: headers -}) -.then(function(res) { - return res.json(); -}).then(function(body) { - console.log(body); -}); - -``` - -```ruby -require 'rest-client' -require 'json' - -headers = { - 'Accept' => 'application/json' -} - -result = RestClient.get '/tables', - params: { - }, headers: headers - -p JSON.parse(result) - -``` - -```python -import requests -headers = { - 'Accept': 'application/json' -} - -r = requests.get('/tables', headers = headers) - -print(r.json()) - -``` - -```php - 'application/json', -); - -$client = new \GuzzleHttp\Client(); - -// Define array of request body. -$request_body = array(); - -try { - $response = $client->request('GET','/tables', array( - 'headers' => $headers, - 'json' => $request_body, - ) - ); - print_r($response->getBody()->getContents()); - } - catch (\GuzzleHttp\Exception\BadResponseException $e) { - // handle exception or api errors. - print_r($e->getMessage()); - } - - // ... - -``` - -```java -URL obj = new URL("/tables"); -HttpURLConnection con = (HttpURLConnection) obj.openConnection(); -con.setRequestMethod("GET"); -int responseCode = con.getResponseCode(); -BufferedReader in = new BufferedReader( - new InputStreamReader(con.getInputStream())); -String inputLine; -StringBuffer response = new StringBuffer(); -while ((inputLine = in.readLine()) != null) { - response.append(inputLine); -} -in.close(); -System.out.println(response.toString()); - -``` - -```go -package main - -import ( - "bytes" - "net/http" -) - -func main() { - - headers := map[string][]string{ - "Accept": []string{"application/json"}, - } - - data := bytes.NewBuffer([]byte{jsonReq}) - req, err := http.NewRequest("GET", "/tables", data) - req.Header = headers - - client := &http.Client{} - resp, err := client.Do(req) - // ... -} - -``` - -`GET /tables` - -

          Parameters

          - -|Name|In|Type|Required|Description| -|---|---|---|---|---| -|include_system_schemas|query|boolean|false|none| - -> Example responses - -> 200 Response - -```json -[ - { - "id": 0, - "catalog": "string", - "schema": "string", - "name": "string", - "is_insertable_into": true, - "rls_enabled": true, - "rls_forced": true, - "is_typed": true, - "bytes": 0, - "size": "string", - "seq_scan_count": 0, - "seq_row_read_count": 0, - "idx_scan_count": 0, - "idx_row_read_count": 0, - "row_ins_count": 0, - "row_upd_count": 0, - "row_del_count": 0, - "row_hot_upd_count": 0, - "live_row_count": 0, - "dead_row_count": 0, - "rows_mod_since_analyze": 0, - "last_vacuum": "string", - "last_autovacuum": "string", - "last_analyze": "string", - "last_autoanalyze": "string", - "vacuum_count": 0, - "autovacuum_count": 0, - "analyze_count": 0, - "autoanalyze_count": 0, - "columns": [ - { - "table_id": 0, - "schema": "string", - "table": "string", - "id": "string", - "ordinal_position": 0, - "name": "string", - "default_value": "string", - "data_type": "string", - "format": "string", - "description": "string", - "is_identity": true, - "identity_generation": "string", - "is_nullable": true, - "is_updatable": true, - "enums": [ - "string" - ] - } - ], - "grants": [ - { - "table_id": 0, - "grantor": "string", - "grantee": "string", - "catalog": "string", - "schema": "string", - "table_name": "string", - "privilege_type": "string", - "is_grantable": true, - "with_hierarchy": true - } - ], - "policies": [ - { - "id": 0, - "name": "string", - "schema": "string", - "table": "string", - "table_id": 0, - "action": "PERMISSIVE", - "roles": [ - "string" - ], - "command": "string", - "definition": "string", - "check": "string" - } - ], - "primary_keys": [ - { - "schema": "string", - "table_name": "string", - "name": "string", - "table_id": 0 - } - ], - "relationships": [ - { - "source_schema": "string", - "source_table_name": "string", - "source_column_name": "string", - "target_table_schema": "string", - "target_table_name": "string", - "target_column_name": "string", - "constraint_name": "string" - } - ] - } -] -``` - -

          Responses

          - -|Status|Meaning|Description|Schema| -|---|---|---|---| -|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation|Inline| - -

          Response Schema

          - -Status Code **200** - -|Name|Type|Required|Restrictions|Description| -|---|---|---|---|---| -|*anonymous*|[[Table](#schematable)]|false|none|none| -|» id|integer|false|none|none| -|» catalog|string|false|none|none| -|» schema|string|false|none|none| -|» name|string|false|none|none| -|» is_insertable_into|boolean|false|none|none| -|» rls_enabled|boolean|false|none|none| -|» rls_forced|boolean|false|none|none| -|» is_typed|boolean|false|none|none| -|» bytes|integer|false|none|none| -|» size|string|false|none|none| -|» seq_scan_count|integer|false|none|none| -|» seq_row_read_count|integer|false|none|none| -|» idx_scan_count|integer|false|none|none| -|» idx_row_read_count|integer|false|none|none| -|» row_ins_count|integer|false|none|none| -|» row_upd_count|integer|false|none|none| -|» row_del_count|integer|false|none|none| -|» row_hot_upd_count|integer|false|none|none| -|» live_row_count|integer|false|none|none| -|» dead_row_count|integer|false|none|none| -|» rows_mod_since_analyze|integer|false|none|none| -|» last_vacuum|string¦null|false|none|none| -|» last_autovacuum|string¦null|false|none|none| -|» last_analyze|string¦null|false|none|none| -|» last_autoanalyze|string¦null|false|none|none| -|» vacuum_count|integer|false|none|none| -|» autovacuum_count|integer|false|none|none| -|» analyze_count|integer|false|none|none| -|» autoanalyze_count|integer|false|none|none| -|» columns|[[Column](#schemacolumn)]|false|none|none| -|»» table_id|integer|false|none|none| -|»» schema|string|false|none|none| -|»» table|string|false|none|none| -|»» id|string|false|none|none| -|»» ordinal_position|integer|false|none|none| -|»» name|string|false|none|none| -|»» default_value|string|false|none|none| -|»» data_type|string|false|none|none| -|»» format|string|false|none|none| -|»» description|string|false|none|none| -|»» is_identity|boolean|false|none|none| -|»» identity_generation|string|false|none|none| -|»» is_nullable|boolean|false|none|none| -|»» is_updatable|boolean|false|none|none| -|»» enums|[string]|false|none|none| -|» grants|[[Grant](#schemagrant)]|false|none|none| -|»» table_id|integer|false|none|none| -|»» grantor|string|false|none|none| -|»» grantee|string|false|none|none| -|»» catalog|string|false|none|none| -|»» schema|string|false|none|none| -|»» table_name|string|false|none|none| -|»» privilege_type|string|false|none|none| -|»» is_grantable|boolean|false|none|none| -|»» with_hierarchy|boolean|false|none|none| -|» policies|[[Policy](#schemapolicy)]|false|none|none| -|»» id|integer|false|none|none| -|»» name|string|false|none|none| -|»» schema|string|false|none|none| -|»» table|string|false|none|none| -|»» table_id|integer|false|none|none| -|»» action|string|false|none|none| -|»» roles|[string]|false|none|none| -|»» command|string|false|none|none| -|»» definition|string|false|none|none| -|»» check|string¦null|false|none|none| -|» primary_keys|[object]|false|none|none| -|»» schema|string|false|none|none| -|»» table_name|string|false|none|none| -|»» name|string|false|none|none| -|»» table_id|integer|false|none|none| -|» relationships|[object]|false|none|none| -|»» source_schema|string|false|none|none| -|»» source_table_name|string|false|none|none| -|»» source_column_name|string|false|none|none| -|»» target_table_schema|string|false|none|none| -|»» target_table_name|string|false|none|none| -|»» target_column_name|string|false|none|none| -|»» constraint_name|string|false|none|none| - -#### Enumerated Values - -|Property|Value| -|---|---| -|action|PERMISSIVE| -|action|RESTRICTIVE| - - - -## Create a table - - - -> Code samples - -```shell -# You can also use wget -curl -X POST /tables \ - -H 'Content-Type: application/json' \ - -H 'Accept: application/json' - -``` - -```http -POST /tables HTTP/1.1 - -Content-Type: application/json -Accept: application/json - -``` - -```javascript -const inputBody = '{ - "name": "string", - "schema": "string" -}'; -const headers = { - 'Content-Type':'application/json', - 'Accept':'application/json' -}; - -fetch('/tables', -{ - method: 'POST', - body: inputBody, - headers: headers -}) -.then(function(res) { - return res.json(); -}).then(function(body) { - console.log(body); -}); - -``` - -```ruby -require 'rest-client' -require 'json' - -headers = { - 'Content-Type' => 'application/json', - 'Accept' => 'application/json' -} - -result = RestClient.post '/tables', - params: { - }, headers: headers - -p JSON.parse(result) - -``` - -```python -import requests -headers = { - 'Content-Type': 'application/json', - 'Accept': 'application/json' -} - -r = requests.post('/tables', headers = headers) - -print(r.json()) - -``` - -```php - 'application/json', - 'Accept' => 'application/json', -); - -$client = new \GuzzleHttp\Client(); - -// Define array of request body. -$request_body = array(); - -try { - $response = $client->request('POST','/tables', array( - 'headers' => $headers, - 'json' => $request_body, - ) - ); - print_r($response->getBody()->getContents()); - } - catch (\GuzzleHttp\Exception\BadResponseException $e) { - // handle exception or api errors. - print_r($e->getMessage()); - } - - // ... - -``` - -```java -URL obj = new URL("/tables"); -HttpURLConnection con = (HttpURLConnection) obj.openConnection(); -con.setRequestMethod("POST"); -int responseCode = con.getResponseCode(); -BufferedReader in = new BufferedReader( - new InputStreamReader(con.getInputStream())); -String inputLine; -StringBuffer response = new StringBuffer(); -while ((inputLine = in.readLine()) != null) { - response.append(inputLine); -} -in.close(); -System.out.println(response.toString()); - -``` - -```go -package main - -import ( - "bytes" - "net/http" -) - -func main() { - - headers := map[string][]string{ - "Content-Type": []string{"application/json"}, - "Accept": []string{"application/json"}, - } - - data := bytes.NewBuffer([]byte{jsonReq}) - req, err := http.NewRequest("POST", "/tables", data) - req.Header = headers - - client := &http.Client{} - resp, err := client.Do(req) - // ... -} - -``` - -`POST /tables` - -> Body parameter - -```json -{ - "name": "string", - "schema": "string" -} -``` - -

          Parameters

          - -|Name|In|Type|Required|Description| -|---|---|---|---|---| -|body|body|object|true|none| -|» name|body|string|true|none| -|» schema|body|string|false|none| - -> Example responses - -> 200 Response - -```json -{ - "id": 0, - "catalog": "string", - "schema": "string", - "name": "string", - "is_insertable_into": true, - "rls_enabled": true, - "rls_forced": true, - "is_typed": true, - "bytes": 0, - "size": "string", - "seq_scan_count": 0, - "seq_row_read_count": 0, - "idx_scan_count": 0, - "idx_row_read_count": 0, - "row_ins_count": 0, - "row_upd_count": 0, - "row_del_count": 0, - "row_hot_upd_count": 0, - "live_row_count": 0, - "dead_row_count": 0, - "rows_mod_since_analyze": 0, - "last_vacuum": "string", - "last_autovacuum": "string", - "last_analyze": "string", - "last_autoanalyze": "string", - "vacuum_count": 0, - "autovacuum_count": 0, - "analyze_count": 0, - "autoanalyze_count": 0, - "columns": [ - { - "table_id": 0, - "schema": "string", - "table": "string", - "id": "string", - "ordinal_position": 0, - "name": "string", - "default_value": "string", - "data_type": "string", - "format": "string", - "description": "string", - "is_identity": true, - "identity_generation": "string", - "is_nullable": true, - "is_updatable": true, - "enums": [ - "string" - ] - } - ], - "grants": [ - { - "table_id": 0, - "grantor": "string", - "grantee": "string", - "catalog": "string", - "schema": "string", - "table_name": "string", - "privilege_type": "string", - "is_grantable": true, - "with_hierarchy": true - } - ], - "policies": [ - { - "id": 0, - "name": "string", - "schema": "string", - "table": "string", - "table_id": 0, - "action": "PERMISSIVE", - "roles": [ - "string" - ], - "command": "string", - "definition": "string", - "check": "string" - } - ], - "primary_keys": [ - { - "schema": "string", - "table_name": "string", - "name": "string", - "table_id": 0 - } - ], - "relationships": [ - { - "source_schema": "string", - "source_table_name": "string", - "source_column_name": "string", - "target_table_schema": "string", - "target_table_name": "string", - "target_column_name": "string", - "constraint_name": "string" - } - ] -} -``` - -

          Responses

          - -|Status|Meaning|Description|Schema| -|---|---|---|---| -|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation|[Table](#schematable)| - - - -## Update a table by ID - - - -> Code samples - -```shell -# You can also use wget -curl -X PATCH /tables/{id} \ - -H 'Content-Type: application/json' \ - -H 'Accept: application/json' - -``` - -```http -PATCH /tables/{id} HTTP/1.1 - -Content-Type: application/json -Accept: application/json - -``` - -```javascript -const inputBody = '{ - "schema": "string", - "name": "string", - "rls_enabled": true, - "rls_forced": true -}'; -const headers = { - 'Content-Type':'application/json', - 'Accept':'application/json' -}; - -fetch('/tables/{id}', -{ - method: 'PATCH', - body: inputBody, - headers: headers -}) -.then(function(res) { - return res.json(); -}).then(function(body) { - console.log(body); -}); - -``` - -```ruby -require 'rest-client' -require 'json' - -headers = { - 'Content-Type' => 'application/json', - 'Accept' => 'application/json' -} - -result = RestClient.patch '/tables/{id}', - params: { - }, headers: headers - -p JSON.parse(result) - -``` - -```python -import requests -headers = { - 'Content-Type': 'application/json', - 'Accept': 'application/json' -} - -r = requests.patch('/tables/{id}', headers = headers) - -print(r.json()) - -``` - -```php - 'application/json', - 'Accept' => 'application/json', -); - -$client = new \GuzzleHttp\Client(); - -// Define array of request body. -$request_body = array(); - -try { - $response = $client->request('PATCH','/tables/{id}', array( - 'headers' => $headers, - 'json' => $request_body, - ) - ); - print_r($response->getBody()->getContents()); - } - catch (\GuzzleHttp\Exception\BadResponseException $e) { - // handle exception or api errors. - print_r($e->getMessage()); - } - - // ... - -``` - -```java -URL obj = new URL("/tables/{id}"); -HttpURLConnection con = (HttpURLConnection) obj.openConnection(); -con.setRequestMethod("PATCH"); -int responseCode = con.getResponseCode(); -BufferedReader in = new BufferedReader( - new InputStreamReader(con.getInputStream())); -String inputLine; -StringBuffer response = new StringBuffer(); -while ((inputLine = in.readLine()) != null) { - response.append(inputLine); -} -in.close(); -System.out.println(response.toString()); - -``` - -```go -package main - -import ( - "bytes" - "net/http" -) - -func main() { - - headers := map[string][]string{ - "Content-Type": []string{"application/json"}, - "Accept": []string{"application/json"}, - } - - data := bytes.NewBuffer([]byte{jsonReq}) - req, err := http.NewRequest("PATCH", "/tables/{id}", data) - req.Header = headers - - client := &http.Client{} - resp, err := client.Do(req) - // ... -} - -``` - -`PATCH /tables/{id}` - -> Body parameter - -```json -{ - "schema": "string", - "name": "string", - "rls_enabled": true, - "rls_forced": true -} -``` - -

          Parameters

          - -|Name|In|Type|Required|Description| -|---|---|---|---|---| -|body|body|object|true|none| -|» schema|body|string|false|none| -|» name|body|string|false|none| -|» rls_enabled|body|boolean|false|none| -|» rls_forced|body|boolean|false|none| -|id|path|integer|true|none| - -> Example responses - -> 200 Response - -```json -{ - "id": 0, - "catalog": "string", - "schema": "string", - "name": "string", - "is_insertable_into": true, - "rls_enabled": true, - "rls_forced": true, - "is_typed": true, - "bytes": 0, - "size": "string", - "seq_scan_count": 0, - "seq_row_read_count": 0, - "idx_scan_count": 0, - "idx_row_read_count": 0, - "row_ins_count": 0, - "row_upd_count": 0, - "row_del_count": 0, - "row_hot_upd_count": 0, - "live_row_count": 0, - "dead_row_count": 0, - "rows_mod_since_analyze": 0, - "last_vacuum": "string", - "last_autovacuum": "string", - "last_analyze": "string", - "last_autoanalyze": "string", - "vacuum_count": 0, - "autovacuum_count": 0, - "analyze_count": 0, - "autoanalyze_count": 0, - "columns": [ - { - "table_id": 0, - "schema": "string", - "table": "string", - "id": "string", - "ordinal_position": 0, - "name": "string", - "default_value": "string", - "data_type": "string", - "format": "string", - "description": "string", - "is_identity": true, - "identity_generation": "string", - "is_nullable": true, - "is_updatable": true, - "enums": [ - "string" - ] - } - ], - "grants": [ - { - "table_id": 0, - "grantor": "string", - "grantee": "string", - "catalog": "string", - "schema": "string", - "table_name": "string", - "privilege_type": "string", - "is_grantable": true, - "with_hierarchy": true - } - ], - "policies": [ - { - "id": 0, - "name": "string", - "schema": "string", - "table": "string", - "table_id": 0, - "action": "PERMISSIVE", - "roles": [ - "string" - ], - "command": "string", - "definition": "string", - "check": "string" - } - ], - "primary_keys": [ - { - "schema": "string", - "table_name": "string", - "name": "string", - "table_id": 0 - } - ], - "relationships": [ - { - "source_schema": "string", - "source_table_name": "string", - "source_column_name": "string", - "target_table_schema": "string", - "target_table_name": "string", - "target_column_name": "string", - "constraint_name": "string" - } - ] -} -``` - -

          Responses

          - -|Status|Meaning|Description|Schema| -|---|---|---|---| -|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation|[Table](#schematable)| - - - -## Delete a table by ID - - - -> Code samples - -```shell -# You can also use wget -curl -X DELETE /tables/{id} \ - -H 'Accept: application/json' - -``` - -```http -DELETE /tables/{id} HTTP/1.1 - -Accept: application/json - -``` - -```javascript - -const headers = { - 'Accept':'application/json' -}; - -fetch('/tables/{id}', -{ - method: 'DELETE', - - headers: headers -}) -.then(function(res) { - return res.json(); -}).then(function(body) { - console.log(body); -}); - -``` - -```ruby -require 'rest-client' -require 'json' - -headers = { - 'Accept' => 'application/json' -} - -result = RestClient.delete '/tables/{id}', - params: { - }, headers: headers - -p JSON.parse(result) - -``` - -```python -import requests -headers = { - 'Accept': 'application/json' -} - -r = requests.delete('/tables/{id}', headers = headers) - -print(r.json()) - -``` - -```php - 'application/json', -); - -$client = new \GuzzleHttp\Client(); - -// Define array of request body. -$request_body = array(); - -try { - $response = $client->request('DELETE','/tables/{id}', array( - 'headers' => $headers, - 'json' => $request_body, - ) - ); - print_r($response->getBody()->getContents()); - } - catch (\GuzzleHttp\Exception\BadResponseException $e) { - // handle exception or api errors. - print_r($e->getMessage()); - } - - // ... - -``` - -```java -URL obj = new URL("/tables/{id}"); -HttpURLConnection con = (HttpURLConnection) obj.openConnection(); -con.setRequestMethod("DELETE"); -int responseCode = con.getResponseCode(); -BufferedReader in = new BufferedReader( - new InputStreamReader(con.getInputStream())); -String inputLine; -StringBuffer response = new StringBuffer(); -while ((inputLine = in.readLine()) != null) { - response.append(inputLine); -} -in.close(); -System.out.println(response.toString()); - -``` - -```go -package main - -import ( - "bytes" - "net/http" -) - -func main() { - - headers := map[string][]string{ - "Accept": []string{"application/json"}, - } - - data := bytes.NewBuffer([]byte{jsonReq}) - req, err := http.NewRequest("DELETE", "/tables/{id}", data) - req.Header = headers - - client := &http.Client{} - resp, err := client.Do(req) - // ... -} - -``` - -`DELETE /tables/{id}` - -

          Parameters

          - -|Name|In|Type|Required|Description| -|---|---|---|---|---| -|id|path|integer|true|none| - -> Example responses - -> 200 Response - -```json -{ - "id": 0, - "catalog": "string", - "schema": "string", - "name": "string", - "is_insertable_into": true, - "rls_enabled": true, - "rls_forced": true, - "is_typed": true, - "bytes": 0, - "size": "string", - "seq_scan_count": 0, - "seq_row_read_count": 0, - "idx_scan_count": 0, - "idx_row_read_count": 0, - "row_ins_count": 0, - "row_upd_count": 0, - "row_del_count": 0, - "row_hot_upd_count": 0, - "live_row_count": 0, - "dead_row_count": 0, - "rows_mod_since_analyze": 0, - "last_vacuum": "string", - "last_autovacuum": "string", - "last_analyze": "string", - "last_autoanalyze": "string", - "vacuum_count": 0, - "autovacuum_count": 0, - "analyze_count": 0, - "autoanalyze_count": 0, - "columns": [ - { - "table_id": 0, - "schema": "string", - "table": "string", - "id": "string", - "ordinal_position": 0, - "name": "string", - "default_value": "string", - "data_type": "string", - "format": "string", - "description": "string", - "is_identity": true, - "identity_generation": "string", - "is_nullable": true, - "is_updatable": true, - "enums": [ - "string" - ] - } - ], - "grants": [ - { - "table_id": 0, - "grantor": "string", - "grantee": "string", - "catalog": "string", - "schema": "string", - "table_name": "string", - "privilege_type": "string", - "is_grantable": true, - "with_hierarchy": true - } - ], - "policies": [ - { - "id": 0, - "name": "string", - "schema": "string", - "table": "string", - "table_id": 0, - "action": "PERMISSIVE", - "roles": [ - "string" - ], - "command": "string", - "definition": "string", - "check": "string" - } - ], - "primary_keys": [ - { - "schema": "string", - "table_name": "string", - "name": "string", - "table_id": 0 - } - ], - "relationships": [ - { - "source_schema": "string", - "source_table_name": "string", - "source_column_name": "string", - "target_table_schema": "string", - "target_table_name": "string", - "target_column_name": "string", - "constraint_name": "string" - } - ] -} -``` - -

          Responses

          - -|Status|Meaning|Description|Schema| -|---|---|---|---| -|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation|[Table](#schematable)| - - - -

          /types

          - -## Get all types - - - -> Code samples - -```shell -# You can also use wget -curl -X GET /types \ - -H 'Accept: application/json' - -``` - -```http -GET /types HTTP/1.1 - -Accept: application/json - -``` - -```javascript - -const headers = { - 'Accept':'application/json' -}; - -fetch('/types', -{ - method: 'GET', - - headers: headers -}) -.then(function(res) { - return res.json(); -}).then(function(body) { - console.log(body); -}); - -``` - -```ruby -require 'rest-client' -require 'json' - -headers = { - 'Accept' => 'application/json' -} - -result = RestClient.get '/types', - params: { - }, headers: headers - -p JSON.parse(result) - -``` - -```python -import requests -headers = { - 'Accept': 'application/json' -} - -r = requests.get('/types', headers = headers) - -print(r.json()) - -``` - -```php - 'application/json', -); - -$client = new \GuzzleHttp\Client(); - -// Define array of request body. -$request_body = array(); - -try { - $response = $client->request('GET','/types', array( - 'headers' => $headers, - 'json' => $request_body, - ) - ); - print_r($response->getBody()->getContents()); - } - catch (\GuzzleHttp\Exception\BadResponseException $e) { - // handle exception or api errors. - print_r($e->getMessage()); - } - - // ... - -``` - -```java -URL obj = new URL("/types"); -HttpURLConnection con = (HttpURLConnection) obj.openConnection(); -con.setRequestMethod("GET"); -int responseCode = con.getResponseCode(); -BufferedReader in = new BufferedReader( - new InputStreamReader(con.getInputStream())); -String inputLine; -StringBuffer response = new StringBuffer(); -while ((inputLine = in.readLine()) != null) { - response.append(inputLine); -} -in.close(); -System.out.println(response.toString()); - -``` - -```go -package main - -import ( - "bytes" - "net/http" -) - -func main() { - - headers := map[string][]string{ - "Accept": []string{"application/json"}, - } - - data := bytes.NewBuffer([]byte{jsonReq}) - req, err := http.NewRequest("GET", "/types", data) - req.Header = headers - - client := &http.Client{} - resp, err := client.Do(req) - // ... -} - -``` - -`GET /types` - -

          Parameters

          - -|Name|In|Type|Required|Description| -|---|---|---|---|---| -|include_system_schemas|query|boolean|false|none| - -> Example responses - -> 200 Response - -```json -[ - { - "id": 0, - "name": "string", - "schema": "string", - "format": "string", - "description": "string", - "enums": [ - "string" - ] - } -] -``` - -

          Responses

          - -|Status|Meaning|Description|Schema| -|---|---|---|---| -|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation|Inline| - -

          Response Schema

          - -Status Code **200** - -|Name|Type|Required|Restrictions|Description| -|---|---|---|---|---| -|*anonymous*|[[Type](#schematype)]|false|none|none| -|» id|integer|false|none|none| -|» name|string|false|none|none| -|» schema|string|false|none|none| -|» format|string|false|none|none| -|» description|string¦null|false|none|none| -|» enums|[string]|false|none|none| - - - -# Schemas - -

          Column

          - - - - - - -```json -{ - "table_id": 0, - "schema": "string", - "table": "string", - "id": "string", - "ordinal_position": 0, - "name": "string", - "default_value": "string", - "data_type": "string", - "format": "string", - "description": "string", - "is_identity": true, - "identity_generation": "string", - "is_nullable": true, - "is_updatable": true, - "enums": [ - "string" - ] -} - -``` - -### Properties - -|Name|Type|Required|Restrictions|Description| -|---|---|---|---|---| -|table_id|integer|false|none|none| -|schema|string|false|none|none| -|table|string|false|none|none| -|id|string|false|none|none| -|ordinal_position|integer|false|none|none| -|name|string|false|none|none| -|default_value|string|false|none|none| -|data_type|string|false|none|none| -|format|string|false|none|none| -|description|string|false|none|none| -|is_identity|boolean|false|none|none| -|identity_generation|string|false|none|none| -|is_nullable|boolean|false|none|none| -|is_updatable|boolean|false|none|none| -|enums|[string]|false|none|none| - -

          Config

          - - - - - - -```json -{ - "name": "string", - "setting": "string", - "category": "string", - "group": "string", - "subgroup": "string", - "unit": "string", - "short_desc": "string", - "extra_desc": "string", - "context": "string", - "vartype": "string", - "source": "string", - "min_val": "string", - "max_val": "string", - "enumvals": [ - "string" - ], - "boot_val": "string", - "reset_val": "string", - "sourcefile": "string", - "sourceline": 0, - "pending_restart": true -} - -``` - -### Properties - -|Name|Type|Required|Restrictions|Description| -|---|---|---|---|---| -|name|string|false|none|none| -|setting|string|false|none|none| -|category|string|false|none|none| -|group|string|false|none|none| -|subgroup|string|false|none|none| -|unit|string¦null|false|none|none| -|short_desc|string|false|none|none| -|extra_desc|string¦null|false|none|none| -|context|string|false|none|none| -|vartype|string|false|none|none| -|source|string|false|none|none| -|min_val|string¦null|false|none|none| -|max_val|string¦null|false|none|none| -|enumvals|[string]¦null|false|none|none| -|boot_val|string|false|none|none| -|reset_val|string|false|none|none| -|sourcefile|string¦null|false|none|none| -|sourceline|integer¦null|false|none|none| -|pending_restart|boolean|false|none|none| - -

          Extension

          - - - - - - -```json -{ - "name": "string", - "comment": "string", - "default_version": "string", - "installed_version": "string" -} - -``` - -### Properties - -|Name|Type|Required|Restrictions|Description| -|---|---|---|---|---| -|name|string|false|none|none| -|comment|string|false|none|none| -|default_version|string|false|none|none| -|installed_version|string|false|none|none| - -

          Function

          - - - - - - -```json -{ - "id": 0, - "schema": "string", - "name": "string", - "language": "string", - "definition": "string", - "argument_types": "string", - "return_type": "string" -} - -``` - -### Properties - -|Name|Type|Required|Restrictions|Description| -|---|---|---|---|---| -|id|integer|false|none|none| -|schema|string|false|none|none| -|name|string|false|none|none| -|language|string|false|none|none| -|definition|string|false|none|none| -|argument_types|string|false|none|none| -|return_type|string|false|none|none| - -

          Grant

          - - - - - - -```json -{ - "table_id": 0, - "grantor": "string", - "grantee": "string", - "catalog": "string", - "schema": "string", - "table_name": "string", - "privilege_type": "string", - "is_grantable": true, - "with_hierarchy": true -} - -``` - -### Properties - -|Name|Type|Required|Restrictions|Description| -|---|---|---|---|---| -|table_id|integer|false|none|none| -|grantor|string|false|none|none| -|grantee|string|false|none|none| -|catalog|string|false|none|none| -|schema|string|false|none|none| -|table_name|string|false|none|none| -|privilege_type|string|false|none|none| -|is_grantable|boolean|false|none|none| -|with_hierarchy|boolean|false|none|none| - -

          Policy

          - - - - - - -```json -{ - "id": 0, - "name": "string", - "schema": "string", - "table": "string", - "table_id": 0, - "action": "PERMISSIVE", - "roles": [ - "string" - ], - "command": "string", - "definition": "string", - "check": "string" -} - -``` - -### Properties - -|Name|Type|Required|Restrictions|Description| -|---|---|---|---|---| -|id|integer|false|none|none| -|name|string|false|none|none| -|schema|string|false|none|none| -|table|string|false|none|none| -|table_id|integer|false|none|none| -|action|string|false|none|none| -|roles|[string]|false|none|none| -|command|string|false|none|none| -|definition|string|false|none|none| -|check|string¦null|false|none|none| - -#### Enumerated Values - -|Property|Value| -|---|---| -|action|PERMISSIVE| -|action|RESTRICTIVE| - -

          Role

          - - - - - - -```json -{ - "id": 0, - "name": "string", - "is_superuser": true, - "can_create_db": true, - "can_create_role": true, - "inherit_role": true, - "can_login": true, - "is_replication_role": true, - "can_bypass_rls": true, - "active_connections": 0, - "connection_limit": 0, - "password": "string", - "valid_until": "string", - "config": "string", - "grants": [ - { - "table_id": 0, - "grantor": "string", - "grantee": "string", - "catalog": "string", - "schema": "string", - "table_name": "string", - "privilege_type": "string", - "is_grantable": true, - "with_hierarchy": true - } - ] -} - -``` - -### Properties - -|Name|Type|Required|Restrictions|Description| -|---|---|---|---|---| -|id|integer|false|none|none| -|name|string|false|none|none| -|is_superuser|boolean|false|none|none| -|can_create_db|boolean|false|none|none| -|can_create_role|boolean|false|none|none| -|inherit_role|boolean|false|none|none| -|can_login|boolean|false|none|none| -|is_replication_role|boolean|false|none|none| -|can_bypass_rls|boolean|false|none|none| -|active_connections|integer|false|none|none| -|connection_limit|integer|false|none|none| -|password|string|false|none|none| -|valid_until|string¦null|false|none|none| -|config|string¦null|false|none|none| -|grants|[[Grant](#schemagrant)]|false|none|none| - -

          Schema

          - - - - - - -```json -{ - "id": 0, - "catalog_name": "string", - "name": "string", - "owner": "string", - "default_character_set_catalog": "string", - "default_character_set_schema": "string", - "default_character_set_name": "string", - "sql_path": "string" -} - -``` - -### Properties - -|Name|Type|Required|Restrictions|Description| -|---|---|---|---|---| -|id|integer|false|none|none| -|catalog_name|string|false|none|none| -|name|string|false|none|none| -|owner|string|false|none|none| -|default_character_set_catalog|string¦null|false|none|none| -|default_character_set_schema|string¦null|false|none|none| -|default_character_set_name|string¦null|false|none|none| -|sql_path|string¦null|false|none|none| - -

          Table

          - - - - - - -```json -{ - "id": 0, - "catalog": "string", - "schema": "string", - "name": "string", - "is_insertable_into": true, - "rls_enabled": true, - "rls_forced": true, - "is_typed": true, - "bytes": 0, - "size": "string", - "seq_scan_count": 0, - "seq_row_read_count": 0, - "idx_scan_count": 0, - "idx_row_read_count": 0, - "row_ins_count": 0, - "row_upd_count": 0, - "row_del_count": 0, - "row_hot_upd_count": 0, - "live_row_count": 0, - "dead_row_count": 0, - "rows_mod_since_analyze": 0, - "last_vacuum": "string", - "last_autovacuum": "string", - "last_analyze": "string", - "last_autoanalyze": "string", - "vacuum_count": 0, - "autovacuum_count": 0, - "analyze_count": 0, - "autoanalyze_count": 0, - "columns": [ - { - "table_id": 0, - "schema": "string", - "table": "string", - "id": "string", - "ordinal_position": 0, - "name": "string", - "default_value": "string", - "data_type": "string", - "format": "string", - "description": "string", - "is_identity": true, - "identity_generation": "string", - "is_nullable": true, - "is_updatable": true, - "enums": [ - "string" - ] - } - ], - "grants": [ - { - "table_id": 0, - "grantor": "string", - "grantee": "string", - "catalog": "string", - "schema": "string", - "table_name": "string", - "privilege_type": "string", - "is_grantable": true, - "with_hierarchy": true - } - ], - "policies": [ - { - "id": 0, - "name": "string", - "schema": "string", - "table": "string", - "table_id": 0, - "action": "PERMISSIVE", - "roles": [ - "string" - ], - "command": "string", - "definition": "string", - "check": "string" - } - ], - "primary_keys": [ - { - "schema": "string", - "table_name": "string", - "name": "string", - "table_id": 0 - } - ], - "relationships": [ - { - "source_schema": "string", - "source_table_name": "string", - "source_column_name": "string", - "target_table_schema": "string", - "target_table_name": "string", - "target_column_name": "string", - "constraint_name": "string" - } - ] -} - -``` - -### Properties - -|Name|Type|Required|Restrictions|Description| -|---|---|---|---|---| -|id|integer|false|none|none| -|catalog|string|false|none|none| -|schema|string|false|none|none| -|name|string|false|none|none| -|is_insertable_into|boolean|false|none|none| -|rls_enabled|boolean|false|none|none| -|rls_forced|boolean|false|none|none| -|is_typed|boolean|false|none|none| -|bytes|integer|false|none|none| -|size|string|false|none|none| -|seq_scan_count|integer|false|none|none| -|seq_row_read_count|integer|false|none|none| -|idx_scan_count|integer|false|none|none| -|idx_row_read_count|integer|false|none|none| -|row_ins_count|integer|false|none|none| -|row_upd_count|integer|false|none|none| -|row_del_count|integer|false|none|none| -|row_hot_upd_count|integer|false|none|none| -|live_row_count|integer|false|none|none| -|dead_row_count|integer|false|none|none| -|rows_mod_since_analyze|integer|false|none|none| -|last_vacuum|string¦null|false|none|none| -|last_autovacuum|string¦null|false|none|none| -|last_analyze|string¦null|false|none|none| -|last_autoanalyze|string¦null|false|none|none| -|vacuum_count|integer|false|none|none| -|autovacuum_count|integer|false|none|none| -|analyze_count|integer|false|none|none| -|autoanalyze_count|integer|false|none|none| -|columns|[[Column](#schemacolumn)]|false|none|none| -|grants|[[Grant](#schemagrant)]|false|none|none| -|policies|[[Policy](#schemapolicy)]|false|none|none| -|primary_keys|[object]|false|none|none| -|» schema|string|false|none|none| -|» table_name|string|false|none|none| -|» name|string|false|none|none| -|» table_id|integer|false|none|none| -|relationships|[object]|false|none|none| -|» source_schema|string|false|none|none| -|» source_table_name|string|false|none|none| -|» source_column_name|string|false|none|none| -|» target_table_schema|string|false|none|none| -|» target_table_name|string|false|none|none| -|» target_column_name|string|false|none|none| -|» constraint_name|string|false|none|none| - -

          Type

          - - - - - - -```json -{ - "id": 0, - "name": "string", - "schema": "string", - "format": "string", - "description": "string", - "enums": [ - "string" - ] -} - -``` - -### Properties - -|Name|Type|Required|Restrictions|Description| -|---|---|---|---|---| -|id|integer|false|none|none| -|name|string|false|none|none| -|schema|string|false|none|none| -|format|string|false|none|none| -|description|string¦null|false|none|none| -|enums|[string]|false|none|none| - -

          Version

          - - - - - - -```json -{ - "version": "string", - "version_number": 0, - "active_connections": 0, - "max_connections": 0 -} - -``` - -### Properties - -|Name|Type|Required|Restrictions|Description| -|---|---|---|---|---| -|version|string|false|none|none| -|version_number|integer|false|none|none| -|active_connections|integer|false|none|none| -|max_connections|integer|false|none|none| - diff --git a/docs/source/javascripts/.eslintrc.json b/docs/source/javascripts/.eslintrc.json deleted file mode 100644 index 00182c84..00000000 --- a/docs/source/javascripts/.eslintrc.json +++ /dev/null @@ -1,266 +0,0 @@ -{ - "env": { - "es6": true, - "node": true - }, - "extends": "eslint:recommended", - "rules": { - "accessor-pairs": "error", - "array-bracket-spacing": [ - "off", - "never" - ], - "array-callback-return": "error", - "arrow-body-style": "off", - "arrow-parens": [ - "off", - "as-needed" - ], - "arrow-spacing": [ - "error", - { - "after": true, - "before": true - } - ], - "block-scoped-var": "off", - "block-spacing": "off", - "brace-style": [ - "off", - "stroustrup" - ], - "callback-return": "off", - "camelcase": "off", - "class-methods-use-this": "error", - "comma-dangle": "error", - "comma-spacing": "off", - "comma-style": [ - "error", - "last" - ], - "complexity": "off", - "computed-property-spacing": [ - "error", - "never" - ], - "consistent-return": "off", - "consistent-this": "error", - "curly": "off", - "default-case": "error", - "dot-location": [ - "off", - "property" - ], - "dot-notation": [ - "error", - { - "allowKeywords": true - } - ], - "eol-last": "error", - "eqeqeq": "off", - "func-call-spacing": "error", - "func-name-matching": "off", - "func-names": "off", - "func-style": [ - "off", - "declaration" - ], - "generator-star-spacing": "off", - "global-require": "off", - "guard-for-in": "off", - "handle-callback-err": "off", - "id-blacklist": "error", - "id-length": "off", - "id-match": "error", - "indent": "off", - "init-declarations": "off", - "jsx-quotes": "error", - "key-spacing": "off", - "keyword-spacing": "off", - "line-comment-position": "off", - "linebreak-style": [ - "error", - "unix" - ], - "lines-around-comment": "off", - "lines-around-directive": "off", - "max-depth": "off", - "max-len": "off", - "max-lines": "off", - "max-nested-callbacks": "error", - "max-params": "off", - "max-statements": "off", - "max-statements-per-line": "off", - "multiline-ternary": [ - "off", - "never" - ], - "new-parens": "error", - "newline-after-var": "off", - "newline-before-return": "off", - "newline-per-chained-call": "off", - "no-alert": "error", - "no-array-constructor": "error", - "no-bitwise": "off", - "no-caller": "error", - "no-catch-shadow": "off", - "no-confusing-arrow": "error", - "no-console": "off", - "no-continue": "off", - "no-div-regex": "error", - "no-duplicate-imports": "error", - "no-else-return": "off", - "no-empty": [ - "warn", - { - "allowEmptyCatch": true - } - ], - "no-empty-function": "off", - "no-eq-null": "error", - "no-eval": "error", - "no-extend-native": "off", - "no-extra-bind": "error", - "no-extra-label": "error", - "no-extra-parens": "off", - "no-floating-decimal": "error", - "no-global-assign": "error", - "no-implicit-globals": "error", - "no-implied-eval": "error", - "no-inline-comments": "off", - "no-inner-declarations": [ - "error", - "functions" - ], - "no-invalid-this": "off", - "no-iterator": "error", - "no-label-var": "error", - "no-labels": "error", - "no-lone-blocks": "error", - "no-lonely-if": "off", - "no-loop-func": "off", - "no-magic-numbers": "off", - "no-mixed-operators": "error", - "no-mixed-requires": "error", - "no-multi-spaces": "off", - "no-multi-str": "error", - "no-multiple-empty-lines": "error", - "no-negated-condition": "error", - "no-nested-ternary": "off", - "no-new": "error", - "no-new-func": "error", - "no-new-object": "error", - "no-new-require": "error", - "no-new-wrappers": "error", - "no-octal-escape": "error", - "no-param-reassign": "off", - "no-path-concat": "error", - "no-plusplus": "off", - "no-process-env": "off", - "no-process-exit": "off", - "no-proto": "error", - "no-prototype-builtins": "error", - "no-restricted-globals": "error", - "no-restricted-imports": "error", - "no-restricted-modules": "error", - "no-restricted-properties": "error", - "no-restricted-syntax": "error", - "no-return-assign": "off", - "no-script-url": "error", - "no-self-compare": "error", - "no-sequences": "error", - "no-shadow": "off", - "no-shadow-restricted-names": "error", - "no-spaced-func": "error", - "no-sync": "off", - "no-tabs": "off", - "no-template-curly-in-string": "error", - "no-ternary": "off", - "no-throw-literal": "error", - "no-trailing-spaces": "error", - "no-undef-init": "error", - "no-undefined": "warn", - "no-underscore-dangle": "off", - "no-unmodified-loop-condition": "error", - "no-unneeded-ternary": [ - "error", - { - "defaultAssignment": true - } - ], - "no-unsafe-negation": "error", - "no-unused-expressions": "error", - "no-unused-vars": "off", - "no-use-before-define": "off", - "no-useless-call": "error", - "no-useless-computed-key": "error", - "no-useless-concat": "off", - "no-useless-constructor": "error", - "no-useless-escape": "off", - "no-useless-rename": "error", - "no-var": "off", - "no-void": "error", - "no-warning-comments": "off", - "no-whitespace-before-property": "error", - "no-with": "error", - "object-curly-newline": "off", - "object-curly-spacing": "off", - "object-property-newline": [ - "off", - { - "allowMultiplePropertiesPerLine": true - } - ], - "object-shorthand": "off", - "one-var": "off", - "one-var-declaration-per-line": "error", - "operator-assignment": "off", - "operator-linebreak": "off", - "padded-blocks": "off", - "prefer-arrow-callback": "off", - "prefer-const": "off", - "prefer-numeric-literals": "error", - "prefer-reflect": "off", - "prefer-rest-params": "error", - "prefer-spread": "error", - "prefer-template": "off", - "quote-props": "off", - "quotes": "off", - "radix": "error", - "require-jsdoc": "off", - "require-yield": "off", - "rest-spread-spacing": "error", - "semi": "off", - "semi-spacing": "off", - "no-extra-semi": "off", - "sort-imports": "error", - "sort-keys": "off", - "sort-vars": "off", - "space-before-blocks": "off", - "space-before-function-paren": "off", - "space-in-parens": [ - "error", - "never" - ], - "space-infix-ops": "off", - "space-unary-ops": "error", - "spaced-comment": "off", - "strict": "off", - "symbol-description": "error", - "template-curly-spacing": "error", - "unicode-bom": [ - "error", - "never" - ], - "valid-jsdoc": "off", - "vars-on-top": "off", - "wrap-iife": "error", - "wrap-regex": "off", - "yield-star-spacing": "error", - "yoda": [ - "error", - "never" - ] - } -} diff --git a/docs/source/javascripts/all.bundle.inc b/docs/source/javascripts/all.bundle.inc deleted file mode 100644 index 51114732..00000000 --- a/docs/source/javascripts/all.bundle.inc +++ /dev/null @@ -1 +0,0 @@ - diff --git a/docs/source/javascripts/all.inc b/docs/source/javascripts/all.inc deleted file mode 100644 index 58353c29..00000000 --- a/docs/source/javascripts/all.inc +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - diff --git a/docs/source/javascripts/all.js b/docs/source/javascripts/all.js deleted file mode 100644 index 5f5d4067..00000000 --- a/docs/source/javascripts/all.js +++ /dev/null @@ -1,2 +0,0 @@ -//= require ./all_nosearch -//= require ./app/_search diff --git a/docs/source/javascripts/all_nosearch.inc b/docs/source/javascripts/all_nosearch.inc deleted file mode 100644 index a3f21460..00000000 --- a/docs/source/javascripts/all_nosearch.inc +++ /dev/null @@ -1,18 +0,0 @@ - - - - - diff --git a/docs/source/javascripts/all_nosearch.js b/docs/source/javascripts/all_nosearch.js deleted file mode 100644 index e108c0b7..00000000 --- a/docs/source/javascripts/all_nosearch.js +++ /dev/null @@ -1,16 +0,0 @@ -//= require ./lib/_energize -//= require ./app/_toc -//= require ./app/_lang - -$(function() { - loadToc($('#toc'), '.toc-link', '.toc-list-h2, .toc-list-h3, .toc-list-h4, .toc-list-h5, .toc-list-h6', 10); - setupLanguages($('body').data('languages')); - $('.content').imagesLoaded( function() { - window.recacheHeights(); - window.refreshToc(); - }); -}); - -window.onpopstate = function() { - activateLanguage(getLanguageFromQueryString()); -}; diff --git a/docs/source/javascripts/app/.eslintrc.json b/docs/source/javascripts/app/.eslintrc.json deleted file mode 100644 index 277bbea9..00000000 --- a/docs/source/javascripts/app/.eslintrc.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "env": { - "browser": true, - "jquery": true - }, - "globals": { - "lunr": true - } -} diff --git a/docs/source/javascripts/app/_lang.js b/docs/source/javascripts/app/_lang.js deleted file mode 100644 index ec791a94..00000000 --- a/docs/source/javascripts/app/_lang.js +++ /dev/null @@ -1,164 +0,0 @@ -//= require ../lib/_jquery - -/* -Copyright 2008-2013 Concur Technologies, Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); you may -not use this file except in compliance with the License. You may obtain -a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -License for the specific language governing permissions and limitations -under the License. -*/ -;(function () { - 'use strict'; - - var languages = []; - - window.setupLanguages = setupLanguages; - window.activateLanguage = activateLanguage; - window.getLanguageFromQueryString = getLanguageFromQueryString; - - function activateLanguage(language) { - if (!language) return; - if (language === "") return; - - $(".lang-selector a").removeClass('active'); - $(".lang-selector a[data-language-name='" + language + "']").addClass('active'); - for (var i=0; i < languages.length; i++) { - $(".highlight.tab-" + languages[i]).hide(); - $(".lang-specific." + languages[i]).hide(); - } - $(".highlight.tab-" + language).show(); - $(".lang-specific." + language).show(); - - window.recacheHeights(); - - // scroll to the new location of the position - if ($(window.location.hash).get(0)) { - $(window.location.hash).get(0).scrollIntoView(true); - } - } - - // parseURL and stringifyURL are from https://github.com/sindresorhus/query-string - // MIT licensed - // https://github.com/sindresorhus/query-string/blob/7bee64c16f2da1a326579e96977b9227bf6da9e6/license - function parseURL(str) { - if (typeof str !== 'string') { - return {}; - } - - str = str.trim().replace(/^(\?|#|&)/, ''); - - if (!str) { - return {}; - } - - return str.split('&').reduce(function (ret, param) { - var parts = param.replace(/\+/g, ' ').split('='); - var key = parts[0]; - var val = parts[1]; - - key = decodeURIComponent(key); - // missing `=` should be `null`: - // http://w3.org/TR/2012/WD-url-20120524/#collect-url-parameters - val = (typeof val === "undefined") ? null : decodeURIComponent(val); - - if (!ret.hasOwnProperty(key)) { - ret[key] = val; - } else if (Array.isArray(ret[key])) { - ret[key].push(val); - } else { - ret[key] = [ret[key], val]; - } - - return ret; - }, {}); - }; - - function stringifyURL(obj) { - return obj ? Object.keys(obj).sort().map(function (key) { - var val = obj[key]; - - if (Array.isArray(val)) { - return val.sort().map(function (val2) { - return encodeURIComponent(key) + '=' + encodeURIComponent(val2); - }).join('&'); - } - - return encodeURIComponent(key) + '=' + encodeURIComponent(val); - }).join('&') : ''; - }; - - // gets the language set in the query string - function getLanguageFromQueryString() { - if (location.search.length >= 1) { - var language = parseURL(location.search).language; - if (language) { - return language; - } else if (jQuery.inArray(location.search.substr(1), languages) != -1) { - return location.search.substr(1); - } - } - - return false; - } - - // returns a new query string with the new language in it - function generateNewQueryString(language) { - var url = parseURL(location.search); - if (url.language) { - url.language = language; - return stringifyURL(url); - } - return language; - } - - // if a button is clicked, add the state to the history - function pushURL(language) { - if (!history) { return; } - var hash = window.location.hash; - if (hash) { - hash = hash.replace(/^#+/, ''); - } - history.pushState({}, '', '?' + generateNewQueryString(language) + '#' + hash); - - // save language as next default - localStorage.setItem("language", language); - } - - function setupLanguages(l) { - var defaultLanguage = localStorage.getItem("language"); - - languages = l; - - var presetLanguage = getLanguageFromQueryString(); - if (presetLanguage) { - // the language is in the URL, so use that language! - activateLanguage(presetLanguage); - - localStorage.setItem("language", presetLanguage); - } else if ((defaultLanguage !== null) && (jQuery.inArray(defaultLanguage, languages) != -1)) { - // the language was the last selected one saved in localstorage, so use that language! - activateLanguage(defaultLanguage); - } else { - // no language selected, so use the default - activateLanguage(languages[0]); - } - } - - // if we click on a language tab, activate that language - $(function() { - $(".lang-selector a").on("click", function() { - var language = $(this).data("language-name"); - pushURL(language); - activateLanguage(language); - return false; - }); - }); -})(); diff --git a/docs/source/javascripts/app/_search.js b/docs/source/javascripts/app/_search.js deleted file mode 100644 index 448bc2af..00000000 --- a/docs/source/javascripts/app/_search.js +++ /dev/null @@ -1,98 +0,0 @@ -//= require ../lib/_lunr -//= require ../lib/_jquery -//= require ../lib/_jquery.highlight -;(function () { - 'use strict'; - - var content, searchResults; - var highlightOpts = { element: 'span', className: 'search-highlight' }; - var searchDelay = 0; - var timeoutHandle = 0; - - var index = new lunr.Index(); - - index.ref('id'); - index.field('title', { boost: 10 }); - index.field('body'); - index.pipeline.add(lunr.trimmer, lunr.stopWordFilter); - - $(populate); - $(bind); - - function populate() { - $('h1, h2').each(function() { - var title = $(this); - var body = title.nextUntil('h1, h2'); - index.add({ - id: title.prop('id'), - title: title.text(), - body: body.text() - }); - }); - - determineSearchDelay(); - } - function determineSearchDelay() { - if(index.tokenStore.length>5000) { - searchDelay = 300; - } - } - - function bind() { - content = $('.content'); - searchResults = $('.search-results'); - - $('#input-search').on('keyup',function(e) { - var wait = function() { - return function(executingFunction, waitTime){ - clearTimeout(timeoutHandle); - timeoutHandle = setTimeout(executingFunction, waitTime); - }; - }(); - wait(function(){ - search(e); - }, searchDelay); - }); - } - - function search(event) { - - var searchInput = $('#input-search')[0]; - - unhighlight(); - searchResults.addClass('visible'); - - // ESC clears the field - if (event.keyCode === 27) searchInput.value = ''; - - if (searchInput.value) { - var results = index.search(searchInput.value).filter(function(r) { - return r.score > 0.0001; - }); - - if (results.length) { - searchResults.empty(); - $.each(results, function (index, result) { - var elem = document.getElementById(result.ref); - searchResults.append("
        • " + $(elem).text() + "
        • "); - }); - highlight.call(searchInput); - } else { - searchResults.html('
        • '); - $('.search-results li').text('No Results Found for "' + searchInput.value + '"'); - } - } else { - unhighlight(); - searchResults.removeClass('visible'); - } - } - - function highlight() { - if (this.value) content.highlight(this.value, highlightOpts); - } - - function unhighlight() { - content.unhighlight(highlightOpts); - } -})(); - diff --git a/docs/source/javascripts/app/_toc.js b/docs/source/javascripts/app/_toc.js deleted file mode 100644 index a8a21214..00000000 --- a/docs/source/javascripts/app/_toc.js +++ /dev/null @@ -1,122 +0,0 @@ -//= require ../lib/_jquery -//= require ../lib/_imagesloaded.min -;(function () { - 'use strict'; - - var htmlPattern = /<[^>]*>/g; - var loaded = false; - - var debounce = function(func, waitTime) { - var timeout = false; - return function() { - if (timeout === false) { - setTimeout(function() { - func(); - timeout = false; - }, waitTime); - timeout = true; - } - }; - }; - - var closeToc = function() { - $(".toc-wrapper").removeClass('open'); - $("#nav-button").removeClass('open'); - }; - - function loadToc($toc, tocLinkSelector, tocListSelector, scrollOffset) { - var headerHeights = {}; - var pageHeight = 0; - var windowHeight = 0; - var originalTitle = document.title; - - var recacheHeights = function() { - headerHeights = {}; - pageHeight = $(document).height(); - windowHeight = $(window).height(); - - $toc.find(tocLinkSelector).each(function() { - var targetId = $(this).attr('href'); - if (targetId[0] === "#") { - headerHeights[targetId] = $(targetId).offset().top; - } - }); - }; - - var refreshToc = function() { - var currentTop = $(document).scrollTop() + scrollOffset; - - if (currentTop + windowHeight >= pageHeight) { - // at bottom of page, so just select last header by making currentTop very large - // this fixes the problem where the last header won't ever show as active if its content - // is shorter than the window height - currentTop = pageHeight + 1000; - } - - var best = null; - for (var name in headerHeights) { - if ((headerHeights[name] < currentTop && headerHeights[name] > headerHeights[best]) || best === null) { - best = name; - } - } - - // Catch the initial load case - if (currentTop == scrollOffset && !loaded) { - best = window.location.hash; - loaded = true; - } - - var $best = $toc.find("[href='" + best + "']").first(); - if (!$best.hasClass("active")) { - // .active is applied to the ToC link we're currently on, and its parent
            s selected by tocListSelector - // .active-expanded is applied to the ToC links that are parents of this one - $toc.find(".active").removeClass("active"); - $toc.find(".active-parent").removeClass("active-parent"); - $best.addClass("active"); - $best.parents(tocListSelector).addClass("active").siblings(tocLinkSelector).addClass('active-parent'); - $best.siblings(tocListSelector).addClass("active"); - $toc.find(tocListSelector).filter(":not(.active)").slideUp(150); - $toc.find(tocListSelector).filter(".active").slideDown(150); - if (window.history.replaceState) { - window.history.replaceState(null, "", best); - } - var thisTitle = $best.data("title") - if (typeof thisTitle !== "undefined" && thisTitle.length > 0) { - document.title = thisTitle + " – " + originalTitle; - } else { - document.title = originalTitle; - } - } - }; - - var makeToc = function() { - recacheHeights(); - refreshToc(); - - $("#nav-button").click(function() { - $(".toc-wrapper").toggleClass('open'); - $("#nav-button").toggleClass('open'); - return false; - }); - $(".page-wrapper").click(closeToc); - $(".toc-link").click(closeToc); - - // reload immediately after scrolling on toc click - $toc.find(tocLinkSelector).click(function() { - setTimeout(function() { - refreshToc(); - }, 0); - }); - - $(window).scroll(debounce(refreshToc, 200)); - $(window).resize(debounce(recacheHeights, 200)); - }; - - makeToc(); - - window.recacheHeights = recacheHeights; - window.refreshToc = refreshToc; - } - - window.loadToc = loadToc; -})(); diff --git a/docs/source/javascripts/lib/_energize.js b/docs/source/javascripts/lib/_energize.js deleted file mode 100644 index 6798f3c0..00000000 --- a/docs/source/javascripts/lib/_energize.js +++ /dev/null @@ -1,169 +0,0 @@ -/** - * energize.js v0.1.0 - * - * Speeds up click events on mobile devices. - * https://github.com/davidcalhoun/energize.js - */ - -(function() { // Sandbox - /** - * Don't add to non-touch devices, which don't need to be sped up - */ - if(!('ontouchstart' in window)) return; - - var lastClick = {}, - isThresholdReached, touchstart, touchmove, touchend, - click, closest; - - /** - * isThresholdReached - * - * Compare touchstart with touchend xy coordinates, - * and only fire simulated click event if the coordinates - * are nearby. (don't want clicking to be confused with a swipe) - */ - isThresholdReached = function(startXY, xy) { - return Math.abs(startXY[0] - xy[0]) > 5 || Math.abs(startXY[1] - xy[1]) > 5; - }; - - /** - * touchstart - * - * Save xy coordinates when the user starts touching the screen - */ - touchstart = function(e) { - this.startXY = [e.touches[0].clientX, e.touches[0].clientY]; - this.threshold = false; - }; - - /** - * touchmove - * - * Check if the user is scrolling past the threshold. - * Have to check here because touchend will not always fire - * on some tested devices (Kindle Fire?) - */ - touchmove = function(e) { - // NOOP if the threshold has already been reached - if(this.threshold) return false; - - this.threshold = isThresholdReached(this.startXY, [e.touches[0].clientX, e.touches[0].clientY]); - }; - - /** - * touchend - * - * If the user didn't scroll past the threshold between - * touchstart and touchend, fire a simulated click. - * - * (This will fire before a native click) - */ - touchend = function(e) { - // Don't fire a click if the user scrolled past the threshold - if(this.threshold || isThresholdReached(this.startXY, [e.changedTouches[0].clientX, e.changedTouches[0].clientY])) { - return; - } - - /** - * Create and fire a click event on the target element - * https://developer.mozilla.org/en/DOM/event.initMouseEvent - */ - var touch = e.changedTouches[0], - evt = document.createEvent('MouseEvents'); - evt.initMouseEvent('click', true, true, window, 0, touch.screenX, touch.screenY, touch.clientX, touch.clientY, false, false, false, false, 0, null); - evt.simulated = true; // distinguish from a normal (nonsimulated) click - e.target.dispatchEvent(evt); - }; - - /** - * click - * - * Because we've already fired a click event in touchend, - * we need to listed for all native click events here - * and suppress them as necessary. - */ - click = function(e) { - /** - * Prevent ghost clicks by only allowing clicks we created - * in the click event we fired (look for e.simulated) - */ - var time = Date.now(), - timeDiff = time - lastClick.time, - x = e.clientX, - y = e.clientY, - xyDiff = [Math.abs(lastClick.x - x), Math.abs(lastClick.y - y)], - target = closest(e.target, 'A') || e.target, // needed for standalone apps - nodeName = target.nodeName, - isLink = nodeName === 'A', - standAlone = window.navigator.standalone && isLink && e.target.getAttribute("href"); - - lastClick.time = time; - lastClick.x = x; - lastClick.y = y; - - /** - * Unfortunately Android sometimes fires click events without touch events (seen on Kindle Fire), - * so we have to add more logic to determine the time of the last click. Not perfect... - * - * Older, simpler check: if((!e.simulated) || standAlone) - */ - if((!e.simulated && (timeDiff < 500 || (timeDiff < 1500 && xyDiff[0] < 50 && xyDiff[1] < 50))) || standAlone) { - e.preventDefault(); - e.stopPropagation(); - if(!standAlone) return false; - } - - /** - * Special logic for standalone web apps - * See http://stackoverflow.com/questions/2898740/iphone-safari-web-app-opens-links-in-new-window - */ - if(standAlone) { - window.location = target.getAttribute("href"); - } - - /** - * Add an energize-focus class to the targeted link (mimics :focus behavior) - * TODO: test and/or remove? Does this work? - */ - if(!target || !target.classList) return; - target.classList.add("energize-focus"); - window.setTimeout(function(){ - target.classList.remove("energize-focus"); - }, 150); - }; - - /** - * closest - * @param {HTMLElement} node current node to start searching from. - * @param {string} tagName the (uppercase) name of the tag you're looking for. - * - * Find the closest ancestor tag of a given node. - * - * Starts at node and goes up the DOM tree looking for a - * matching nodeName, continuing until hitting document.body - */ - closest = function(node, tagName){ - var curNode = node; - - while(curNode !== document.body) { // go up the dom until we find the tag we're after - if(!curNode || curNode.nodeName === tagName) { return curNode; } // found - curNode = curNode.parentNode; // not found, so keep going up - } - - return null; // not found - }; - - /** - * Add all delegated event listeners - * - * All the events we care about bubble up to document, - * so we can take advantage of event delegation. - * - * Note: no need to wait for DOMContentLoaded here - */ - document.addEventListener('touchstart', touchstart, false); - document.addEventListener('touchmove', touchmove, false); - document.addEventListener('touchend', touchend, false); - document.addEventListener('click', click, true); // TODO: why does this use capture? - -})(); \ No newline at end of file diff --git a/docs/source/javascripts/lib/_imagesloaded.min.js b/docs/source/javascripts/lib/_imagesloaded.min.js deleted file mode 100644 index d66f6589..00000000 --- a/docs/source/javascripts/lib/_imagesloaded.min.js +++ /dev/null @@ -1,7 +0,0 @@ -/*! - * imagesLoaded PACKAGED v3.1.8 - * JavaScript is all like "You images are done yet or what?" - * MIT License - */ - -(function(){function e(){}function t(e,t){for(var n=e.length;n--;)if(e[n].listener===t)return n;return-1}function n(e){return function(){return this[e].apply(this,arguments)}}var i=e.prototype,r=this,o=r.EventEmitter;i.getListeners=function(e){var t,n,i=this._getEvents();if("object"==typeof e){t={};for(n in i)i.hasOwnProperty(n)&&e.test(n)&&(t[n]=i[n])}else t=i[e]||(i[e]=[]);return t},i.flattenListeners=function(e){var t,n=[];for(t=0;e.length>t;t+=1)n.push(e[t].listener);return n},i.getListenersAsObject=function(e){var t,n=this.getListeners(e);return n instanceof Array&&(t={},t[e]=n),t||n},i.addListener=function(e,n){var i,r=this.getListenersAsObject(e),o="object"==typeof n;for(i in r)r.hasOwnProperty(i)&&-1===t(r[i],n)&&r[i].push(o?n:{listener:n,once:!1});return this},i.on=n("addListener"),i.addOnceListener=function(e,t){return this.addListener(e,{listener:t,once:!0})},i.once=n("addOnceListener"),i.defineEvent=function(e){return this.getListeners(e),this},i.defineEvents=function(e){for(var t=0;e.length>t;t+=1)this.defineEvent(e[t]);return this},i.removeListener=function(e,n){var i,r,o=this.getListenersAsObject(e);for(r in o)o.hasOwnProperty(r)&&(i=t(o[r],n),-1!==i&&o[r].splice(i,1));return this},i.off=n("removeListener"),i.addListeners=function(e,t){return this.manipulateListeners(!1,e,t)},i.removeListeners=function(e,t){return this.manipulateListeners(!0,e,t)},i.manipulateListeners=function(e,t,n){var i,r,o=e?this.removeListener:this.addListener,s=e?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(i=n.length;i--;)o.call(this,t,n[i]);else for(i in t)t.hasOwnProperty(i)&&(r=t[i])&&("function"==typeof r?o.call(this,i,r):s.call(this,i,r));return this},i.removeEvent=function(e){var t,n=typeof e,i=this._getEvents();if("string"===n)delete i[e];else if("object"===n)for(t in i)i.hasOwnProperty(t)&&e.test(t)&&delete i[t];else delete this._events;return this},i.removeAllListeners=n("removeEvent"),i.emitEvent=function(e,t){var n,i,r,o,s=this.getListenersAsObject(e);for(r in s)if(s.hasOwnProperty(r))for(i=s[r].length;i--;)n=s[r][i],n.once===!0&&this.removeListener(e,n.listener),o=n.listener.apply(this,t||[]),o===this._getOnceReturnValue()&&this.removeListener(e,n.listener);return this},i.trigger=n("emitEvent"),i.emit=function(e){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(e,t)},i.setOnceReturnValue=function(e){return this._onceReturnValue=e,this},i._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},i._getEvents=function(){return this._events||(this._events={})},e.noConflict=function(){return r.EventEmitter=o,e},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return e}):"object"==typeof module&&module.exports?module.exports=e:this.EventEmitter=e}).call(this),function(e){function t(t){var n=e.event;return n.target=n.target||n.srcElement||t,n}var n=document.documentElement,i=function(){};n.addEventListener?i=function(e,t,n){e.addEventListener(t,n,!1)}:n.attachEvent&&(i=function(e,n,i){e[n+i]=i.handleEvent?function(){var n=t(e);i.handleEvent.call(i,n)}:function(){var n=t(e);i.call(e,n)},e.attachEvent("on"+n,e[n+i])});var r=function(){};n.removeEventListener?r=function(e,t,n){e.removeEventListener(t,n,!1)}:n.detachEvent&&(r=function(e,t,n){e.detachEvent("on"+t,e[t+n]);try{delete e[t+n]}catch(i){e[t+n]=void 0}});var o={bind:i,unbind:r};"function"==typeof define&&define.amd?define("eventie/eventie",o):e.eventie=o}(this),function(e,t){"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],function(n,i){return t(e,n,i)}):"object"==typeof exports?module.exports=t(e,require("wolfy87-eventemitter"),require("eventie")):e.imagesLoaded=t(e,e.EventEmitter,e.eventie)}(window,function(e,t,n){function i(e,t){for(var n in t)e[n]=t[n];return e}function r(e){return"[object Array]"===d.call(e)}function o(e){var t=[];if(r(e))t=e;else if("number"==typeof e.length)for(var n=0,i=e.length;i>n;n++)t.push(e[n]);else t.push(e);return t}function s(e,t,n){if(!(this instanceof s))return new s(e,t);"string"==typeof e&&(e=document.querySelectorAll(e)),this.elements=o(e),this.options=i({},this.options),"function"==typeof t?n=t:i(this.options,t),n&&this.on("always",n),this.getImages(),a&&(this.jqDeferred=new a.Deferred);var r=this;setTimeout(function(){r.check()})}function f(e){this.img=e}function c(e){this.src=e,v[e]=this}var a=e.jQuery,u=e.console,h=u!==void 0,d=Object.prototype.toString;s.prototype=new t,s.prototype.options={},s.prototype.getImages=function(){this.images=[];for(var e=0,t=this.elements.length;t>e;e++){var n=this.elements[e];"IMG"===n.nodeName&&this.addImage(n);var i=n.nodeType;if(i&&(1===i||9===i||11===i))for(var r=n.querySelectorAll("img"),o=0,s=r.length;s>o;o++){var f=r[o];this.addImage(f)}}},s.prototype.addImage=function(e){var t=new f(e);this.images.push(t)},s.prototype.check=function(){function e(e,r){return t.options.debug&&h&&u.log("confirm",e,r),t.progress(e),n++,n===i&&t.complete(),!0}var t=this,n=0,i=this.images.length;if(this.hasAnyBroken=!1,!i)return this.complete(),void 0;for(var r=0;i>r;r++){var o=this.images[r];o.on("confirm",e),o.check()}},s.prototype.progress=function(e){this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded;var t=this;setTimeout(function(){t.emit("progress",t,e),t.jqDeferred&&t.jqDeferred.notify&&t.jqDeferred.notify(t,e)})},s.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0;var t=this;setTimeout(function(){if(t.emit(e,t),t.emit("always",t),t.jqDeferred){var n=t.hasAnyBroken?"reject":"resolve";t.jqDeferred[n](t)}})},a&&(a.fn.imagesLoaded=function(e,t){var n=new s(this,e,t);return n.jqDeferred.promise(a(this))}),f.prototype=new t,f.prototype.check=function(){var e=v[this.img.src]||new c(this.img.src);if(e.isConfirmed)return this.confirm(e.isLoaded,"cached was confirmed"),void 0;if(this.img.complete&&void 0!==this.img.naturalWidth)return this.confirm(0!==this.img.naturalWidth,"naturalWidth"),void 0;var t=this;e.on("confirm",function(e,n){return t.confirm(e.isLoaded,n),!0}),e.check()},f.prototype.confirm=function(e,t){this.isLoaded=e,this.emit("confirm",this,t)};var v={};return c.prototype=new t,c.prototype.check=function(){if(!this.isChecked){var e=new Image;n.bind(e,"load",this),n.bind(e,"error",this),e.src=this.src,this.isChecked=!0}},c.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},c.prototype.onload=function(e){this.confirm(!0,"onload"),this.unbindProxyEvents(e)},c.prototype.onerror=function(e){this.confirm(!1,"onerror"),this.unbindProxyEvents(e)},c.prototype.confirm=function(e,t){this.isConfirmed=!0,this.isLoaded=e,this.emit("confirm",this,t)},c.prototype.unbindProxyEvents=function(e){n.unbind(e.target,"load",this),n.unbind(e.target,"error",this)},s}); \ No newline at end of file diff --git a/docs/source/javascripts/lib/_jquery.highlight.js b/docs/source/javascripts/lib/_jquery.highlight.js deleted file mode 100644 index 9dcf3c7a..00000000 --- a/docs/source/javascripts/lib/_jquery.highlight.js +++ /dev/null @@ -1,108 +0,0 @@ -/* - * jQuery Highlight plugin - * - * Based on highlight v3 by Johann Burkard - * http://johannburkard.de/blog/programming/javascript/highlight-javascript-text-higlighting-jquery-plugin.html - * - * Code a little bit refactored and cleaned (in my humble opinion). - * Most important changes: - * - has an option to highlight only entire words (wordsOnly - false by default), - * - has an option to be case sensitive (caseSensitive - false by default) - * - highlight element tag and class names can be specified in options - * - * Usage: - * // wrap every occurrance of text 'lorem' in content - * // with (default options) - * $('#content').highlight('lorem'); - * - * // search for and highlight more terms at once - * // so you can save some time on traversing DOM - * $('#content').highlight(['lorem', 'ipsum']); - * $('#content').highlight('lorem ipsum'); - * - * // search only for entire word 'lorem' - * $('#content').highlight('lorem', { wordsOnly: true }); - * - * // don't ignore case during search of term 'lorem' - * $('#content').highlight('lorem', { caseSensitive: true }); - * - * // wrap every occurrance of term 'ipsum' in content - * // with - * $('#content').highlight('ipsum', { element: 'em', className: 'important' }); - * - * // remove default highlight - * $('#content').unhighlight(); - * - * // remove custom highlight - * $('#content').unhighlight({ element: 'em', className: 'important' }); - * - * - * Copyright (c) 2009 Bartek Szopka - * - * Licensed under MIT license. - * - */ - -jQuery.extend({ - highlight: function (node, re, nodeName, className) { - if (node.nodeType === 3) { - var match = node.data.match(re); - if (match) { - var highlight = document.createElement(nodeName || 'span'); - highlight.className = className || 'highlight'; - var wordNode = node.splitText(match.index); - wordNode.splitText(match[0].length); - var wordClone = wordNode.cloneNode(true); - highlight.appendChild(wordClone); - wordNode.parentNode.replaceChild(highlight, wordNode); - return 1; //skip added node in parent - } - } else if ((node.nodeType === 1 && node.childNodes) && // only element nodes that have children - !/(script|style)/i.test(node.tagName) && // ignore script and style nodes - !(node.tagName === nodeName.toUpperCase() && node.className === className)) { // skip if already highlighted - for (var i = 0; i < node.childNodes.length; i++) { - i += jQuery.highlight(node.childNodes[i], re, nodeName, className); - } - } - return 0; - } -}); - -jQuery.fn.unhighlight = function (options) { - var settings = { className: 'highlight', element: 'span' }; - jQuery.extend(settings, options); - - return this.find(settings.element + "." + settings.className).each(function () { - var parent = this.parentNode; - parent.replaceChild(this.firstChild, this); - parent.normalize(); - }).end(); -}; - -jQuery.fn.highlight = function (words, options) { - var settings = { className: 'highlight', element: 'span', caseSensitive: false, wordsOnly: false }; - jQuery.extend(settings, options); - - if (words.constructor === String) { - words = [words]; - } - words = jQuery.grep(words, function(word, i){ - return word != ''; - }); - words = jQuery.map(words, function(word, i) { - return word.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"); - }); - if (words.length == 0) { return this; }; - - var flag = settings.caseSensitive ? "" : "i"; - var pattern = "(" + words.join("|") + ")"; - if (settings.wordsOnly) { - pattern = "\\b" + pattern + "\\b"; - } - var re = new RegExp(pattern, flag); - - return this.each(function () { - jQuery.highlight(this, re, settings.element, settings.className); - }); -}; - diff --git a/docs/source/javascripts/lib/_jquery.js b/docs/source/javascripts/lib/_jquery.js deleted file mode 100644 index d2d8ca47..00000000 --- a/docs/source/javascripts/lib/_jquery.js +++ /dev/null @@ -1,10253 +0,0 @@ -/*! - * jQuery JavaScript Library v3.2.1 - * https://jquery.com/ - * - * Includes Sizzle.js - * https://sizzlejs.com/ - * - * Copyright JS Foundation and other contributors - * Released under the MIT license - * https://jquery.org/license - * - * Date: 2017-03-20T18:59Z - */ -( function( global, factory ) { - - "use strict"; - - if ( typeof module === "object" && typeof module.exports === "object" ) { - - // For CommonJS and CommonJS-like environments where a proper `window` - // is present, execute the factory and get jQuery. - // For environments that do not have a `window` with a `document` - // (such as Node.js), expose a factory as module.exports. - // This accentuates the need for the creation of a real `window`. - // e.g. var jQuery = require("jquery")(window); - // See ticket #14549 for more info. - module.exports = global.document ? - factory( global, true ) : - function( w ) { - if ( !w.document ) { - throw new Error( "jQuery requires a window with a document" ); - } - return factory( w ); - }; - } else { - factory( global ); - } - -// Pass this if window is not defined yet -} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { - -// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 -// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode -// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common -// enough that all such attempts are guarded in a try block. -"use strict"; - -var arr = []; - -var document = window.document; - -var getProto = Object.getPrototypeOf; - -var slice = arr.slice; - -var concat = arr.concat; - -var push = arr.push; - -var indexOf = arr.indexOf; - -var class2type = {}; - -var toString = class2type.toString; - -var hasOwn = class2type.hasOwnProperty; - -var fnToString = hasOwn.toString; - -var ObjectFunctionString = fnToString.call( Object ); - -var support = {}; - - - - function DOMEval( code, doc ) { - doc = doc || document; - - var script = doc.createElement( "script" ); - - script.text = code; - doc.head.appendChild( script ).parentNode.removeChild( script ); - } -/* global Symbol */ -// Defining this global in .eslintrc.json would create a danger of using the global -// unguarded in another place, it seems safer to define global only for this module - - - -var - version = "3.2.1", - - // Define a local copy of jQuery - jQuery = function( selector, context ) { - - // The jQuery object is actually just the init constructor 'enhanced' - // Need init if jQuery is called (just allow error to be thrown if not included) - return new jQuery.fn.init( selector, context ); - }, - - // Support: Android <=4.0 only - // Make sure we trim BOM and NBSP - rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, - - // Matches dashed string for camelizing - rmsPrefix = /^-ms-/, - rdashAlpha = /-([a-z])/g, - - // Used by jQuery.camelCase as callback to replace() - fcamelCase = function( all, letter ) { - return letter.toUpperCase(); - }; - -jQuery.fn = jQuery.prototype = { - - // The current version of jQuery being used - jquery: version, - - constructor: jQuery, - - // The default length of a jQuery object is 0 - length: 0, - - toArray: function() { - return slice.call( this ); - }, - - // Get the Nth element in the matched element set OR - // Get the whole matched element set as a clean array - get: function( num ) { - - // Return all the elements in a clean array - if ( num == null ) { - return slice.call( this ); - } - - // Return just the one element from the set - return num < 0 ? this[ num + this.length ] : this[ num ]; - }, - - // Take an array of elements and push it onto the stack - // (returning the new matched element set) - pushStack: function( elems ) { - - // Build a new jQuery matched element set - var ret = jQuery.merge( this.constructor(), elems ); - - // Add the old object onto the stack (as a reference) - ret.prevObject = this; - - // Return the newly-formed element set - return ret; - }, - - // Execute a callback for every element in the matched set. - each: function( callback ) { - return jQuery.each( this, callback ); - }, - - map: function( callback ) { - return this.pushStack( jQuery.map( this, function( elem, i ) { - return callback.call( elem, i, elem ); - } ) ); - }, - - slice: function() { - return this.pushStack( slice.apply( this, arguments ) ); - }, - - first: function() { - return this.eq( 0 ); - }, - - last: function() { - return this.eq( -1 ); - }, - - eq: function( i ) { - var len = this.length, - j = +i + ( i < 0 ? len : 0 ); - return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); - }, - - end: function() { - return this.prevObject || this.constructor(); - }, - - // For internal use only. - // Behaves like an Array's method, not like a jQuery method. - push: push, - sort: arr.sort, - splice: arr.splice -}; - -jQuery.extend = jQuery.fn.extend = function() { - var options, name, src, copy, copyIsArray, clone, - target = arguments[ 0 ] || {}, - i = 1, - length = arguments.length, - deep = false; - - // Handle a deep copy situation - if ( typeof target === "boolean" ) { - deep = target; - - // Skip the boolean and the target - target = arguments[ i ] || {}; - i++; - } - - // Handle case when target is a string or something (possible in deep copy) - if ( typeof target !== "object" && !jQuery.isFunction( target ) ) { - target = {}; - } - - // Extend jQuery itself if only one argument is passed - if ( i === length ) { - target = this; - i--; - } - - for ( ; i < length; i++ ) { - - // Only deal with non-null/undefined values - if ( ( options = arguments[ i ] ) != null ) { - - // Extend the base object - for ( name in options ) { - src = target[ name ]; - copy = options[ name ]; - - // Prevent never-ending loop - if ( target === copy ) { - continue; - } - - // Recurse if we're merging plain objects or arrays - if ( deep && copy && ( jQuery.isPlainObject( copy ) || - ( copyIsArray = Array.isArray( copy ) ) ) ) { - - if ( copyIsArray ) { - copyIsArray = false; - clone = src && Array.isArray( src ) ? src : []; - - } else { - clone = src && jQuery.isPlainObject( src ) ? src : {}; - } - - // Never move original objects, clone them - target[ name ] = jQuery.extend( deep, clone, copy ); - - // Don't bring in undefined values - } else if ( copy !== undefined ) { - target[ name ] = copy; - } - } - } - } - - // Return the modified object - return target; -}; - -jQuery.extend( { - - // Unique for each copy of jQuery on the page - expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), - - // Assume jQuery is ready without the ready module - isReady: true, - - error: function( msg ) { - throw new Error( msg ); - }, - - noop: function() {}, - - isFunction: function( obj ) { - return jQuery.type( obj ) === "function"; - }, - - isWindow: function( obj ) { - return obj != null && obj === obj.window; - }, - - isNumeric: function( obj ) { - - // As of jQuery 3.0, isNumeric is limited to - // strings and numbers (primitives or objects) - // that can be coerced to finite numbers (gh-2662) - var type = jQuery.type( obj ); - return ( type === "number" || type === "string" ) && - - // parseFloat NaNs numeric-cast false positives ("") - // ...but misinterprets leading-number strings, particularly hex literals ("0x...") - // subtraction forces infinities to NaN - !isNaN( obj - parseFloat( obj ) ); - }, - - isPlainObject: function( obj ) { - var proto, Ctor; - - // Detect obvious negatives - // Use toString instead of jQuery.type to catch host objects - if ( !obj || toString.call( obj ) !== "[object Object]" ) { - return false; - } - - proto = getProto( obj ); - - // Objects with no prototype (e.g., `Object.create( null )`) are plain - if ( !proto ) { - return true; - } - - // Objects with prototype are plain iff they were constructed by a global Object function - Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; - return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; - }, - - isEmptyObject: function( obj ) { - - /* eslint-disable no-unused-vars */ - // See https://github.com/eslint/eslint/issues/6125 - var name; - - for ( name in obj ) { - return false; - } - return true; - }, - - type: function( obj ) { - if ( obj == null ) { - return obj + ""; - } - - // Support: Android <=2.3 only (functionish RegExp) - return typeof obj === "object" || typeof obj === "function" ? - class2type[ toString.call( obj ) ] || "object" : - typeof obj; - }, - - // Evaluates a script in a global context - globalEval: function( code ) { - DOMEval( code ); - }, - - // Convert dashed to camelCase; used by the css and data modules - // Support: IE <=9 - 11, Edge 12 - 13 - // Microsoft forgot to hump their vendor prefix (#9572) - camelCase: function( string ) { - return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); - }, - - each: function( obj, callback ) { - var length, i = 0; - - if ( isArrayLike( obj ) ) { - length = obj.length; - for ( ; i < length; i++ ) { - if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { - break; - } - } - } else { - for ( i in obj ) { - if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { - break; - } - } - } - - return obj; - }, - - // Support: Android <=4.0 only - trim: function( text ) { - return text == null ? - "" : - ( text + "" ).replace( rtrim, "" ); - }, - - // results is for internal usage only - makeArray: function( arr, results ) { - var ret = results || []; - - if ( arr != null ) { - if ( isArrayLike( Object( arr ) ) ) { - jQuery.merge( ret, - typeof arr === "string" ? - [ arr ] : arr - ); - } else { - push.call( ret, arr ); - } - } - - return ret; - }, - - inArray: function( elem, arr, i ) { - return arr == null ? -1 : indexOf.call( arr, elem, i ); - }, - - // Support: Android <=4.0 only, PhantomJS 1 only - // push.apply(_, arraylike) throws on ancient WebKit - merge: function( first, second ) { - var len = +second.length, - j = 0, - i = first.length; - - for ( ; j < len; j++ ) { - first[ i++ ] = second[ j ]; - } - - first.length = i; - - return first; - }, - - grep: function( elems, callback, invert ) { - var callbackInverse, - matches = [], - i = 0, - length = elems.length, - callbackExpect = !invert; - - // Go through the array, only saving the items - // that pass the validator function - for ( ; i < length; i++ ) { - callbackInverse = !callback( elems[ i ], i ); - if ( callbackInverse !== callbackExpect ) { - matches.push( elems[ i ] ); - } - } - - return matches; - }, - - // arg is for internal usage only - map: function( elems, callback, arg ) { - var length, value, - i = 0, - ret = []; - - // Go through the array, translating each of the items to their new values - if ( isArrayLike( elems ) ) { - length = elems.length; - for ( ; i < length; i++ ) { - value = callback( elems[ i ], i, arg ); - - if ( value != null ) { - ret.push( value ); - } - } - - // Go through every key on the object, - } else { - for ( i in elems ) { - value = callback( elems[ i ], i, arg ); - - if ( value != null ) { - ret.push( value ); - } - } - } - - // Flatten any nested arrays - return concat.apply( [], ret ); - }, - - // A global GUID counter for objects - guid: 1, - - // Bind a function to a context, optionally partially applying any - // arguments. - proxy: function( fn, context ) { - var tmp, args, proxy; - - if ( typeof context === "string" ) { - tmp = fn[ context ]; - context = fn; - fn = tmp; - } - - // Quick check to determine if target is callable, in the spec - // this throws a TypeError, but we will just return undefined. - if ( !jQuery.isFunction( fn ) ) { - return undefined; - } - - // Simulated bind - args = slice.call( arguments, 2 ); - proxy = function() { - return fn.apply( context || this, args.concat( slice.call( arguments ) ) ); - }; - - // Set the guid of unique handler to the same of original handler, so it can be removed - proxy.guid = fn.guid = fn.guid || jQuery.guid++; - - return proxy; - }, - - now: Date.now, - - // jQuery.support is not used in Core but other projects attach their - // properties to it so it needs to exist. - support: support -} ); - -if ( typeof Symbol === "function" ) { - jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; -} - -// Populate the class2type map -jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), -function( i, name ) { - class2type[ "[object " + name + "]" ] = name.toLowerCase(); -} ); - -function isArrayLike( obj ) { - - // Support: real iOS 8.2 only (not reproducible in simulator) - // `in` check used to prevent JIT error (gh-2145) - // hasOwn isn't used here due to false negatives - // regarding Nodelist length in IE - var length = !!obj && "length" in obj && obj.length, - type = jQuery.type( obj ); - - if ( type === "function" || jQuery.isWindow( obj ) ) { - return false; - } - - return type === "array" || length === 0 || - typeof length === "number" && length > 0 && ( length - 1 ) in obj; -} -var Sizzle = -/*! - * Sizzle CSS Selector Engine v2.3.3 - * https://sizzlejs.com/ - * - * Copyright jQuery Foundation and other contributors - * Released under the MIT license - * http://jquery.org/license - * - * Date: 2016-08-08 - */ -(function( window ) { - -var i, - support, - Expr, - getText, - isXML, - tokenize, - compile, - select, - outermostContext, - sortInput, - hasDuplicate, - - // Local document vars - setDocument, - document, - docElem, - documentIsHTML, - rbuggyQSA, - rbuggyMatches, - matches, - contains, - - // Instance-specific data - expando = "sizzle" + 1 * new Date(), - preferredDoc = window.document, - dirruns = 0, - done = 0, - classCache = createCache(), - tokenCache = createCache(), - compilerCache = createCache(), - sortOrder = function( a, b ) { - if ( a === b ) { - hasDuplicate = true; - } - return 0; - }, - - // Instance methods - hasOwn = ({}).hasOwnProperty, - arr = [], - pop = arr.pop, - push_native = arr.push, - push = arr.push, - slice = arr.slice, - // Use a stripped-down indexOf as it's faster than native - // https://jsperf.com/thor-indexof-vs-for/5 - indexOf = function( list, elem ) { - var i = 0, - len = list.length; - for ( ; i < len; i++ ) { - if ( list[i] === elem ) { - return i; - } - } - return -1; - }, - - booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", - - // Regular expressions - - // http://www.w3.org/TR/css3-selectors/#whitespace - whitespace = "[\\x20\\t\\r\\n\\f]", - - // http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier - identifier = "(?:\\\\.|[\\w-]|[^\0-\\xa0])+", - - // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors - attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + - // Operator (capture 2) - "*([*^$|!~]?=)" + whitespace + - // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]" - "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + whitespace + - "*\\]", - - pseudos = ":(" + identifier + ")(?:\\((" + - // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: - // 1. quoted (capture 3; capture 4 or capture 5) - "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + - // 2. simple (capture 6) - "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + - // 3. anything else (capture 2) - ".*" + - ")\\)|)", - - // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter - rwhitespace = new RegExp( whitespace + "+", "g" ), - rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), - - rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), - rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ), - - rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g" ), - - rpseudo = new RegExp( pseudos ), - ridentifier = new RegExp( "^" + identifier + "$" ), - - matchExpr = { - "ID": new RegExp( "^#(" + identifier + ")" ), - "CLASS": new RegExp( "^\\.(" + identifier + ")" ), - "TAG": new RegExp( "^(" + identifier + "|[*])" ), - "ATTR": new RegExp( "^" + attributes ), - "PSEUDO": new RegExp( "^" + pseudos ), - "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + - "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + - "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), - "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), - // For use in libraries implementing .is() - // We use this for POS matching in `select` - "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + - whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) - }, - - rinputs = /^(?:input|select|textarea|button)$/i, - rheader = /^h\d$/i, - - rnative = /^[^{]+\{\s*\[native \w/, - - // Easily-parseable/retrievable ID or TAG or CLASS selectors - rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, - - rsibling = /[+~]/, - - // CSS escapes - // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters - runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ), - funescape = function( _, escaped, escapedWhitespace ) { - var high = "0x" + escaped - 0x10000; - // NaN means non-codepoint - // Support: Firefox<24 - // Workaround erroneous numeric interpretation of +"0x" - return high !== high || escapedWhitespace ? - escaped : - high < 0 ? - // BMP codepoint - String.fromCharCode( high + 0x10000 ) : - // Supplemental Plane codepoint (surrogate pair) - String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); - }, - - // CSS string/identifier serialization - // https://drafts.csswg.org/cssom/#common-serializing-idioms - rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, - fcssescape = function( ch, asCodePoint ) { - if ( asCodePoint ) { - - // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER - if ( ch === "\0" ) { - return "\uFFFD"; - } - - // Control characters and (dependent upon position) numbers get escaped as code points - return ch.slice( 0, -1 ) + "\\" + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; - } - - // Other potentially-special ASCII characters get backslash-escaped - return "\\" + ch; - }, - - // Used for iframes - // See setDocument() - // Removing the function wrapper causes a "Permission Denied" - // error in IE - unloadHandler = function() { - setDocument(); - }, - - disabledAncestor = addCombinator( - function( elem ) { - return elem.disabled === true && ("form" in elem || "label" in elem); - }, - { dir: "parentNode", next: "legend" } - ); - -// Optimize for push.apply( _, NodeList ) -try { - push.apply( - (arr = slice.call( preferredDoc.childNodes )), - preferredDoc.childNodes - ); - // Support: Android<4.0 - // Detect silently failing push.apply - arr[ preferredDoc.childNodes.length ].nodeType; -} catch ( e ) { - push = { apply: arr.length ? - - // Leverage slice if possible - function( target, els ) { - push_native.apply( target, slice.call(els) ); - } : - - // Support: IE<9 - // Otherwise append directly - function( target, els ) { - var j = target.length, - i = 0; - // Can't trust NodeList.length - while ( (target[j++] = els[i++]) ) {} - target.length = j - 1; - } - }; -} - -function Sizzle( selector, context, results, seed ) { - var m, i, elem, nid, match, groups, newSelector, - newContext = context && context.ownerDocument, - - // nodeType defaults to 9, since context defaults to document - nodeType = context ? context.nodeType : 9; - - results = results || []; - - // Return early from calls with invalid selector or context - if ( typeof selector !== "string" || !selector || - nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { - - return results; - } - - // Try to shortcut find operations (as opposed to filters) in HTML documents - if ( !seed ) { - - if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { - setDocument( context ); - } - context = context || document; - - if ( documentIsHTML ) { - - // If the selector is sufficiently simple, try using a "get*By*" DOM method - // (excepting DocumentFragment context, where the methods don't exist) - if ( nodeType !== 11 && (match = rquickExpr.exec( selector )) ) { - - // ID selector - if ( (m = match[1]) ) { - - // Document context - if ( nodeType === 9 ) { - if ( (elem = context.getElementById( m )) ) { - - // Support: IE, Opera, Webkit - // TODO: identify versions - // getElementById can match elements by name instead of ID - if ( elem.id === m ) { - results.push( elem ); - return results; - } - } else { - return results; - } - - // Element context - } else { - - // Support: IE, Opera, Webkit - // TODO: identify versions - // getElementById can match elements by name instead of ID - if ( newContext && (elem = newContext.getElementById( m )) && - contains( context, elem ) && - elem.id === m ) { - - results.push( elem ); - return results; - } - } - - // Type selector - } else if ( match[2] ) { - push.apply( results, context.getElementsByTagName( selector ) ); - return results; - - // Class selector - } else if ( (m = match[3]) && support.getElementsByClassName && - context.getElementsByClassName ) { - - push.apply( results, context.getElementsByClassName( m ) ); - return results; - } - } - - // Take advantage of querySelectorAll - if ( support.qsa && - !compilerCache[ selector + " " ] && - (!rbuggyQSA || !rbuggyQSA.test( selector )) ) { - - if ( nodeType !== 1 ) { - newContext = context; - newSelector = selector; - - // qSA looks outside Element context, which is not what we want - // Thanks to Andrew Dupont for this workaround technique - // Support: IE <=8 - // Exclude object elements - } else if ( context.nodeName.toLowerCase() !== "object" ) { - - // Capture the context ID, setting it first if necessary - if ( (nid = context.getAttribute( "id" )) ) { - nid = nid.replace( rcssescape, fcssescape ); - } else { - context.setAttribute( "id", (nid = expando) ); - } - - // Prefix every selector in the list - groups = tokenize( selector ); - i = groups.length; - while ( i-- ) { - groups[i] = "#" + nid + " " + toSelector( groups[i] ); - } - newSelector = groups.join( "," ); - - // Expand context for sibling selectors - newContext = rsibling.test( selector ) && testContext( context.parentNode ) || - context; - } - - if ( newSelector ) { - try { - push.apply( results, - newContext.querySelectorAll( newSelector ) - ); - return results; - } catch ( qsaError ) { - } finally { - if ( nid === expando ) { - context.removeAttribute( "id" ); - } - } - } - } - } - } - - // All others - return select( selector.replace( rtrim, "$1" ), context, results, seed ); -} - -/** - * Create key-value caches of limited size - * @returns {function(string, object)} Returns the Object data after storing it on itself with - * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) - * deleting the oldest entry - */ -function createCache() { - var keys = []; - - function cache( key, value ) { - // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) - if ( keys.push( key + " " ) > Expr.cacheLength ) { - // Only keep the most recent entries - delete cache[ keys.shift() ]; - } - return (cache[ key + " " ] = value); - } - return cache; -} - -/** - * Mark a function for special use by Sizzle - * @param {Function} fn The function to mark - */ -function markFunction( fn ) { - fn[ expando ] = true; - return fn; -} - -/** - * Support testing using an element - * @param {Function} fn Passed the created element and returns a boolean result - */ -function assert( fn ) { - var el = document.createElement("fieldset"); - - try { - return !!fn( el ); - } catch (e) { - return false; - } finally { - // Remove from its parent by default - if ( el.parentNode ) { - el.parentNode.removeChild( el ); - } - // release memory in IE - el = null; - } -} - -/** - * Adds the same handler for all of the specified attrs - * @param {String} attrs Pipe-separated list of attributes - * @param {Function} handler The method that will be applied - */ -function addHandle( attrs, handler ) { - var arr = attrs.split("|"), - i = arr.length; - - while ( i-- ) { - Expr.attrHandle[ arr[i] ] = handler; - } -} - -/** - * Checks document order of two siblings - * @param {Element} a - * @param {Element} b - * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b - */ -function siblingCheck( a, b ) { - var cur = b && a, - diff = cur && a.nodeType === 1 && b.nodeType === 1 && - a.sourceIndex - b.sourceIndex; - - // Use IE sourceIndex if available on both nodes - if ( diff ) { - return diff; - } - - // Check if b follows a - if ( cur ) { - while ( (cur = cur.nextSibling) ) { - if ( cur === b ) { - return -1; - } - } - } - - return a ? 1 : -1; -} - -/** - * Returns a function to use in pseudos for input types - * @param {String} type - */ -function createInputPseudo( type ) { - return function( elem ) { - var name = elem.nodeName.toLowerCase(); - return name === "input" && elem.type === type; - }; -} - -/** - * Returns a function to use in pseudos for buttons - * @param {String} type - */ -function createButtonPseudo( type ) { - return function( elem ) { - var name = elem.nodeName.toLowerCase(); - return (name === "input" || name === "button") && elem.type === type; - }; -} - -/** - * Returns a function to use in pseudos for :enabled/:disabled - * @param {Boolean} disabled true for :disabled; false for :enabled - */ -function createDisabledPseudo( disabled ) { - - // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable - return function( elem ) { - - // Only certain elements can match :enabled or :disabled - // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled - // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled - if ( "form" in elem ) { - - // Check for inherited disabledness on relevant non-disabled elements: - // * listed form-associated elements in a disabled fieldset - // https://html.spec.whatwg.org/multipage/forms.html#category-listed - // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled - // * option elements in a disabled optgroup - // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled - // All such elements have a "form" property. - if ( elem.parentNode && elem.disabled === false ) { - - // Option elements defer to a parent optgroup if present - if ( "label" in elem ) { - if ( "label" in elem.parentNode ) { - return elem.parentNode.disabled === disabled; - } else { - return elem.disabled === disabled; - } - } - - // Support: IE 6 - 11 - // Use the isDisabled shortcut property to check for disabled fieldset ancestors - return elem.isDisabled === disabled || - - // Where there is no isDisabled, check manually - /* jshint -W018 */ - elem.isDisabled !== !disabled && - disabledAncestor( elem ) === disabled; - } - - return elem.disabled === disabled; - - // Try to winnow out elements that can't be disabled before trusting the disabled property. - // Some victims get caught in our net (label, legend, menu, track), but it shouldn't - // even exist on them, let alone have a boolean value. - } else if ( "label" in elem ) { - return elem.disabled === disabled; - } - - // Remaining elements are neither :enabled nor :disabled - return false; - }; -} - -/** - * Returns a function to use in pseudos for positionals - * @param {Function} fn - */ -function createPositionalPseudo( fn ) { - return markFunction(function( argument ) { - argument = +argument; - return markFunction(function( seed, matches ) { - var j, - matchIndexes = fn( [], seed.length, argument ), - i = matchIndexes.length; - - // Match elements found at the specified indexes - while ( i-- ) { - if ( seed[ (j = matchIndexes[i]) ] ) { - seed[j] = !(matches[j] = seed[j]); - } - } - }); - }); -} - -/** - * Checks a node for validity as a Sizzle context - * @param {Element|Object=} context - * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value - */ -function testContext( context ) { - return context && typeof context.getElementsByTagName !== "undefined" && context; -} - -// Expose support vars for convenience -support = Sizzle.support = {}; - -/** - * Detects XML nodes - * @param {Element|Object} elem An element or a document - * @returns {Boolean} True iff elem is a non-HTML XML node - */ -isXML = Sizzle.isXML = function( elem ) { - // documentElement is verified for cases where it doesn't yet exist - // (such as loading iframes in IE - #4833) - var documentElement = elem && (elem.ownerDocument || elem).documentElement; - return documentElement ? documentElement.nodeName !== "HTML" : false; -}; - -/** - * Sets document-related variables once based on the current document - * @param {Element|Object} [doc] An element or document object to use to set the document - * @returns {Object} Returns the current document - */ -setDocument = Sizzle.setDocument = function( node ) { - var hasCompare, subWindow, - doc = node ? node.ownerDocument || node : preferredDoc; - - // Return early if doc is invalid or already selected - if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { - return document; - } - - // Update global variables - document = doc; - docElem = document.documentElement; - documentIsHTML = !isXML( document ); - - // Support: IE 9-11, Edge - // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) - if ( preferredDoc !== document && - (subWindow = document.defaultView) && subWindow.top !== subWindow ) { - - // Support: IE 11, Edge - if ( subWindow.addEventListener ) { - subWindow.addEventListener( "unload", unloadHandler, false ); - - // Support: IE 9 - 10 only - } else if ( subWindow.attachEvent ) { - subWindow.attachEvent( "onunload", unloadHandler ); - } - } - - /* Attributes - ---------------------------------------------------------------------- */ - - // Support: IE<8 - // Verify that getAttribute really returns attributes and not properties - // (excepting IE8 booleans) - support.attributes = assert(function( el ) { - el.className = "i"; - return !el.getAttribute("className"); - }); - - /* getElement(s)By* - ---------------------------------------------------------------------- */ - - // Check if getElementsByTagName("*") returns only elements - support.getElementsByTagName = assert(function( el ) { - el.appendChild( document.createComment("") ); - return !el.getElementsByTagName("*").length; - }); - - // Support: IE<9 - support.getElementsByClassName = rnative.test( document.getElementsByClassName ); - - // Support: IE<10 - // Check if getElementById returns elements by name - // The broken getElementById methods don't pick up programmatically-set names, - // so use a roundabout getElementsByName test - support.getById = assert(function( el ) { - docElem.appendChild( el ).id = expando; - return !document.getElementsByName || !document.getElementsByName( expando ).length; - }); - - // ID filter and find - if ( support.getById ) { - Expr.filter["ID"] = function( id ) { - var attrId = id.replace( runescape, funescape ); - return function( elem ) { - return elem.getAttribute("id") === attrId; - }; - }; - Expr.find["ID"] = function( id, context ) { - if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { - var elem = context.getElementById( id ); - return elem ? [ elem ] : []; - } - }; - } else { - Expr.filter["ID"] = function( id ) { - var attrId = id.replace( runescape, funescape ); - return function( elem ) { - var node = typeof elem.getAttributeNode !== "undefined" && - elem.getAttributeNode("id"); - return node && node.value === attrId; - }; - }; - - // Support: IE 6 - 7 only - // getElementById is not reliable as a find shortcut - Expr.find["ID"] = function( id, context ) { - if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { - var node, i, elems, - elem = context.getElementById( id ); - - if ( elem ) { - - // Verify the id attribute - node = elem.getAttributeNode("id"); - if ( node && node.value === id ) { - return [ elem ]; - } - - // Fall back on getElementsByName - elems = context.getElementsByName( id ); - i = 0; - while ( (elem = elems[i++]) ) { - node = elem.getAttributeNode("id"); - if ( node && node.value === id ) { - return [ elem ]; - } - } - } - - return []; - } - }; - } - - // Tag - Expr.find["TAG"] = support.getElementsByTagName ? - function( tag, context ) { - if ( typeof context.getElementsByTagName !== "undefined" ) { - return context.getElementsByTagName( tag ); - - // DocumentFragment nodes don't have gEBTN - } else if ( support.qsa ) { - return context.querySelectorAll( tag ); - } - } : - - function( tag, context ) { - var elem, - tmp = [], - i = 0, - // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too - results = context.getElementsByTagName( tag ); - - // Filter out possible comments - if ( tag === "*" ) { - while ( (elem = results[i++]) ) { - if ( elem.nodeType === 1 ) { - tmp.push( elem ); - } - } - - return tmp; - } - return results; - }; - - // Class - Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) { - if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { - return context.getElementsByClassName( className ); - } - }; - - /* QSA/matchesSelector - ---------------------------------------------------------------------- */ - - // QSA and matchesSelector support - - // matchesSelector(:active) reports false when true (IE9/Opera 11.5) - rbuggyMatches = []; - - // qSa(:focus) reports false when true (Chrome 21) - // We allow this because of a bug in IE8/9 that throws an error - // whenever `document.activeElement` is accessed on an iframe - // So, we allow :focus to pass through QSA all the time to avoid the IE error - // See https://bugs.jquery.com/ticket/13378 - rbuggyQSA = []; - - if ( (support.qsa = rnative.test( document.querySelectorAll )) ) { - // Build QSA regex - // Regex strategy adopted from Diego Perini - assert(function( el ) { - // Select is set to empty string on purpose - // This is to test IE's treatment of not explicitly - // setting a boolean content attribute, - // since its presence should be enough - // https://bugs.jquery.com/ticket/12359 - docElem.appendChild( el ).innerHTML = "" + - ""; - - // Support: IE8, Opera 11-12.16 - // Nothing should be selected when empty strings follow ^= or $= or *= - // The test attribute must be unknown in Opera but "safe" for WinRT - // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section - if ( el.querySelectorAll("[msallowcapture^='']").length ) { - rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); - } - - // Support: IE8 - // Boolean attributes and "value" are not treated correctly - if ( !el.querySelectorAll("[selected]").length ) { - rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); - } - - // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ - if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { - rbuggyQSA.push("~="); - } - - // Webkit/Opera - :checked should return selected option elements - // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked - // IE8 throws error here and will not see later tests - if ( !el.querySelectorAll(":checked").length ) { - rbuggyQSA.push(":checked"); - } - - // Support: Safari 8+, iOS 8+ - // https://bugs.webkit.org/show_bug.cgi?id=136851 - // In-page `selector#id sibling-combinator selector` fails - if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { - rbuggyQSA.push(".#.+[+~]"); - } - }); - - assert(function( el ) { - el.innerHTML = "" + - ""; - - // Support: Windows 8 Native Apps - // The type and name attributes are restricted during .innerHTML assignment - var input = document.createElement("input"); - input.setAttribute( "type", "hidden" ); - el.appendChild( input ).setAttribute( "name", "D" ); - - // Support: IE8 - // Enforce case-sensitivity of name attribute - if ( el.querySelectorAll("[name=d]").length ) { - rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); - } - - // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) - // IE8 throws error here and will not see later tests - if ( el.querySelectorAll(":enabled").length !== 2 ) { - rbuggyQSA.push( ":enabled", ":disabled" ); - } - - // Support: IE9-11+ - // IE's :disabled selector does not pick up the children of disabled fieldsets - docElem.appendChild( el ).disabled = true; - if ( el.querySelectorAll(":disabled").length !== 2 ) { - rbuggyQSA.push( ":enabled", ":disabled" ); - } - - // Opera 10-11 does not throw on post-comma invalid pseudos - el.querySelectorAll("*,:x"); - rbuggyQSA.push(",.*:"); - }); - } - - if ( (support.matchesSelector = rnative.test( (matches = docElem.matches || - docElem.webkitMatchesSelector || - docElem.mozMatchesSelector || - docElem.oMatchesSelector || - docElem.msMatchesSelector) )) ) { - - assert(function( el ) { - // Check to see if it's possible to do matchesSelector - // on a disconnected node (IE 9) - support.disconnectedMatch = matches.call( el, "*" ); - - // This should fail with an exception - // Gecko does not error, returns false instead - matches.call( el, "[s!='']:x" ); - rbuggyMatches.push( "!=", pseudos ); - }); - } - - rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") ); - rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") ); - - /* Contains - ---------------------------------------------------------------------- */ - hasCompare = rnative.test( docElem.compareDocumentPosition ); - - // Element contains another - // Purposefully self-exclusive - // As in, an element does not contain itself - contains = hasCompare || rnative.test( docElem.contains ) ? - function( a, b ) { - var adown = a.nodeType === 9 ? a.documentElement : a, - bup = b && b.parentNode; - return a === bup || !!( bup && bup.nodeType === 1 && ( - adown.contains ? - adown.contains( bup ) : - a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 - )); - } : - function( a, b ) { - if ( b ) { - while ( (b = b.parentNode) ) { - if ( b === a ) { - return true; - } - } - } - return false; - }; - - /* Sorting - ---------------------------------------------------------------------- */ - - // Document order sorting - sortOrder = hasCompare ? - function( a, b ) { - - // Flag for duplicate removal - if ( a === b ) { - hasDuplicate = true; - return 0; - } - - // Sort on method existence if only one input has compareDocumentPosition - var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; - if ( compare ) { - return compare; - } - - // Calculate position if both inputs belong to the same document - compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ? - a.compareDocumentPosition( b ) : - - // Otherwise we know they are disconnected - 1; - - // Disconnected nodes - if ( compare & 1 || - (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) { - - // Choose the first element that is related to our preferred document - if ( a === document || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) { - return -1; - } - if ( b === document || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) { - return 1; - } - - // Maintain original order - return sortInput ? - ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : - 0; - } - - return compare & 4 ? -1 : 1; - } : - function( a, b ) { - // Exit early if the nodes are identical - if ( a === b ) { - hasDuplicate = true; - return 0; - } - - var cur, - i = 0, - aup = a.parentNode, - bup = b.parentNode, - ap = [ a ], - bp = [ b ]; - - // Parentless nodes are either documents or disconnected - if ( !aup || !bup ) { - return a === document ? -1 : - b === document ? 1 : - aup ? -1 : - bup ? 1 : - sortInput ? - ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : - 0; - - // If the nodes are siblings, we can do a quick check - } else if ( aup === bup ) { - return siblingCheck( a, b ); - } - - // Otherwise we need full lists of their ancestors for comparison - cur = a; - while ( (cur = cur.parentNode) ) { - ap.unshift( cur ); - } - cur = b; - while ( (cur = cur.parentNode) ) { - bp.unshift( cur ); - } - - // Walk down the tree looking for a discrepancy - while ( ap[i] === bp[i] ) { - i++; - } - - return i ? - // Do a sibling check if the nodes have a common ancestor - siblingCheck( ap[i], bp[i] ) : - - // Otherwise nodes in our document sort first - ap[i] === preferredDoc ? -1 : - bp[i] === preferredDoc ? 1 : - 0; - }; - - return document; -}; - -Sizzle.matches = function( expr, elements ) { - return Sizzle( expr, null, null, elements ); -}; - -Sizzle.matchesSelector = function( elem, expr ) { - // Set document vars if needed - if ( ( elem.ownerDocument || elem ) !== document ) { - setDocument( elem ); - } - - // Make sure that attribute selectors are quoted - expr = expr.replace( rattributeQuotes, "='$1']" ); - - if ( support.matchesSelector && documentIsHTML && - !compilerCache[ expr + " " ] && - ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && - ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { - - try { - var ret = matches.call( elem, expr ); - - // IE 9's matchesSelector returns false on disconnected nodes - if ( ret || support.disconnectedMatch || - // As well, disconnected nodes are said to be in a document - // fragment in IE 9 - elem.document && elem.document.nodeType !== 11 ) { - return ret; - } - } catch (e) {} - } - - return Sizzle( expr, document, null, [ elem ] ).length > 0; -}; - -Sizzle.contains = function( context, elem ) { - // Set document vars if needed - if ( ( context.ownerDocument || context ) !== document ) { - setDocument( context ); - } - return contains( context, elem ); -}; - -Sizzle.attr = function( elem, name ) { - // Set document vars if needed - if ( ( elem.ownerDocument || elem ) !== document ) { - setDocument( elem ); - } - - var fn = Expr.attrHandle[ name.toLowerCase() ], - // Don't get fooled by Object.prototype properties (jQuery #13807) - val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? - fn( elem, name, !documentIsHTML ) : - undefined; - - return val !== undefined ? - val : - support.attributes || !documentIsHTML ? - elem.getAttribute( name ) : - (val = elem.getAttributeNode(name)) && val.specified ? - val.value : - null; -}; - -Sizzle.escape = function( sel ) { - return (sel + "").replace( rcssescape, fcssescape ); -}; - -Sizzle.error = function( msg ) { - throw new Error( "Syntax error, unrecognized expression: " + msg ); -}; - -/** - * Document sorting and removing duplicates - * @param {ArrayLike} results - */ -Sizzle.uniqueSort = function( results ) { - var elem, - duplicates = [], - j = 0, - i = 0; - - // Unless we *know* we can detect duplicates, assume their presence - hasDuplicate = !support.detectDuplicates; - sortInput = !support.sortStable && results.slice( 0 ); - results.sort( sortOrder ); - - if ( hasDuplicate ) { - while ( (elem = results[i++]) ) { - if ( elem === results[ i ] ) { - j = duplicates.push( i ); - } - } - while ( j-- ) { - results.splice( duplicates[ j ], 1 ); - } - } - - // Clear input after sorting to release objects - // See https://github.com/jquery/sizzle/pull/225 - sortInput = null; - - return results; -}; - -/** - * Utility function for retrieving the text value of an array of DOM nodes - * @param {Array|Element} elem - */ -getText = Sizzle.getText = function( elem ) { - var node, - ret = "", - i = 0, - nodeType = elem.nodeType; - - if ( !nodeType ) { - // If no nodeType, this is expected to be an array - while ( (node = elem[i++]) ) { - // Do not traverse comment nodes - ret += getText( node ); - } - } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { - // Use textContent for elements - // innerText usage removed for consistency of new lines (jQuery #11153) - if ( typeof elem.textContent === "string" ) { - return elem.textContent; - } else { - // Traverse its children - for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { - ret += getText( elem ); - } - } - } else if ( nodeType === 3 || nodeType === 4 ) { - return elem.nodeValue; - } - // Do not include comment or processing instruction nodes - - return ret; -}; - -Expr = Sizzle.selectors = { - - // Can be adjusted by the user - cacheLength: 50, - - createPseudo: markFunction, - - match: matchExpr, - - attrHandle: {}, - - find: {}, - - relative: { - ">": { dir: "parentNode", first: true }, - " ": { dir: "parentNode" }, - "+": { dir: "previousSibling", first: true }, - "~": { dir: "previousSibling" } - }, - - preFilter: { - "ATTR": function( match ) { - match[1] = match[1].replace( runescape, funescape ); - - // Move the given value to match[3] whether quoted or unquoted - match[3] = ( match[3] || match[4] || match[5] || "" ).replace( runescape, funescape ); - - if ( match[2] === "~=" ) { - match[3] = " " + match[3] + " "; - } - - return match.slice( 0, 4 ); - }, - - "CHILD": function( match ) { - /* matches from matchExpr["CHILD"] - 1 type (only|nth|...) - 2 what (child|of-type) - 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) - 4 xn-component of xn+y argument ([+-]?\d*n|) - 5 sign of xn-component - 6 x of xn-component - 7 sign of y-component - 8 y of y-component - */ - match[1] = match[1].toLowerCase(); - - if ( match[1].slice( 0, 3 ) === "nth" ) { - // nth-* requires argument - if ( !match[3] ) { - Sizzle.error( match[0] ); - } - - // numeric x and y parameters for Expr.filter.CHILD - // remember that false/true cast respectively to 0/1 - match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); - match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); - - // other types prohibit arguments - } else if ( match[3] ) { - Sizzle.error( match[0] ); - } - - return match; - }, - - "PSEUDO": function( match ) { - var excess, - unquoted = !match[6] && match[2]; - - if ( matchExpr["CHILD"].test( match[0] ) ) { - return null; - } - - // Accept quoted arguments as-is - if ( match[3] ) { - match[2] = match[4] || match[5] || ""; - - // Strip excess characters from unquoted arguments - } else if ( unquoted && rpseudo.test( unquoted ) && - // Get excess from tokenize (recursively) - (excess = tokenize( unquoted, true )) && - // advance to the next closing parenthesis - (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { - - // excess is a negative index - match[0] = match[0].slice( 0, excess ); - match[2] = unquoted.slice( 0, excess ); - } - - // Return only captures needed by the pseudo filter method (type and argument) - return match.slice( 0, 3 ); - } - }, - - filter: { - - "TAG": function( nodeNameSelector ) { - var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); - return nodeNameSelector === "*" ? - function() { return true; } : - function( elem ) { - return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; - }; - }, - - "CLASS": function( className ) { - var pattern = classCache[ className + " " ]; - - return pattern || - (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && - classCache( className, function( elem ) { - return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== "undefined" && elem.getAttribute("class") || "" ); - }); - }, - - "ATTR": function( name, operator, check ) { - return function( elem ) { - var result = Sizzle.attr( elem, name ); - - if ( result == null ) { - return operator === "!="; - } - if ( !operator ) { - return true; - } - - result += ""; - - return operator === "=" ? result === check : - operator === "!=" ? result !== check : - operator === "^=" ? check && result.indexOf( check ) === 0 : - operator === "*=" ? check && result.indexOf( check ) > -1 : - operator === "$=" ? check && result.slice( -check.length ) === check : - operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : - operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : - false; - }; - }, - - "CHILD": function( type, what, argument, first, last ) { - var simple = type.slice( 0, 3 ) !== "nth", - forward = type.slice( -4 ) !== "last", - ofType = what === "of-type"; - - return first === 1 && last === 0 ? - - // Shortcut for :nth-*(n) - function( elem ) { - return !!elem.parentNode; - } : - - function( elem, context, xml ) { - var cache, uniqueCache, outerCache, node, nodeIndex, start, - dir = simple !== forward ? "nextSibling" : "previousSibling", - parent = elem.parentNode, - name = ofType && elem.nodeName.toLowerCase(), - useCache = !xml && !ofType, - diff = false; - - if ( parent ) { - - // :(first|last|only)-(child|of-type) - if ( simple ) { - while ( dir ) { - node = elem; - while ( (node = node[ dir ]) ) { - if ( ofType ? - node.nodeName.toLowerCase() === name : - node.nodeType === 1 ) { - - return false; - } - } - // Reverse direction for :only-* (if we haven't yet done so) - start = dir = type === "only" && !start && "nextSibling"; - } - return true; - } - - start = [ forward ? parent.firstChild : parent.lastChild ]; - - // non-xml :nth-child(...) stores cache data on `parent` - if ( forward && useCache ) { - - // Seek `elem` from a previously-cached index - - // ...in a gzip-friendly way - node = parent; - outerCache = node[ expando ] || (node[ expando ] = {}); - - // Support: IE <9 only - // Defend against cloned attroperties (jQuery gh-1709) - uniqueCache = outerCache[ node.uniqueID ] || - (outerCache[ node.uniqueID ] = {}); - - cache = uniqueCache[ type ] || []; - nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; - diff = nodeIndex && cache[ 2 ]; - node = nodeIndex && parent.childNodes[ nodeIndex ]; - - while ( (node = ++nodeIndex && node && node[ dir ] || - - // Fallback to seeking `elem` from the start - (diff = nodeIndex = 0) || start.pop()) ) { - - // When found, cache indexes on `parent` and break - if ( node.nodeType === 1 && ++diff && node === elem ) { - uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; - break; - } - } - - } else { - // Use previously-cached element index if available - if ( useCache ) { - // ...in a gzip-friendly way - node = elem; - outerCache = node[ expando ] || (node[ expando ] = {}); - - // Support: IE <9 only - // Defend against cloned attroperties (jQuery gh-1709) - uniqueCache = outerCache[ node.uniqueID ] || - (outerCache[ node.uniqueID ] = {}); - - cache = uniqueCache[ type ] || []; - nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; - diff = nodeIndex; - } - - // xml :nth-child(...) - // or :nth-last-child(...) or :nth(-last)?-of-type(...) - if ( diff === false ) { - // Use the same loop as above to seek `elem` from the start - while ( (node = ++nodeIndex && node && node[ dir ] || - (diff = nodeIndex = 0) || start.pop()) ) { - - if ( ( ofType ? - node.nodeName.toLowerCase() === name : - node.nodeType === 1 ) && - ++diff ) { - - // Cache the index of each encountered element - if ( useCache ) { - outerCache = node[ expando ] || (node[ expando ] = {}); - - // Support: IE <9 only - // Defend against cloned attroperties (jQuery gh-1709) - uniqueCache = outerCache[ node.uniqueID ] || - (outerCache[ node.uniqueID ] = {}); - - uniqueCache[ type ] = [ dirruns, diff ]; - } - - if ( node === elem ) { - break; - } - } - } - } - } - - // Incorporate the offset, then check against cycle size - diff -= last; - return diff === first || ( diff % first === 0 && diff / first >= 0 ); - } - }; - }, - - "PSEUDO": function( pseudo, argument ) { - // pseudo-class names are case-insensitive - // http://www.w3.org/TR/selectors/#pseudo-classes - // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters - // Remember that setFilters inherits from pseudos - var args, - fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || - Sizzle.error( "unsupported pseudo: " + pseudo ); - - // The user may use createPseudo to indicate that - // arguments are needed to create the filter function - // just as Sizzle does - if ( fn[ expando ] ) { - return fn( argument ); - } - - // But maintain support for old signatures - if ( fn.length > 1 ) { - args = [ pseudo, pseudo, "", argument ]; - return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? - markFunction(function( seed, matches ) { - var idx, - matched = fn( seed, argument ), - i = matched.length; - while ( i-- ) { - idx = indexOf( seed, matched[i] ); - seed[ idx ] = !( matches[ idx ] = matched[i] ); - } - }) : - function( elem ) { - return fn( elem, 0, args ); - }; - } - - return fn; - } - }, - - pseudos: { - // Potentially complex pseudos - "not": markFunction(function( selector ) { - // Trim the selector passed to compile - // to avoid treating leading and trailing - // spaces as combinators - var input = [], - results = [], - matcher = compile( selector.replace( rtrim, "$1" ) ); - - return matcher[ expando ] ? - markFunction(function( seed, matches, context, xml ) { - var elem, - unmatched = matcher( seed, null, xml, [] ), - i = seed.length; - - // Match elements unmatched by `matcher` - while ( i-- ) { - if ( (elem = unmatched[i]) ) { - seed[i] = !(matches[i] = elem); - } - } - }) : - function( elem, context, xml ) { - input[0] = elem; - matcher( input, null, xml, results ); - // Don't keep the element (issue #299) - input[0] = null; - return !results.pop(); - }; - }), - - "has": markFunction(function( selector ) { - return function( elem ) { - return Sizzle( selector, elem ).length > 0; - }; - }), - - "contains": markFunction(function( text ) { - text = text.replace( runescape, funescape ); - return function( elem ) { - return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; - }; - }), - - // "Whether an element is represented by a :lang() selector - // is based solely on the element's language value - // being equal to the identifier C, - // or beginning with the identifier C immediately followed by "-". - // The matching of C against the element's language value is performed case-insensitively. - // The identifier C does not have to be a valid language name." - // http://www.w3.org/TR/selectors/#lang-pseudo - "lang": markFunction( function( lang ) { - // lang value must be a valid identifier - if ( !ridentifier.test(lang || "") ) { - Sizzle.error( "unsupported lang: " + lang ); - } - lang = lang.replace( runescape, funescape ).toLowerCase(); - return function( elem ) { - var elemLang; - do { - if ( (elemLang = documentIsHTML ? - elem.lang : - elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) { - - elemLang = elemLang.toLowerCase(); - return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; - } - } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); - return false; - }; - }), - - // Miscellaneous - "target": function( elem ) { - var hash = window.location && window.location.hash; - return hash && hash.slice( 1 ) === elem.id; - }, - - "root": function( elem ) { - return elem === docElem; - }, - - "focus": function( elem ) { - return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); - }, - - // Boolean properties - "enabled": createDisabledPseudo( false ), - "disabled": createDisabledPseudo( true ), - - "checked": function( elem ) { - // In CSS3, :checked should return both checked and selected elements - // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked - var nodeName = elem.nodeName.toLowerCase(); - return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); - }, - - "selected": function( elem ) { - // Accessing this property makes selected-by-default - // options in Safari work properly - if ( elem.parentNode ) { - elem.parentNode.selectedIndex; - } - - return elem.selected === true; - }, - - // Contents - "empty": function( elem ) { - // http://www.w3.org/TR/selectors/#empty-pseudo - // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), - // but not by others (comment: 8; processing instruction: 7; etc.) - // nodeType < 6 works because attributes (2) do not appear as children - for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { - if ( elem.nodeType < 6 ) { - return false; - } - } - return true; - }, - - "parent": function( elem ) { - return !Expr.pseudos["empty"]( elem ); - }, - - // Element/input types - "header": function( elem ) { - return rheader.test( elem.nodeName ); - }, - - "input": function( elem ) { - return rinputs.test( elem.nodeName ); - }, - - "button": function( elem ) { - var name = elem.nodeName.toLowerCase(); - return name === "input" && elem.type === "button" || name === "button"; - }, - - "text": function( elem ) { - var attr; - return elem.nodeName.toLowerCase() === "input" && - elem.type === "text" && - - // Support: IE<8 - // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" - ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" ); - }, - - // Position-in-collection - "first": createPositionalPseudo(function() { - return [ 0 ]; - }), - - "last": createPositionalPseudo(function( matchIndexes, length ) { - return [ length - 1 ]; - }), - - "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { - return [ argument < 0 ? argument + length : argument ]; - }), - - "even": createPositionalPseudo(function( matchIndexes, length ) { - var i = 0; - for ( ; i < length; i += 2 ) { - matchIndexes.push( i ); - } - return matchIndexes; - }), - - "odd": createPositionalPseudo(function( matchIndexes, length ) { - var i = 1; - for ( ; i < length; i += 2 ) { - matchIndexes.push( i ); - } - return matchIndexes; - }), - - "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { - var i = argument < 0 ? argument + length : argument; - for ( ; --i >= 0; ) { - matchIndexes.push( i ); - } - return matchIndexes; - }), - - "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { - var i = argument < 0 ? argument + length : argument; - for ( ; ++i < length; ) { - matchIndexes.push( i ); - } - return matchIndexes; - }) - } -}; - -Expr.pseudos["nth"] = Expr.pseudos["eq"]; - -// Add button/input type pseudos -for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { - Expr.pseudos[ i ] = createInputPseudo( i ); -} -for ( i in { submit: true, reset: true } ) { - Expr.pseudos[ i ] = createButtonPseudo( i ); -} - -// Easy API for creating new setFilters -function setFilters() {} -setFilters.prototype = Expr.filters = Expr.pseudos; -Expr.setFilters = new setFilters(); - -tokenize = Sizzle.tokenize = function( selector, parseOnly ) { - var matched, match, tokens, type, - soFar, groups, preFilters, - cached = tokenCache[ selector + " " ]; - - if ( cached ) { - return parseOnly ? 0 : cached.slice( 0 ); - } - - soFar = selector; - groups = []; - preFilters = Expr.preFilter; - - while ( soFar ) { - - // Comma and first run - if ( !matched || (match = rcomma.exec( soFar )) ) { - if ( match ) { - // Don't consume trailing commas as valid - soFar = soFar.slice( match[0].length ) || soFar; - } - groups.push( (tokens = []) ); - } - - matched = false; - - // Combinators - if ( (match = rcombinators.exec( soFar )) ) { - matched = match.shift(); - tokens.push({ - value: matched, - // Cast descendant combinators to space - type: match[0].replace( rtrim, " " ) - }); - soFar = soFar.slice( matched.length ); - } - - // Filters - for ( type in Expr.filter ) { - if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || - (match = preFilters[ type ]( match ))) ) { - matched = match.shift(); - tokens.push({ - value: matched, - type: type, - matches: match - }); - soFar = soFar.slice( matched.length ); - } - } - - if ( !matched ) { - break; - } - } - - // Return the length of the invalid excess - // if we're just parsing - // Otherwise, throw an error or return tokens - return parseOnly ? - soFar.length : - soFar ? - Sizzle.error( selector ) : - // Cache the tokens - tokenCache( selector, groups ).slice( 0 ); -}; - -function toSelector( tokens ) { - var i = 0, - len = tokens.length, - selector = ""; - for ( ; i < len; i++ ) { - selector += tokens[i].value; - } - return selector; -} - -function addCombinator( matcher, combinator, base ) { - var dir = combinator.dir, - skip = combinator.next, - key = skip || dir, - checkNonElements = base && key === "parentNode", - doneName = done++; - - return combinator.first ? - // Check against closest ancestor/preceding element - function( elem, context, xml ) { - while ( (elem = elem[ dir ]) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - return matcher( elem, context, xml ); - } - } - return false; - } : - - // Check against all ancestor/preceding elements - function( elem, context, xml ) { - var oldCache, uniqueCache, outerCache, - newCache = [ dirruns, doneName ]; - - // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching - if ( xml ) { - while ( (elem = elem[ dir ]) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - if ( matcher( elem, context, xml ) ) { - return true; - } - } - } - } else { - while ( (elem = elem[ dir ]) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - outerCache = elem[ expando ] || (elem[ expando ] = {}); - - // Support: IE <9 only - // Defend against cloned attroperties (jQuery gh-1709) - uniqueCache = outerCache[ elem.uniqueID ] || (outerCache[ elem.uniqueID ] = {}); - - if ( skip && skip === elem.nodeName.toLowerCase() ) { - elem = elem[ dir ] || elem; - } else if ( (oldCache = uniqueCache[ key ]) && - oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { - - // Assign to newCache so results back-propagate to previous elements - return (newCache[ 2 ] = oldCache[ 2 ]); - } else { - // Reuse newcache so results back-propagate to previous elements - uniqueCache[ key ] = newCache; - - // A match means we're done; a fail means we have to keep checking - if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) { - return true; - } - } - } - } - } - return false; - }; -} - -function elementMatcher( matchers ) { - return matchers.length > 1 ? - function( elem, context, xml ) { - var i = matchers.length; - while ( i-- ) { - if ( !matchers[i]( elem, context, xml ) ) { - return false; - } - } - return true; - } : - matchers[0]; -} - -function multipleContexts( selector, contexts, results ) { - var i = 0, - len = contexts.length; - for ( ; i < len; i++ ) { - Sizzle( selector, contexts[i], results ); - } - return results; -} - -function condense( unmatched, map, filter, context, xml ) { - var elem, - newUnmatched = [], - i = 0, - len = unmatched.length, - mapped = map != null; - - for ( ; i < len; i++ ) { - if ( (elem = unmatched[i]) ) { - if ( !filter || filter( elem, context, xml ) ) { - newUnmatched.push( elem ); - if ( mapped ) { - map.push( i ); - } - } - } - } - - return newUnmatched; -} - -function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { - if ( postFilter && !postFilter[ expando ] ) { - postFilter = setMatcher( postFilter ); - } - if ( postFinder && !postFinder[ expando ] ) { - postFinder = setMatcher( postFinder, postSelector ); - } - return markFunction(function( seed, results, context, xml ) { - var temp, i, elem, - preMap = [], - postMap = [], - preexisting = results.length, - - // Get initial elements from seed or context - elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), - - // Prefilter to get matcher input, preserving a map for seed-results synchronization - matcherIn = preFilter && ( seed || !selector ) ? - condense( elems, preMap, preFilter, context, xml ) : - elems, - - matcherOut = matcher ? - // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, - postFinder || ( seed ? preFilter : preexisting || postFilter ) ? - - // ...intermediate processing is necessary - [] : - - // ...otherwise use results directly - results : - matcherIn; - - // Find primary matches - if ( matcher ) { - matcher( matcherIn, matcherOut, context, xml ); - } - - // Apply postFilter - if ( postFilter ) { - temp = condense( matcherOut, postMap ); - postFilter( temp, [], context, xml ); - - // Un-match failing elements by moving them back to matcherIn - i = temp.length; - while ( i-- ) { - if ( (elem = temp[i]) ) { - matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); - } - } - } - - if ( seed ) { - if ( postFinder || preFilter ) { - if ( postFinder ) { - // Get the final matcherOut by condensing this intermediate into postFinder contexts - temp = []; - i = matcherOut.length; - while ( i-- ) { - if ( (elem = matcherOut[i]) ) { - // Restore matcherIn since elem is not yet a final match - temp.push( (matcherIn[i] = elem) ); - } - } - postFinder( null, (matcherOut = []), temp, xml ); - } - - // Move matched elements from seed to results to keep them synchronized - i = matcherOut.length; - while ( i-- ) { - if ( (elem = matcherOut[i]) && - (temp = postFinder ? indexOf( seed, elem ) : preMap[i]) > -1 ) { - - seed[temp] = !(results[temp] = elem); - } - } - } - - // Add elements to results, through postFinder if defined - } else { - matcherOut = condense( - matcherOut === results ? - matcherOut.splice( preexisting, matcherOut.length ) : - matcherOut - ); - if ( postFinder ) { - postFinder( null, results, matcherOut, xml ); - } else { - push.apply( results, matcherOut ); - } - } - }); -} - -function matcherFromTokens( tokens ) { - var checkContext, matcher, j, - len = tokens.length, - leadingRelative = Expr.relative[ tokens[0].type ], - implicitRelative = leadingRelative || Expr.relative[" "], - i = leadingRelative ? 1 : 0, - - // The foundational matcher ensures that elements are reachable from top-level context(s) - matchContext = addCombinator( function( elem ) { - return elem === checkContext; - }, implicitRelative, true ), - matchAnyContext = addCombinator( function( elem ) { - return indexOf( checkContext, elem ) > -1; - }, implicitRelative, true ), - matchers = [ function( elem, context, xml ) { - var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( - (checkContext = context).nodeType ? - matchContext( elem, context, xml ) : - matchAnyContext( elem, context, xml ) ); - // Avoid hanging onto element (issue #299) - checkContext = null; - return ret; - } ]; - - for ( ; i < len; i++ ) { - if ( (matcher = Expr.relative[ tokens[i].type ]) ) { - matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; - } else { - matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); - - // Return special upon seeing a positional matcher - if ( matcher[ expando ] ) { - // Find the next relative operator (if any) for proper handling - j = ++i; - for ( ; j < len; j++ ) { - if ( Expr.relative[ tokens[j].type ] ) { - break; - } - } - return setMatcher( - i > 1 && elementMatcher( matchers ), - i > 1 && toSelector( - // If the preceding token was a descendant combinator, insert an implicit any-element `*` - tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" }) - ).replace( rtrim, "$1" ), - matcher, - i < j && matcherFromTokens( tokens.slice( i, j ) ), - j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), - j < len && toSelector( tokens ) - ); - } - matchers.push( matcher ); - } - } - - return elementMatcher( matchers ); -} - -function matcherFromGroupMatchers( elementMatchers, setMatchers ) { - var bySet = setMatchers.length > 0, - byElement = elementMatchers.length > 0, - superMatcher = function( seed, context, xml, results, outermost ) { - var elem, j, matcher, - matchedCount = 0, - i = "0", - unmatched = seed && [], - setMatched = [], - contextBackup = outermostContext, - // We must always have either seed elements or outermost context - elems = seed || byElement && Expr.find["TAG"]( "*", outermost ), - // Use integer dirruns iff this is the outermost matcher - dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1), - len = elems.length; - - if ( outermost ) { - outermostContext = context === document || context || outermost; - } - - // Add elements passing elementMatchers directly to results - // Support: IE<9, Safari - // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id - for ( ; i !== len && (elem = elems[i]) != null; i++ ) { - if ( byElement && elem ) { - j = 0; - if ( !context && elem.ownerDocument !== document ) { - setDocument( elem ); - xml = !documentIsHTML; - } - while ( (matcher = elementMatchers[j++]) ) { - if ( matcher( elem, context || document, xml) ) { - results.push( elem ); - break; - } - } - if ( outermost ) { - dirruns = dirrunsUnique; - } - } - - // Track unmatched elements for set filters - if ( bySet ) { - // They will have gone through all possible matchers - if ( (elem = !matcher && elem) ) { - matchedCount--; - } - - // Lengthen the array for every element, matched or not - if ( seed ) { - unmatched.push( elem ); - } - } - } - - // `i` is now the count of elements visited above, and adding it to `matchedCount` - // makes the latter nonnegative. - matchedCount += i; - - // Apply set filters to unmatched elements - // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` - // equals `i`), unless we didn't visit _any_ elements in the above loop because we have - // no element matchers and no seed. - // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that - // case, which will result in a "00" `matchedCount` that differs from `i` but is also - // numerically zero. - if ( bySet && i !== matchedCount ) { - j = 0; - while ( (matcher = setMatchers[j++]) ) { - matcher( unmatched, setMatched, context, xml ); - } - - if ( seed ) { - // Reintegrate element matches to eliminate the need for sorting - if ( matchedCount > 0 ) { - while ( i-- ) { - if ( !(unmatched[i] || setMatched[i]) ) { - setMatched[i] = pop.call( results ); - } - } - } - - // Discard index placeholder values to get only actual matches - setMatched = condense( setMatched ); - } - - // Add matches to results - push.apply( results, setMatched ); - - // Seedless set matches succeeding multiple successful matchers stipulate sorting - if ( outermost && !seed && setMatched.length > 0 && - ( matchedCount + setMatchers.length ) > 1 ) { - - Sizzle.uniqueSort( results ); - } - } - - // Override manipulation of globals by nested matchers - if ( outermost ) { - dirruns = dirrunsUnique; - outermostContext = contextBackup; - } - - return unmatched; - }; - - return bySet ? - markFunction( superMatcher ) : - superMatcher; -} - -compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { - var i, - setMatchers = [], - elementMatchers = [], - cached = compilerCache[ selector + " " ]; - - if ( !cached ) { - // Generate a function of recursive functions that can be used to check each element - if ( !match ) { - match = tokenize( selector ); - } - i = match.length; - while ( i-- ) { - cached = matcherFromTokens( match[i] ); - if ( cached[ expando ] ) { - setMatchers.push( cached ); - } else { - elementMatchers.push( cached ); - } - } - - // Cache the compiled function - cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); - - // Save selector and tokenization - cached.selector = selector; - } - return cached; -}; - -/** - * A low-level selection function that works with Sizzle's compiled - * selector functions - * @param {String|Function} selector A selector or a pre-compiled - * selector function built with Sizzle.compile - * @param {Element} context - * @param {Array} [results] - * @param {Array} [seed] A set of elements to match against - */ -select = Sizzle.select = function( selector, context, results, seed ) { - var i, tokens, token, type, find, - compiled = typeof selector === "function" && selector, - match = !seed && tokenize( (selector = compiled.selector || selector) ); - - results = results || []; - - // Try to minimize operations if there is only one selector in the list and no seed - // (the latter of which guarantees us context) - if ( match.length === 1 ) { - - // Reduce context if the leading compound selector is an ID - tokens = match[0] = match[0].slice( 0 ); - if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && - context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[1].type ] ) { - - context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0]; - if ( !context ) { - return results; - - // Precompiled matchers will still verify ancestry, so step up a level - } else if ( compiled ) { - context = context.parentNode; - } - - selector = selector.slice( tokens.shift().value.length ); - } - - // Fetch a seed set for right-to-left matching - i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; - while ( i-- ) { - token = tokens[i]; - - // Abort if we hit a combinator - if ( Expr.relative[ (type = token.type) ] ) { - break; - } - if ( (find = Expr.find[ type ]) ) { - // Search, expanding context for leading sibling combinators - if ( (seed = find( - token.matches[0].replace( runescape, funescape ), - rsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context - )) ) { - - // If seed is empty or no tokens remain, we can return early - tokens.splice( i, 1 ); - selector = seed.length && toSelector( tokens ); - if ( !selector ) { - push.apply( results, seed ); - return results; - } - - break; - } - } - } - } - - // Compile and execute a filtering function if one is not provided - // Provide `match` to avoid retokenization if we modified the selector above - ( compiled || compile( selector, match ) )( - seed, - context, - !documentIsHTML, - results, - !context || rsibling.test( selector ) && testContext( context.parentNode ) || context - ); - return results; -}; - -// One-time assignments - -// Sort stability -support.sortStable = expando.split("").sort( sortOrder ).join("") === expando; - -// Support: Chrome 14-35+ -// Always assume duplicates if they aren't passed to the comparison function -support.detectDuplicates = !!hasDuplicate; - -// Initialize against the default document -setDocument(); - -// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) -// Detached nodes confoundingly follow *each other* -support.sortDetached = assert(function( el ) { - // Should return 1, but returns 4 (following) - return el.compareDocumentPosition( document.createElement("fieldset") ) & 1; -}); - -// Support: IE<8 -// Prevent attribute/property "interpolation" -// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx -if ( !assert(function( el ) { - el.innerHTML = ""; - return el.firstChild.getAttribute("href") === "#" ; -}) ) { - addHandle( "type|href|height|width", function( elem, name, isXML ) { - if ( !isXML ) { - return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); - } - }); -} - -// Support: IE<9 -// Use defaultValue in place of getAttribute("value") -if ( !support.attributes || !assert(function( el ) { - el.innerHTML = ""; - el.firstChild.setAttribute( "value", "" ); - return el.firstChild.getAttribute( "value" ) === ""; -}) ) { - addHandle( "value", function( elem, name, isXML ) { - if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { - return elem.defaultValue; - } - }); -} - -// Support: IE<9 -// Use getAttributeNode to fetch booleans when getAttribute lies -if ( !assert(function( el ) { - return el.getAttribute("disabled") == null; -}) ) { - addHandle( booleans, function( elem, name, isXML ) { - var val; - if ( !isXML ) { - return elem[ name ] === true ? name.toLowerCase() : - (val = elem.getAttributeNode( name )) && val.specified ? - val.value : - null; - } - }); -} - -return Sizzle; - -})( window ); - - - -jQuery.find = Sizzle; -jQuery.expr = Sizzle.selectors; - -// Deprecated -jQuery.expr[ ":" ] = jQuery.expr.pseudos; -jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; -jQuery.text = Sizzle.getText; -jQuery.isXMLDoc = Sizzle.isXML; -jQuery.contains = Sizzle.contains; -jQuery.escapeSelector = Sizzle.escape; - - - - -var dir = function( elem, dir, until ) { - var matched = [], - truncate = until !== undefined; - - while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { - if ( elem.nodeType === 1 ) { - if ( truncate && jQuery( elem ).is( until ) ) { - break; - } - matched.push( elem ); - } - } - return matched; -}; - - -var siblings = function( n, elem ) { - var matched = []; - - for ( ; n; n = n.nextSibling ) { - if ( n.nodeType === 1 && n !== elem ) { - matched.push( n ); - } - } - - return matched; -}; - - -var rneedsContext = jQuery.expr.match.needsContext; - - - -function nodeName( elem, name ) { - - return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); - -}; -var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); - - - -var risSimple = /^.[^:#\[\.,]*$/; - -// Implement the identical functionality for filter and not -function winnow( elements, qualifier, not ) { - if ( jQuery.isFunction( qualifier ) ) { - return jQuery.grep( elements, function( elem, i ) { - return !!qualifier.call( elem, i, elem ) !== not; - } ); - } - - // Single element - if ( qualifier.nodeType ) { - return jQuery.grep( elements, function( elem ) { - return ( elem === qualifier ) !== not; - } ); - } - - // Arraylike of elements (jQuery, arguments, Array) - if ( typeof qualifier !== "string" ) { - return jQuery.grep( elements, function( elem ) { - return ( indexOf.call( qualifier, elem ) > -1 ) !== not; - } ); - } - - // Simple selector that can be filtered directly, removing non-Elements - if ( risSimple.test( qualifier ) ) { - return jQuery.filter( qualifier, elements, not ); - } - - // Complex selector, compare the two sets, removing non-Elements - qualifier = jQuery.filter( qualifier, elements ); - return jQuery.grep( elements, function( elem ) { - return ( indexOf.call( qualifier, elem ) > -1 ) !== not && elem.nodeType === 1; - } ); -} - -jQuery.filter = function( expr, elems, not ) { - var elem = elems[ 0 ]; - - if ( not ) { - expr = ":not(" + expr + ")"; - } - - if ( elems.length === 1 && elem.nodeType === 1 ) { - return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; - } - - return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { - return elem.nodeType === 1; - } ) ); -}; - -jQuery.fn.extend( { - find: function( selector ) { - var i, ret, - len = this.length, - self = this; - - if ( typeof selector !== "string" ) { - return this.pushStack( jQuery( selector ).filter( function() { - for ( i = 0; i < len; i++ ) { - if ( jQuery.contains( self[ i ], this ) ) { - return true; - } - } - } ) ); - } - - ret = this.pushStack( [] ); - - for ( i = 0; i < len; i++ ) { - jQuery.find( selector, self[ i ], ret ); - } - - return len > 1 ? jQuery.uniqueSort( ret ) : ret; - }, - filter: function( selector ) { - return this.pushStack( winnow( this, selector || [], false ) ); - }, - not: function( selector ) { - return this.pushStack( winnow( this, selector || [], true ) ); - }, - is: function( selector ) { - return !!winnow( - this, - - // If this is a positional/relative selector, check membership in the returned set - // so $("p:first").is("p:last") won't return true for a doc with two "p". - typeof selector === "string" && rneedsContext.test( selector ) ? - jQuery( selector ) : - selector || [], - false - ).length; - } -} ); - - -// Initialize a jQuery object - - -// A central reference to the root jQuery(document) -var rootjQuery, - - // A simple way to check for HTML strings - // Prioritize #id over to avoid XSS via location.hash (#9521) - // Strict HTML recognition (#11290: must start with <) - // Shortcut simple #id case for speed - rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, - - init = jQuery.fn.init = function( selector, context, root ) { - var match, elem; - - // HANDLE: $(""), $(null), $(undefined), $(false) - if ( !selector ) { - return this; - } - - // Method init() accepts an alternate rootjQuery - // so migrate can support jQuery.sub (gh-2101) - root = root || rootjQuery; - - // Handle HTML strings - if ( typeof selector === "string" ) { - if ( selector[ 0 ] === "<" && - selector[ selector.length - 1 ] === ">" && - selector.length >= 3 ) { - - // Assume that strings that start and end with <> are HTML and skip the regex check - match = [ null, selector, null ]; - - } else { - match = rquickExpr.exec( selector ); - } - - // Match html or make sure no context is specified for #id - if ( match && ( match[ 1 ] || !context ) ) { - - // HANDLE: $(html) -> $(array) - if ( match[ 1 ] ) { - context = context instanceof jQuery ? context[ 0 ] : context; - - // Option to run scripts is true for back-compat - // Intentionally let the error be thrown if parseHTML is not present - jQuery.merge( this, jQuery.parseHTML( - match[ 1 ], - context && context.nodeType ? context.ownerDocument || context : document, - true - ) ); - - // HANDLE: $(html, props) - if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { - for ( match in context ) { - - // Properties of context are called as methods if possible - if ( jQuery.isFunction( this[ match ] ) ) { - this[ match ]( context[ match ] ); - - // ...and otherwise set as attributes - } else { - this.attr( match, context[ match ] ); - } - } - } - - return this; - - // HANDLE: $(#id) - } else { - elem = document.getElementById( match[ 2 ] ); - - if ( elem ) { - - // Inject the element directly into the jQuery object - this[ 0 ] = elem; - this.length = 1; - } - return this; - } - - // HANDLE: $(expr, $(...)) - } else if ( !context || context.jquery ) { - return ( context || root ).find( selector ); - - // HANDLE: $(expr, context) - // (which is just equivalent to: $(context).find(expr) - } else { - return this.constructor( context ).find( selector ); - } - - // HANDLE: $(DOMElement) - } else if ( selector.nodeType ) { - this[ 0 ] = selector; - this.length = 1; - return this; - - // HANDLE: $(function) - // Shortcut for document ready - } else if ( jQuery.isFunction( selector ) ) { - return root.ready !== undefined ? - root.ready( selector ) : - - // Execute immediately if ready is not present - selector( jQuery ); - } - - return jQuery.makeArray( selector, this ); - }; - -// Give the init function the jQuery prototype for later instantiation -init.prototype = jQuery.fn; - -// Initialize central reference -rootjQuery = jQuery( document ); - - -var rparentsprev = /^(?:parents|prev(?:Until|All))/, - - // Methods guaranteed to produce a unique set when starting from a unique set - guaranteedUnique = { - children: true, - contents: true, - next: true, - prev: true - }; - -jQuery.fn.extend( { - has: function( target ) { - var targets = jQuery( target, this ), - l = targets.length; - - return this.filter( function() { - var i = 0; - for ( ; i < l; i++ ) { - if ( jQuery.contains( this, targets[ i ] ) ) { - return true; - } - } - } ); - }, - - closest: function( selectors, context ) { - var cur, - i = 0, - l = this.length, - matched = [], - targets = typeof selectors !== "string" && jQuery( selectors ); - - // Positional selectors never match, since there's no _selection_ context - if ( !rneedsContext.test( selectors ) ) { - for ( ; i < l; i++ ) { - for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { - - // Always skip document fragments - if ( cur.nodeType < 11 && ( targets ? - targets.index( cur ) > -1 : - - // Don't pass non-elements to Sizzle - cur.nodeType === 1 && - jQuery.find.matchesSelector( cur, selectors ) ) ) { - - matched.push( cur ); - break; - } - } - } - } - - return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); - }, - - // Determine the position of an element within the set - index: function( elem ) { - - // No argument, return index in parent - if ( !elem ) { - return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; - } - - // Index in selector - if ( typeof elem === "string" ) { - return indexOf.call( jQuery( elem ), this[ 0 ] ); - } - - // Locate the position of the desired element - return indexOf.call( this, - - // If it receives a jQuery object, the first element is used - elem.jquery ? elem[ 0 ] : elem - ); - }, - - add: function( selector, context ) { - return this.pushStack( - jQuery.uniqueSort( - jQuery.merge( this.get(), jQuery( selector, context ) ) - ) - ); - }, - - addBack: function( selector ) { - return this.add( selector == null ? - this.prevObject : this.prevObject.filter( selector ) - ); - } -} ); - -function sibling( cur, dir ) { - while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} - return cur; -} - -jQuery.each( { - parent: function( elem ) { - var parent = elem.parentNode; - return parent && parent.nodeType !== 11 ? parent : null; - }, - parents: function( elem ) { - return dir( elem, "parentNode" ); - }, - parentsUntil: function( elem, i, until ) { - return dir( elem, "parentNode", until ); - }, - next: function( elem ) { - return sibling( elem, "nextSibling" ); - }, - prev: function( elem ) { - return sibling( elem, "previousSibling" ); - }, - nextAll: function( elem ) { - return dir( elem, "nextSibling" ); - }, - prevAll: function( elem ) { - return dir( elem, "previousSibling" ); - }, - nextUntil: function( elem, i, until ) { - return dir( elem, "nextSibling", until ); - }, - prevUntil: function( elem, i, until ) { - return dir( elem, "previousSibling", until ); - }, - siblings: function( elem ) { - return siblings( ( elem.parentNode || {} ).firstChild, elem ); - }, - children: function( elem ) { - return siblings( elem.firstChild ); - }, - contents: function( elem ) { - if ( nodeName( elem, "iframe" ) ) { - return elem.contentDocument; - } - - // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only - // Treat the template element as a regular one in browsers that - // don't support it. - if ( nodeName( elem, "template" ) ) { - elem = elem.content || elem; - } - - return jQuery.merge( [], elem.childNodes ); - } -}, function( name, fn ) { - jQuery.fn[ name ] = function( until, selector ) { - var matched = jQuery.map( this, fn, until ); - - if ( name.slice( -5 ) !== "Until" ) { - selector = until; - } - - if ( selector && typeof selector === "string" ) { - matched = jQuery.filter( selector, matched ); - } - - if ( this.length > 1 ) { - - // Remove duplicates - if ( !guaranteedUnique[ name ] ) { - jQuery.uniqueSort( matched ); - } - - // Reverse order for parents* and prev-derivatives - if ( rparentsprev.test( name ) ) { - matched.reverse(); - } - } - - return this.pushStack( matched ); - }; -} ); -var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); - - - -// Convert String-formatted options into Object-formatted ones -function createOptions( options ) { - var object = {}; - jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { - object[ flag ] = true; - } ); - return object; -} - -/* - * Create a callback list using the following parameters: - * - * options: an optional list of space-separated options that will change how - * the callback list behaves or a more traditional option object - * - * By default a callback list will act like an event callback list and can be - * "fired" multiple times. - * - * Possible options: - * - * once: will ensure the callback list can only be fired once (like a Deferred) - * - * memory: will keep track of previous values and will call any callback added - * after the list has been fired right away with the latest "memorized" - * values (like a Deferred) - * - * unique: will ensure a callback can only be added once (no duplicate in the list) - * - * stopOnFalse: interrupt callings when a callback returns false - * - */ -jQuery.Callbacks = function( options ) { - - // Convert options from String-formatted to Object-formatted if needed - // (we check in cache first) - options = typeof options === "string" ? - createOptions( options ) : - jQuery.extend( {}, options ); - - var // Flag to know if list is currently firing - firing, - - // Last fire value for non-forgettable lists - memory, - - // Flag to know if list was already fired - fired, - - // Flag to prevent firing - locked, - - // Actual callback list - list = [], - - // Queue of execution data for repeatable lists - queue = [], - - // Index of currently firing callback (modified by add/remove as needed) - firingIndex = -1, - - // Fire callbacks - fire = function() { - - // Enforce single-firing - locked = locked || options.once; - - // Execute callbacks for all pending executions, - // respecting firingIndex overrides and runtime changes - fired = firing = true; - for ( ; queue.length; firingIndex = -1 ) { - memory = queue.shift(); - while ( ++firingIndex < list.length ) { - - // Run callback and check for early termination - if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && - options.stopOnFalse ) { - - // Jump to end and forget the data so .add doesn't re-fire - firingIndex = list.length; - memory = false; - } - } - } - - // Forget the data if we're done with it - if ( !options.memory ) { - memory = false; - } - - firing = false; - - // Clean up if we're done firing for good - if ( locked ) { - - // Keep an empty list if we have data for future add calls - if ( memory ) { - list = []; - - // Otherwise, this object is spent - } else { - list = ""; - } - } - }, - - // Actual Callbacks object - self = { - - // Add a callback or a collection of callbacks to the list - add: function() { - if ( list ) { - - // If we have memory from a past run, we should fire after adding - if ( memory && !firing ) { - firingIndex = list.length - 1; - queue.push( memory ); - } - - ( function add( args ) { - jQuery.each( args, function( _, arg ) { - if ( jQuery.isFunction( arg ) ) { - if ( !options.unique || !self.has( arg ) ) { - list.push( arg ); - } - } else if ( arg && arg.length && jQuery.type( arg ) !== "string" ) { - - // Inspect recursively - add( arg ); - } - } ); - } )( arguments ); - - if ( memory && !firing ) { - fire(); - } - } - return this; - }, - - // Remove a callback from the list - remove: function() { - jQuery.each( arguments, function( _, arg ) { - var index; - while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { - list.splice( index, 1 ); - - // Handle firing indexes - if ( index <= firingIndex ) { - firingIndex--; - } - } - } ); - return this; - }, - - // Check if a given callback is in the list. - // If no argument is given, return whether or not list has callbacks attached. - has: function( fn ) { - return fn ? - jQuery.inArray( fn, list ) > -1 : - list.length > 0; - }, - - // Remove all callbacks from the list - empty: function() { - if ( list ) { - list = []; - } - return this; - }, - - // Disable .fire and .add - // Abort any current/pending executions - // Clear all callbacks and values - disable: function() { - locked = queue = []; - list = memory = ""; - return this; - }, - disabled: function() { - return !list; - }, - - // Disable .fire - // Also disable .add unless we have memory (since it would have no effect) - // Abort any pending executions - lock: function() { - locked = queue = []; - if ( !memory && !firing ) { - list = memory = ""; - } - return this; - }, - locked: function() { - return !!locked; - }, - - // Call all callbacks with the given context and arguments - fireWith: function( context, args ) { - if ( !locked ) { - args = args || []; - args = [ context, args.slice ? args.slice() : args ]; - queue.push( args ); - if ( !firing ) { - fire(); - } - } - return this; - }, - - // Call all the callbacks with the given arguments - fire: function() { - self.fireWith( this, arguments ); - return this; - }, - - // To know if the callbacks have already been called at least once - fired: function() { - return !!fired; - } - }; - - return self; -}; - - -function Identity( v ) { - return v; -} -function Thrower( ex ) { - throw ex; -} - -function adoptValue( value, resolve, reject, noValue ) { - var method; - - try { - - // Check for promise aspect first to privilege synchronous behavior - if ( value && jQuery.isFunction( ( method = value.promise ) ) ) { - method.call( value ).done( resolve ).fail( reject ); - - // Other thenables - } else if ( value && jQuery.isFunction( ( method = value.then ) ) ) { - method.call( value, resolve, reject ); - - // Other non-thenables - } else { - - // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: - // * false: [ value ].slice( 0 ) => resolve( value ) - // * true: [ value ].slice( 1 ) => resolve() - resolve.apply( undefined, [ value ].slice( noValue ) ); - } - - // For Promises/A+, convert exceptions into rejections - // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in - // Deferred#then to conditionally suppress rejection. - } catch ( value ) { - - // Support: Android 4.0 only - // Strict mode functions invoked without .call/.apply get global-object context - reject.apply( undefined, [ value ] ); - } -} - -jQuery.extend( { - - Deferred: function( func ) { - var tuples = [ - - // action, add listener, callbacks, - // ... .then handlers, argument index, [final state] - [ "notify", "progress", jQuery.Callbacks( "memory" ), - jQuery.Callbacks( "memory" ), 2 ], - [ "resolve", "done", jQuery.Callbacks( "once memory" ), - jQuery.Callbacks( "once memory" ), 0, "resolved" ], - [ "reject", "fail", jQuery.Callbacks( "once memory" ), - jQuery.Callbacks( "once memory" ), 1, "rejected" ] - ], - state = "pending", - promise = { - state: function() { - return state; - }, - always: function() { - deferred.done( arguments ).fail( arguments ); - return this; - }, - "catch": function( fn ) { - return promise.then( null, fn ); - }, - - // Keep pipe for back-compat - pipe: function( /* fnDone, fnFail, fnProgress */ ) { - var fns = arguments; - - return jQuery.Deferred( function( newDefer ) { - jQuery.each( tuples, function( i, tuple ) { - - // Map tuples (progress, done, fail) to arguments (done, fail, progress) - var fn = jQuery.isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; - - // deferred.progress(function() { bind to newDefer or newDefer.notify }) - // deferred.done(function() { bind to newDefer or newDefer.resolve }) - // deferred.fail(function() { bind to newDefer or newDefer.reject }) - deferred[ tuple[ 1 ] ]( function() { - var returned = fn && fn.apply( this, arguments ); - if ( returned && jQuery.isFunction( returned.promise ) ) { - returned.promise() - .progress( newDefer.notify ) - .done( newDefer.resolve ) - .fail( newDefer.reject ); - } else { - newDefer[ tuple[ 0 ] + "With" ]( - this, - fn ? [ returned ] : arguments - ); - } - } ); - } ); - fns = null; - } ).promise(); - }, - then: function( onFulfilled, onRejected, onProgress ) { - var maxDepth = 0; - function resolve( depth, deferred, handler, special ) { - return function() { - var that = this, - args = arguments, - mightThrow = function() { - var returned, then; - - // Support: Promises/A+ section 2.3.3.3.3 - // https://promisesaplus.com/#point-59 - // Ignore double-resolution attempts - if ( depth < maxDepth ) { - return; - } - - returned = handler.apply( that, args ); - - // Support: Promises/A+ section 2.3.1 - // https://promisesaplus.com/#point-48 - if ( returned === deferred.promise() ) { - throw new TypeError( "Thenable self-resolution" ); - } - - // Support: Promises/A+ sections 2.3.3.1, 3.5 - // https://promisesaplus.com/#point-54 - // https://promisesaplus.com/#point-75 - // Retrieve `then` only once - then = returned && - - // Support: Promises/A+ section 2.3.4 - // https://promisesaplus.com/#point-64 - // Only check objects and functions for thenability - ( typeof returned === "object" || - typeof returned === "function" ) && - returned.then; - - // Handle a returned thenable - if ( jQuery.isFunction( then ) ) { - - // Special processors (notify) just wait for resolution - if ( special ) { - then.call( - returned, - resolve( maxDepth, deferred, Identity, special ), - resolve( maxDepth, deferred, Thrower, special ) - ); - - // Normal processors (resolve) also hook into progress - } else { - - // ...and disregard older resolution values - maxDepth++; - - then.call( - returned, - resolve( maxDepth, deferred, Identity, special ), - resolve( maxDepth, deferred, Thrower, special ), - resolve( maxDepth, deferred, Identity, - deferred.notifyWith ) - ); - } - - // Handle all other returned values - } else { - - // Only substitute handlers pass on context - // and multiple values (non-spec behavior) - if ( handler !== Identity ) { - that = undefined; - args = [ returned ]; - } - - // Process the value(s) - // Default process is resolve - ( special || deferred.resolveWith )( that, args ); - } - }, - - // Only normal processors (resolve) catch and reject exceptions - process = special ? - mightThrow : - function() { - try { - mightThrow(); - } catch ( e ) { - - if ( jQuery.Deferred.exceptionHook ) { - jQuery.Deferred.exceptionHook( e, - process.stackTrace ); - } - - // Support: Promises/A+ section 2.3.3.3.4.1 - // https://promisesaplus.com/#point-61 - // Ignore post-resolution exceptions - if ( depth + 1 >= maxDepth ) { - - // Only substitute handlers pass on context - // and multiple values (non-spec behavior) - if ( handler !== Thrower ) { - that = undefined; - args = [ e ]; - } - - deferred.rejectWith( that, args ); - } - } - }; - - // Support: Promises/A+ section 2.3.3.3.1 - // https://promisesaplus.com/#point-57 - // Re-resolve promises immediately to dodge false rejection from - // subsequent errors - if ( depth ) { - process(); - } else { - - // Call an optional hook to record the stack, in case of exception - // since it's otherwise lost when execution goes async - if ( jQuery.Deferred.getStackHook ) { - process.stackTrace = jQuery.Deferred.getStackHook(); - } - window.setTimeout( process ); - } - }; - } - - return jQuery.Deferred( function( newDefer ) { - - // progress_handlers.add( ... ) - tuples[ 0 ][ 3 ].add( - resolve( - 0, - newDefer, - jQuery.isFunction( onProgress ) ? - onProgress : - Identity, - newDefer.notifyWith - ) - ); - - // fulfilled_handlers.add( ... ) - tuples[ 1 ][ 3 ].add( - resolve( - 0, - newDefer, - jQuery.isFunction( onFulfilled ) ? - onFulfilled : - Identity - ) - ); - - // rejected_handlers.add( ... ) - tuples[ 2 ][ 3 ].add( - resolve( - 0, - newDefer, - jQuery.isFunction( onRejected ) ? - onRejected : - Thrower - ) - ); - } ).promise(); - }, - - // Get a promise for this deferred - // If obj is provided, the promise aspect is added to the object - promise: function( obj ) { - return obj != null ? jQuery.extend( obj, promise ) : promise; - } - }, - deferred = {}; - - // Add list-specific methods - jQuery.each( tuples, function( i, tuple ) { - var list = tuple[ 2 ], - stateString = tuple[ 5 ]; - - // promise.progress = list.add - // promise.done = list.add - // promise.fail = list.add - promise[ tuple[ 1 ] ] = list.add; - - // Handle state - if ( stateString ) { - list.add( - function() { - - // state = "resolved" (i.e., fulfilled) - // state = "rejected" - state = stateString; - }, - - // rejected_callbacks.disable - // fulfilled_callbacks.disable - tuples[ 3 - i ][ 2 ].disable, - - // progress_callbacks.lock - tuples[ 0 ][ 2 ].lock - ); - } - - // progress_handlers.fire - // fulfilled_handlers.fire - // rejected_handlers.fire - list.add( tuple[ 3 ].fire ); - - // deferred.notify = function() { deferred.notifyWith(...) } - // deferred.resolve = function() { deferred.resolveWith(...) } - // deferred.reject = function() { deferred.rejectWith(...) } - deferred[ tuple[ 0 ] ] = function() { - deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); - return this; - }; - - // deferred.notifyWith = list.fireWith - // deferred.resolveWith = list.fireWith - // deferred.rejectWith = list.fireWith - deferred[ tuple[ 0 ] + "With" ] = list.fireWith; - } ); - - // Make the deferred a promise - promise.promise( deferred ); - - // Call given func if any - if ( func ) { - func.call( deferred, deferred ); - } - - // All done! - return deferred; - }, - - // Deferred helper - when: function( singleValue ) { - var - - // count of uncompleted subordinates - remaining = arguments.length, - - // count of unprocessed arguments - i = remaining, - - // subordinate fulfillment data - resolveContexts = Array( i ), - resolveValues = slice.call( arguments ), - - // the master Deferred - master = jQuery.Deferred(), - - // subordinate callback factory - updateFunc = function( i ) { - return function( value ) { - resolveContexts[ i ] = this; - resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; - if ( !( --remaining ) ) { - master.resolveWith( resolveContexts, resolveValues ); - } - }; - }; - - // Single- and empty arguments are adopted like Promise.resolve - if ( remaining <= 1 ) { - adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject, - !remaining ); - - // Use .then() to unwrap secondary thenables (cf. gh-3000) - if ( master.state() === "pending" || - jQuery.isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { - - return master.then(); - } - } - - // Multiple arguments are aggregated like Promise.all array elements - while ( i-- ) { - adoptValue( resolveValues[ i ], updateFunc( i ), master.reject ); - } - - return master.promise(); - } -} ); - - -// These usually indicate a programmer mistake during development, -// warn about them ASAP rather than swallowing them by default. -var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; - -jQuery.Deferred.exceptionHook = function( error, stack ) { - - // Support: IE 8 - 9 only - // Console exists when dev tools are open, which can happen at any time - if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { - window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); - } -}; - - - - -jQuery.readyException = function( error ) { - window.setTimeout( function() { - throw error; - } ); -}; - - - - -// The deferred used on DOM ready -var readyList = jQuery.Deferred(); - -jQuery.fn.ready = function( fn ) { - - readyList - .then( fn ) - - // Wrap jQuery.readyException in a function so that the lookup - // happens at the time of error handling instead of callback - // registration. - .catch( function( error ) { - jQuery.readyException( error ); - } ); - - return this; -}; - -jQuery.extend( { - - // Is the DOM ready to be used? Set to true once it occurs. - isReady: false, - - // A counter to track how many items to wait for before - // the ready event fires. See #6781 - readyWait: 1, - - // Handle when the DOM is ready - ready: function( wait ) { - - // Abort if there are pending holds or we're already ready - if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { - return; - } - - // Remember that the DOM is ready - jQuery.isReady = true; - - // If a normal DOM Ready event fired, decrement, and wait if need be - if ( wait !== true && --jQuery.readyWait > 0 ) { - return; - } - - // If there are functions bound, to execute - readyList.resolveWith( document, [ jQuery ] ); - } -} ); - -jQuery.ready.then = readyList.then; - -// The ready event handler and self cleanup method -function completed() { - document.removeEventListener( "DOMContentLoaded", completed ); - window.removeEventListener( "load", completed ); - jQuery.ready(); -} - -// Catch cases where $(document).ready() is called -// after the browser event has already occurred. -// Support: IE <=9 - 10 only -// Older IE sometimes signals "interactive" too soon -if ( document.readyState === "complete" || - ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { - - // Handle it asynchronously to allow scripts the opportunity to delay ready - window.setTimeout( jQuery.ready ); - -} else { - - // Use the handy event callback - document.addEventListener( "DOMContentLoaded", completed ); - - // A fallback to window.onload, that will always work - window.addEventListener( "load", completed ); -} - - - - -// Multifunctional method to get and set values of a collection -// The value/s can optionally be executed if it's a function -var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { - var i = 0, - len = elems.length, - bulk = key == null; - - // Sets many values - if ( jQuery.type( key ) === "object" ) { - chainable = true; - for ( i in key ) { - access( elems, fn, i, key[ i ], true, emptyGet, raw ); - } - - // Sets one value - } else if ( value !== undefined ) { - chainable = true; - - if ( !jQuery.isFunction( value ) ) { - raw = true; - } - - if ( bulk ) { - - // Bulk operations run against the entire set - if ( raw ) { - fn.call( elems, value ); - fn = null; - - // ...except when executing function values - } else { - bulk = fn; - fn = function( elem, key, value ) { - return bulk.call( jQuery( elem ), value ); - }; - } - } - - if ( fn ) { - for ( ; i < len; i++ ) { - fn( - elems[ i ], key, raw ? - value : - value.call( elems[ i ], i, fn( elems[ i ], key ) ) - ); - } - } - } - - if ( chainable ) { - return elems; - } - - // Gets - if ( bulk ) { - return fn.call( elems ); - } - - return len ? fn( elems[ 0 ], key ) : emptyGet; -}; -var acceptData = function( owner ) { - - // Accepts only: - // - Node - // - Node.ELEMENT_NODE - // - Node.DOCUMENT_NODE - // - Object - // - Any - return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); -}; - - - - -function Data() { - this.expando = jQuery.expando + Data.uid++; -} - -Data.uid = 1; - -Data.prototype = { - - cache: function( owner ) { - - // Check if the owner object already has a cache - var value = owner[ this.expando ]; - - // If not, create one - if ( !value ) { - value = {}; - - // We can accept data for non-element nodes in modern browsers, - // but we should not, see #8335. - // Always return an empty object. - if ( acceptData( owner ) ) { - - // If it is a node unlikely to be stringify-ed or looped over - // use plain assignment - if ( owner.nodeType ) { - owner[ this.expando ] = value; - - // Otherwise secure it in a non-enumerable property - // configurable must be true to allow the property to be - // deleted when data is removed - } else { - Object.defineProperty( owner, this.expando, { - value: value, - configurable: true - } ); - } - } - } - - return value; - }, - set: function( owner, data, value ) { - var prop, - cache = this.cache( owner ); - - // Handle: [ owner, key, value ] args - // Always use camelCase key (gh-2257) - if ( typeof data === "string" ) { - cache[ jQuery.camelCase( data ) ] = value; - - // Handle: [ owner, { properties } ] args - } else { - - // Copy the properties one-by-one to the cache object - for ( prop in data ) { - cache[ jQuery.camelCase( prop ) ] = data[ prop ]; - } - } - return cache; - }, - get: function( owner, key ) { - return key === undefined ? - this.cache( owner ) : - - // Always use camelCase key (gh-2257) - owner[ this.expando ] && owner[ this.expando ][ jQuery.camelCase( key ) ]; - }, - access: function( owner, key, value ) { - - // In cases where either: - // - // 1. No key was specified - // 2. A string key was specified, but no value provided - // - // Take the "read" path and allow the get method to determine - // which value to return, respectively either: - // - // 1. The entire cache object - // 2. The data stored at the key - // - if ( key === undefined || - ( ( key && typeof key === "string" ) && value === undefined ) ) { - - return this.get( owner, key ); - } - - // When the key is not a string, or both a key and value - // are specified, set or extend (existing objects) with either: - // - // 1. An object of properties - // 2. A key and value - // - this.set( owner, key, value ); - - // Since the "set" path can have two possible entry points - // return the expected data based on which path was taken[*] - return value !== undefined ? value : key; - }, - remove: function( owner, key ) { - var i, - cache = owner[ this.expando ]; - - if ( cache === undefined ) { - return; - } - - if ( key !== undefined ) { - - // Support array or space separated string of keys - if ( Array.isArray( key ) ) { - - // If key is an array of keys... - // We always set camelCase keys, so remove that. - key = key.map( jQuery.camelCase ); - } else { - key = jQuery.camelCase( key ); - - // If a key with the spaces exists, use it. - // Otherwise, create an array by matching non-whitespace - key = key in cache ? - [ key ] : - ( key.match( rnothtmlwhite ) || [] ); - } - - i = key.length; - - while ( i-- ) { - delete cache[ key[ i ] ]; - } - } - - // Remove the expando if there's no more data - if ( key === undefined || jQuery.isEmptyObject( cache ) ) { - - // Support: Chrome <=35 - 45 - // Webkit & Blink performance suffers when deleting properties - // from DOM nodes, so set to undefined instead - // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) - if ( owner.nodeType ) { - owner[ this.expando ] = undefined; - } else { - delete owner[ this.expando ]; - } - } - }, - hasData: function( owner ) { - var cache = owner[ this.expando ]; - return cache !== undefined && !jQuery.isEmptyObject( cache ); - } -}; -var dataPriv = new Data(); - -var dataUser = new Data(); - - - -// Implementation Summary -// -// 1. Enforce API surface and semantic compatibility with 1.9.x branch -// 2. Improve the module's maintainability by reducing the storage -// paths to a single mechanism. -// 3. Use the same single mechanism to support "private" and "user" data. -// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) -// 5. Avoid exposing implementation details on user objects (eg. expando properties) -// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 - -var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, - rmultiDash = /[A-Z]/g; - -function getData( data ) { - if ( data === "true" ) { - return true; - } - - if ( data === "false" ) { - return false; - } - - if ( data === "null" ) { - return null; - } - - // Only convert to a number if it doesn't change the string - if ( data === +data + "" ) { - return +data; - } - - if ( rbrace.test( data ) ) { - return JSON.parse( data ); - } - - return data; -} - -function dataAttr( elem, key, data ) { - var name; - - // If nothing was found internally, try to fetch any - // data from the HTML5 data-* attribute - if ( data === undefined && elem.nodeType === 1 ) { - name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); - data = elem.getAttribute( name ); - - if ( typeof data === "string" ) { - try { - data = getData( data ); - } catch ( e ) {} - - // Make sure we set the data so it isn't changed later - dataUser.set( elem, key, data ); - } else { - data = undefined; - } - } - return data; -} - -jQuery.extend( { - hasData: function( elem ) { - return dataUser.hasData( elem ) || dataPriv.hasData( elem ); - }, - - data: function( elem, name, data ) { - return dataUser.access( elem, name, data ); - }, - - removeData: function( elem, name ) { - dataUser.remove( elem, name ); - }, - - // TODO: Now that all calls to _data and _removeData have been replaced - // with direct calls to dataPriv methods, these can be deprecated. - _data: function( elem, name, data ) { - return dataPriv.access( elem, name, data ); - }, - - _removeData: function( elem, name ) { - dataPriv.remove( elem, name ); - } -} ); - -jQuery.fn.extend( { - data: function( key, value ) { - var i, name, data, - elem = this[ 0 ], - attrs = elem && elem.attributes; - - // Gets all values - if ( key === undefined ) { - if ( this.length ) { - data = dataUser.get( elem ); - - if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { - i = attrs.length; - while ( i-- ) { - - // Support: IE 11 only - // The attrs elements can be null (#14894) - if ( attrs[ i ] ) { - name = attrs[ i ].name; - if ( name.indexOf( "data-" ) === 0 ) { - name = jQuery.camelCase( name.slice( 5 ) ); - dataAttr( elem, name, data[ name ] ); - } - } - } - dataPriv.set( elem, "hasDataAttrs", true ); - } - } - - return data; - } - - // Sets multiple values - if ( typeof key === "object" ) { - return this.each( function() { - dataUser.set( this, key ); - } ); - } - - return access( this, function( value ) { - var data; - - // The calling jQuery object (element matches) is not empty - // (and therefore has an element appears at this[ 0 ]) and the - // `value` parameter was not undefined. An empty jQuery object - // will result in `undefined` for elem = this[ 0 ] which will - // throw an exception if an attempt to read a data cache is made. - if ( elem && value === undefined ) { - - // Attempt to get data from the cache - // The key will always be camelCased in Data - data = dataUser.get( elem, key ); - if ( data !== undefined ) { - return data; - } - - // Attempt to "discover" the data in - // HTML5 custom data-* attrs - data = dataAttr( elem, key ); - if ( data !== undefined ) { - return data; - } - - // We tried really hard, but the data doesn't exist. - return; - } - - // Set the data... - this.each( function() { - - // We always store the camelCased key - dataUser.set( this, key, value ); - } ); - }, null, value, arguments.length > 1, null, true ); - }, - - removeData: function( key ) { - return this.each( function() { - dataUser.remove( this, key ); - } ); - } -} ); - - -jQuery.extend( { - queue: function( elem, type, data ) { - var queue; - - if ( elem ) { - type = ( type || "fx" ) + "queue"; - queue = dataPriv.get( elem, type ); - - // Speed up dequeue by getting out quickly if this is just a lookup - if ( data ) { - if ( !queue || Array.isArray( data ) ) { - queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); - } else { - queue.push( data ); - } - } - return queue || []; - } - }, - - dequeue: function( elem, type ) { - type = type || "fx"; - - var queue = jQuery.queue( elem, type ), - startLength = queue.length, - fn = queue.shift(), - hooks = jQuery._queueHooks( elem, type ), - next = function() { - jQuery.dequeue( elem, type ); - }; - - // If the fx queue is dequeued, always remove the progress sentinel - if ( fn === "inprogress" ) { - fn = queue.shift(); - startLength--; - } - - if ( fn ) { - - // Add a progress sentinel to prevent the fx queue from being - // automatically dequeued - if ( type === "fx" ) { - queue.unshift( "inprogress" ); - } - - // Clear up the last queue stop function - delete hooks.stop; - fn.call( elem, next, hooks ); - } - - if ( !startLength && hooks ) { - hooks.empty.fire(); - } - }, - - // Not public - generate a queueHooks object, or return the current one - _queueHooks: function( elem, type ) { - var key = type + "queueHooks"; - return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { - empty: jQuery.Callbacks( "once memory" ).add( function() { - dataPriv.remove( elem, [ type + "queue", key ] ); - } ) - } ); - } -} ); - -jQuery.fn.extend( { - queue: function( type, data ) { - var setter = 2; - - if ( typeof type !== "string" ) { - data = type; - type = "fx"; - setter--; - } - - if ( arguments.length < setter ) { - return jQuery.queue( this[ 0 ], type ); - } - - return data === undefined ? - this : - this.each( function() { - var queue = jQuery.queue( this, type, data ); - - // Ensure a hooks for this queue - jQuery._queueHooks( this, type ); - - if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { - jQuery.dequeue( this, type ); - } - } ); - }, - dequeue: function( type ) { - return this.each( function() { - jQuery.dequeue( this, type ); - } ); - }, - clearQueue: function( type ) { - return this.queue( type || "fx", [] ); - }, - - // Get a promise resolved when queues of a certain type - // are emptied (fx is the type by default) - promise: function( type, obj ) { - var tmp, - count = 1, - defer = jQuery.Deferred(), - elements = this, - i = this.length, - resolve = function() { - if ( !( --count ) ) { - defer.resolveWith( elements, [ elements ] ); - } - }; - - if ( typeof type !== "string" ) { - obj = type; - type = undefined; - } - type = type || "fx"; - - while ( i-- ) { - tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); - if ( tmp && tmp.empty ) { - count++; - tmp.empty.add( resolve ); - } - } - resolve(); - return defer.promise( obj ); - } -} ); -var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; - -var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); - - -var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; - -var isHiddenWithinTree = function( elem, el ) { - - // isHiddenWithinTree might be called from jQuery#filter function; - // in that case, element will be second argument - elem = el || elem; - - // Inline style trumps all - return elem.style.display === "none" || - elem.style.display === "" && - - // Otherwise, check computed style - // Support: Firefox <=43 - 45 - // Disconnected elements can have computed display: none, so first confirm that elem is - // in the document. - jQuery.contains( elem.ownerDocument, elem ) && - - jQuery.css( elem, "display" ) === "none"; - }; - -var swap = function( elem, options, callback, args ) { - var ret, name, - old = {}; - - // Remember the old values, and insert the new ones - for ( name in options ) { - old[ name ] = elem.style[ name ]; - elem.style[ name ] = options[ name ]; - } - - ret = callback.apply( elem, args || [] ); - - // Revert the old values - for ( name in options ) { - elem.style[ name ] = old[ name ]; - } - - return ret; -}; - - - - -function adjustCSS( elem, prop, valueParts, tween ) { - var adjusted, - scale = 1, - maxIterations = 20, - currentValue = tween ? - function() { - return tween.cur(); - } : - function() { - return jQuery.css( elem, prop, "" ); - }, - initial = currentValue(), - unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), - - // Starting value computation is required for potential unit mismatches - initialInUnit = ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && - rcssNum.exec( jQuery.css( elem, prop ) ); - - if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { - - // Trust units reported by jQuery.css - unit = unit || initialInUnit[ 3 ]; - - // Make sure we update the tween properties later on - valueParts = valueParts || []; - - // Iteratively approximate from a nonzero starting point - initialInUnit = +initial || 1; - - do { - - // If previous iteration zeroed out, double until we get *something*. - // Use string for doubling so we don't accidentally see scale as unchanged below - scale = scale || ".5"; - - // Adjust and apply - initialInUnit = initialInUnit / scale; - jQuery.style( elem, prop, initialInUnit + unit ); - - // Update scale, tolerating zero or NaN from tween.cur() - // Break the loop if scale is unchanged or perfect, or if we've just had enough. - } while ( - scale !== ( scale = currentValue() / initial ) && scale !== 1 && --maxIterations - ); - } - - if ( valueParts ) { - initialInUnit = +initialInUnit || +initial || 0; - - // Apply relative offset (+=/-=) if specified - adjusted = valueParts[ 1 ] ? - initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : - +valueParts[ 2 ]; - if ( tween ) { - tween.unit = unit; - tween.start = initialInUnit; - tween.end = adjusted; - } - } - return adjusted; -} - - -var defaultDisplayMap = {}; - -function getDefaultDisplay( elem ) { - var temp, - doc = elem.ownerDocument, - nodeName = elem.nodeName, - display = defaultDisplayMap[ nodeName ]; - - if ( display ) { - return display; - } - - temp = doc.body.appendChild( doc.createElement( nodeName ) ); - display = jQuery.css( temp, "display" ); - - temp.parentNode.removeChild( temp ); - - if ( display === "none" ) { - display = "block"; - } - defaultDisplayMap[ nodeName ] = display; - - return display; -} - -function showHide( elements, show ) { - var display, elem, - values = [], - index = 0, - length = elements.length; - - // Determine new display value for elements that need to change - for ( ; index < length; index++ ) { - elem = elements[ index ]; - if ( !elem.style ) { - continue; - } - - display = elem.style.display; - if ( show ) { - - // Since we force visibility upon cascade-hidden elements, an immediate (and slow) - // check is required in this first loop unless we have a nonempty display value (either - // inline or about-to-be-restored) - if ( display === "none" ) { - values[ index ] = dataPriv.get( elem, "display" ) || null; - if ( !values[ index ] ) { - elem.style.display = ""; - } - } - if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { - values[ index ] = getDefaultDisplay( elem ); - } - } else { - if ( display !== "none" ) { - values[ index ] = "none"; - - // Remember what we're overwriting - dataPriv.set( elem, "display", display ); - } - } - } - - // Set the display of the elements in a second loop to avoid constant reflow - for ( index = 0; index < length; index++ ) { - if ( values[ index ] != null ) { - elements[ index ].style.display = values[ index ]; - } - } - - return elements; -} - -jQuery.fn.extend( { - show: function() { - return showHide( this, true ); - }, - hide: function() { - return showHide( this ); - }, - toggle: function( state ) { - if ( typeof state === "boolean" ) { - return state ? this.show() : this.hide(); - } - - return this.each( function() { - if ( isHiddenWithinTree( this ) ) { - jQuery( this ).show(); - } else { - jQuery( this ).hide(); - } - } ); - } -} ); -var rcheckableType = ( /^(?:checkbox|radio)$/i ); - -var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]+)/i ); - -var rscriptType = ( /^$|\/(?:java|ecma)script/i ); - - - -// We have to close these tags to support XHTML (#13200) -var wrapMap = { - - // Support: IE <=9 only - option: [ 1, "" ], - - // XHTML parsers do not magically insert elements in the - // same way that tag soup parsers do. So we cannot shorten - // this by omitting or other required elements. - thead: [ 1, "", "
            " ], - col: [ 2, "", "
            " ], - tr: [ 2, "", "
            " ], - td: [ 3, "", "
            " ], - - _default: [ 0, "", "" ] -}; - -// Support: IE <=9 only -wrapMap.optgroup = wrapMap.option; - -wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; -wrapMap.th = wrapMap.td; - - -function getAll( context, tag ) { - - // Support: IE <=9 - 11 only - // Use typeof to avoid zero-argument method invocation on host objects (#15151) - var ret; - - if ( typeof context.getElementsByTagName !== "undefined" ) { - ret = context.getElementsByTagName( tag || "*" ); - - } else if ( typeof context.querySelectorAll !== "undefined" ) { - ret = context.querySelectorAll( tag || "*" ); - - } else { - ret = []; - } - - if ( tag === undefined || tag && nodeName( context, tag ) ) { - return jQuery.merge( [ context ], ret ); - } - - return ret; -} - - -// Mark scripts as having already been evaluated -function setGlobalEval( elems, refElements ) { - var i = 0, - l = elems.length; - - for ( ; i < l; i++ ) { - dataPriv.set( - elems[ i ], - "globalEval", - !refElements || dataPriv.get( refElements[ i ], "globalEval" ) - ); - } -} - - -var rhtml = /<|&#?\w+;/; - -function buildFragment( elems, context, scripts, selection, ignored ) { - var elem, tmp, tag, wrap, contains, j, - fragment = context.createDocumentFragment(), - nodes = [], - i = 0, - l = elems.length; - - for ( ; i < l; i++ ) { - elem = elems[ i ]; - - if ( elem || elem === 0 ) { - - // Add nodes directly - if ( jQuery.type( elem ) === "object" ) { - - // Support: Android <=4.0 only, PhantomJS 1 only - // push.apply(_, arraylike) throws on ancient WebKit - jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); - - // Convert non-html into a text node - } else if ( !rhtml.test( elem ) ) { - nodes.push( context.createTextNode( elem ) ); - - // Convert html into DOM nodes - } else { - tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); - - // Deserialize a standard representation - tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); - wrap = wrapMap[ tag ] || wrapMap._default; - tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; - - // Descend through wrappers to the right content - j = wrap[ 0 ]; - while ( j-- ) { - tmp = tmp.lastChild; - } - - // Support: Android <=4.0 only, PhantomJS 1 only - // push.apply(_, arraylike) throws on ancient WebKit - jQuery.merge( nodes, tmp.childNodes ); - - // Remember the top-level container - tmp = fragment.firstChild; - - // Ensure the created nodes are orphaned (#12392) - tmp.textContent = ""; - } - } - } - - // Remove wrapper from fragment - fragment.textContent = ""; - - i = 0; - while ( ( elem = nodes[ i++ ] ) ) { - - // Skip elements already in the context collection (trac-4087) - if ( selection && jQuery.inArray( elem, selection ) > -1 ) { - if ( ignored ) { - ignored.push( elem ); - } - continue; - } - - contains = jQuery.contains( elem.ownerDocument, elem ); - - // Append to fragment - tmp = getAll( fragment.appendChild( elem ), "script" ); - - // Preserve script evaluation history - if ( contains ) { - setGlobalEval( tmp ); - } - - // Capture executables - if ( scripts ) { - j = 0; - while ( ( elem = tmp[ j++ ] ) ) { - if ( rscriptType.test( elem.type || "" ) ) { - scripts.push( elem ); - } - } - } - } - - return fragment; -} - - -( function() { - var fragment = document.createDocumentFragment(), - div = fragment.appendChild( document.createElement( "div" ) ), - input = document.createElement( "input" ); - - // Support: Android 4.0 - 4.3 only - // Check state lost if the name is set (#11217) - // Support: Windows Web Apps (WWA) - // `name` and `type` must use .setAttribute for WWA (#14901) - input.setAttribute( "type", "radio" ); - input.setAttribute( "checked", "checked" ); - input.setAttribute( "name", "t" ); - - div.appendChild( input ); - - // Support: Android <=4.1 only - // Older WebKit doesn't clone checked state correctly in fragments - support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; - - // Support: IE <=11 only - // Make sure textarea (and checkbox) defaultValue is properly cloned - div.innerHTML = ""; - support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; -} )(); -var documentElement = document.documentElement; - - - -var - rkeyEvent = /^key/, - rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, - rtypenamespace = /^([^.]*)(?:\.(.+)|)/; - -function returnTrue() { - return true; -} - -function returnFalse() { - return false; -} - -// Support: IE <=9 only -// See #13393 for more info -function safeActiveElement() { - try { - return document.activeElement; - } catch ( err ) { } -} - -function on( elem, types, selector, data, fn, one ) { - var origFn, type; - - // Types can be a map of types/handlers - if ( typeof types === "object" ) { - - // ( types-Object, selector, data ) - if ( typeof selector !== "string" ) { - - // ( types-Object, data ) - data = data || selector; - selector = undefined; - } - for ( type in types ) { - on( elem, type, selector, data, types[ type ], one ); - } - return elem; - } - - if ( data == null && fn == null ) { - - // ( types, fn ) - fn = selector; - data = selector = undefined; - } else if ( fn == null ) { - if ( typeof selector === "string" ) { - - // ( types, selector, fn ) - fn = data; - data = undefined; - } else { - - // ( types, data, fn ) - fn = data; - data = selector; - selector = undefined; - } - } - if ( fn === false ) { - fn = returnFalse; - } else if ( !fn ) { - return elem; - } - - if ( one === 1 ) { - origFn = fn; - fn = function( event ) { - - // Can use an empty set, since event contains the info - jQuery().off( event ); - return origFn.apply( this, arguments ); - }; - - // Use same guid so caller can remove using origFn - fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); - } - return elem.each( function() { - jQuery.event.add( this, types, fn, data, selector ); - } ); -} - -/* - * Helper functions for managing events -- not part of the public interface. - * Props to Dean Edwards' addEvent library for many of the ideas. - */ -jQuery.event = { - - global: {}, - - add: function( elem, types, handler, data, selector ) { - - var handleObjIn, eventHandle, tmp, - events, t, handleObj, - special, handlers, type, namespaces, origType, - elemData = dataPriv.get( elem ); - - // Don't attach events to noData or text/comment nodes (but allow plain objects) - if ( !elemData ) { - return; - } - - // Caller can pass in an object of custom data in lieu of the handler - if ( handler.handler ) { - handleObjIn = handler; - handler = handleObjIn.handler; - selector = handleObjIn.selector; - } - - // Ensure that invalid selectors throw exceptions at attach time - // Evaluate against documentElement in case elem is a non-element node (e.g., document) - if ( selector ) { - jQuery.find.matchesSelector( documentElement, selector ); - } - - // Make sure that the handler has a unique ID, used to find/remove it later - if ( !handler.guid ) { - handler.guid = jQuery.guid++; - } - - // Init the element's event structure and main handler, if this is the first - if ( !( events = elemData.events ) ) { - events = elemData.events = {}; - } - if ( !( eventHandle = elemData.handle ) ) { - eventHandle = elemData.handle = function( e ) { - - // Discard the second event of a jQuery.event.trigger() and - // when an event is called after a page has unloaded - return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? - jQuery.event.dispatch.apply( elem, arguments ) : undefined; - }; - } - - // Handle multiple events separated by a space - types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; - t = types.length; - while ( t-- ) { - tmp = rtypenamespace.exec( types[ t ] ) || []; - type = origType = tmp[ 1 ]; - namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); - - // There *must* be a type, no attaching namespace-only handlers - if ( !type ) { - continue; - } - - // If event changes its type, use the special event handlers for the changed type - special = jQuery.event.special[ type ] || {}; - - // If selector defined, determine special event api type, otherwise given type - type = ( selector ? special.delegateType : special.bindType ) || type; - - // Update special based on newly reset type - special = jQuery.event.special[ type ] || {}; - - // handleObj is passed to all event handlers - handleObj = jQuery.extend( { - type: type, - origType: origType, - data: data, - handler: handler, - guid: handler.guid, - selector: selector, - needsContext: selector && jQuery.expr.match.needsContext.test( selector ), - namespace: namespaces.join( "." ) - }, handleObjIn ); - - // Init the event handler queue if we're the first - if ( !( handlers = events[ type ] ) ) { - handlers = events[ type ] = []; - handlers.delegateCount = 0; - - // Only use addEventListener if the special events handler returns false - if ( !special.setup || - special.setup.call( elem, data, namespaces, eventHandle ) === false ) { - - if ( elem.addEventListener ) { - elem.addEventListener( type, eventHandle ); - } - } - } - - if ( special.add ) { - special.add.call( elem, handleObj ); - - if ( !handleObj.handler.guid ) { - handleObj.handler.guid = handler.guid; - } - } - - // Add to the element's handler list, delegates in front - if ( selector ) { - handlers.splice( handlers.delegateCount++, 0, handleObj ); - } else { - handlers.push( handleObj ); - } - - // Keep track of which events have ever been used, for event optimization - jQuery.event.global[ type ] = true; - } - - }, - - // Detach an event or set of events from an element - remove: function( elem, types, handler, selector, mappedTypes ) { - - var j, origCount, tmp, - events, t, handleObj, - special, handlers, type, namespaces, origType, - elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); - - if ( !elemData || !( events = elemData.events ) ) { - return; - } - - // Once for each type.namespace in types; type may be omitted - types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; - t = types.length; - while ( t-- ) { - tmp = rtypenamespace.exec( types[ t ] ) || []; - type = origType = tmp[ 1 ]; - namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); - - // Unbind all events (on this namespace, if provided) for the element - if ( !type ) { - for ( type in events ) { - jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); - } - continue; - } - - special = jQuery.event.special[ type ] || {}; - type = ( selector ? special.delegateType : special.bindType ) || type; - handlers = events[ type ] || []; - tmp = tmp[ 2 ] && - new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); - - // Remove matching events - origCount = j = handlers.length; - while ( j-- ) { - handleObj = handlers[ j ]; - - if ( ( mappedTypes || origType === handleObj.origType ) && - ( !handler || handler.guid === handleObj.guid ) && - ( !tmp || tmp.test( handleObj.namespace ) ) && - ( !selector || selector === handleObj.selector || - selector === "**" && handleObj.selector ) ) { - handlers.splice( j, 1 ); - - if ( handleObj.selector ) { - handlers.delegateCount--; - } - if ( special.remove ) { - special.remove.call( elem, handleObj ); - } - } - } - - // Remove generic event handler if we removed something and no more handlers exist - // (avoids potential for endless recursion during removal of special event handlers) - if ( origCount && !handlers.length ) { - if ( !special.teardown || - special.teardown.call( elem, namespaces, elemData.handle ) === false ) { - - jQuery.removeEvent( elem, type, elemData.handle ); - } - - delete events[ type ]; - } - } - - // Remove data and the expando if it's no longer used - if ( jQuery.isEmptyObject( events ) ) { - dataPriv.remove( elem, "handle events" ); - } - }, - - dispatch: function( nativeEvent ) { - - // Make a writable jQuery.Event from the native event object - var event = jQuery.event.fix( nativeEvent ); - - var i, j, ret, matched, handleObj, handlerQueue, - args = new Array( arguments.length ), - handlers = ( dataPriv.get( this, "events" ) || {} )[ event.type ] || [], - special = jQuery.event.special[ event.type ] || {}; - - // Use the fix-ed jQuery.Event rather than the (read-only) native event - args[ 0 ] = event; - - for ( i = 1; i < arguments.length; i++ ) { - args[ i ] = arguments[ i ]; - } - - event.delegateTarget = this; - - // Call the preDispatch hook for the mapped type, and let it bail if desired - if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { - return; - } - - // Determine handlers - handlerQueue = jQuery.event.handlers.call( this, event, handlers ); - - // Run delegates first; they may want to stop propagation beneath us - i = 0; - while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { - event.currentTarget = matched.elem; - - j = 0; - while ( ( handleObj = matched.handlers[ j++ ] ) && - !event.isImmediatePropagationStopped() ) { - - // Triggered event must either 1) have no namespace, or 2) have namespace(s) - // a subset or equal to those in the bound event (both can have no namespace). - if ( !event.rnamespace || event.rnamespace.test( handleObj.namespace ) ) { - - event.handleObj = handleObj; - event.data = handleObj.data; - - ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || - handleObj.handler ).apply( matched.elem, args ); - - if ( ret !== undefined ) { - if ( ( event.result = ret ) === false ) { - event.preventDefault(); - event.stopPropagation(); - } - } - } - } - } - - // Call the postDispatch hook for the mapped type - if ( special.postDispatch ) { - special.postDispatch.call( this, event ); - } - - return event.result; - }, - - handlers: function( event, handlers ) { - var i, handleObj, sel, matchedHandlers, matchedSelectors, - handlerQueue = [], - delegateCount = handlers.delegateCount, - cur = event.target; - - // Find delegate handlers - if ( delegateCount && - - // Support: IE <=9 - // Black-hole SVG instance trees (trac-13180) - cur.nodeType && - - // Support: Firefox <=42 - // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) - // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click - // Support: IE 11 only - // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) - !( event.type === "click" && event.button >= 1 ) ) { - - for ( ; cur !== this; cur = cur.parentNode || this ) { - - // Don't check non-elements (#13208) - // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) - if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { - matchedHandlers = []; - matchedSelectors = {}; - for ( i = 0; i < delegateCount; i++ ) { - handleObj = handlers[ i ]; - - // Don't conflict with Object.prototype properties (#13203) - sel = handleObj.selector + " "; - - if ( matchedSelectors[ sel ] === undefined ) { - matchedSelectors[ sel ] = handleObj.needsContext ? - jQuery( sel, this ).index( cur ) > -1 : - jQuery.find( sel, this, null, [ cur ] ).length; - } - if ( matchedSelectors[ sel ] ) { - matchedHandlers.push( handleObj ); - } - } - if ( matchedHandlers.length ) { - handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); - } - } - } - } - - // Add the remaining (directly-bound) handlers - cur = this; - if ( delegateCount < handlers.length ) { - handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); - } - - return handlerQueue; - }, - - addProp: function( name, hook ) { - Object.defineProperty( jQuery.Event.prototype, name, { - enumerable: true, - configurable: true, - - get: jQuery.isFunction( hook ) ? - function() { - if ( this.originalEvent ) { - return hook( this.originalEvent ); - } - } : - function() { - if ( this.originalEvent ) { - return this.originalEvent[ name ]; - } - }, - - set: function( value ) { - Object.defineProperty( this, name, { - enumerable: true, - configurable: true, - writable: true, - value: value - } ); - } - } ); - }, - - fix: function( originalEvent ) { - return originalEvent[ jQuery.expando ] ? - originalEvent : - new jQuery.Event( originalEvent ); - }, - - special: { - load: { - - // Prevent triggered image.load events from bubbling to window.load - noBubble: true - }, - focus: { - - // Fire native event if possible so blur/focus sequence is correct - trigger: function() { - if ( this !== safeActiveElement() && this.focus ) { - this.focus(); - return false; - } - }, - delegateType: "focusin" - }, - blur: { - trigger: function() { - if ( this === safeActiveElement() && this.blur ) { - this.blur(); - return false; - } - }, - delegateType: "focusout" - }, - click: { - - // For checkbox, fire native event so checked state will be right - trigger: function() { - if ( this.type === "checkbox" && this.click && nodeName( this, "input" ) ) { - this.click(); - return false; - } - }, - - // For cross-browser consistency, don't fire native .click() on links - _default: function( event ) { - return nodeName( event.target, "a" ); - } - }, - - beforeunload: { - postDispatch: function( event ) { - - // Support: Firefox 20+ - // Firefox doesn't alert if the returnValue field is not set. - if ( event.result !== undefined && event.originalEvent ) { - event.originalEvent.returnValue = event.result; - } - } - } - } -}; - -jQuery.removeEvent = function( elem, type, handle ) { - - // This "if" is needed for plain objects - if ( elem.removeEventListener ) { - elem.removeEventListener( type, handle ); - } -}; - -jQuery.Event = function( src, props ) { - - // Allow instantiation without the 'new' keyword - if ( !( this instanceof jQuery.Event ) ) { - return new jQuery.Event( src, props ); - } - - // Event object - if ( src && src.type ) { - this.originalEvent = src; - this.type = src.type; - - // Events bubbling up the document may have been marked as prevented - // by a handler lower down the tree; reflect the correct value. - this.isDefaultPrevented = src.defaultPrevented || - src.defaultPrevented === undefined && - - // Support: Android <=2.3 only - src.returnValue === false ? - returnTrue : - returnFalse; - - // Create target properties - // Support: Safari <=6 - 7 only - // Target should not be a text node (#504, #13143) - this.target = ( src.target && src.target.nodeType === 3 ) ? - src.target.parentNode : - src.target; - - this.currentTarget = src.currentTarget; - this.relatedTarget = src.relatedTarget; - - // Event type - } else { - this.type = src; - } - - // Put explicitly provided properties onto the event object - if ( props ) { - jQuery.extend( this, props ); - } - - // Create a timestamp if incoming event doesn't have one - this.timeStamp = src && src.timeStamp || jQuery.now(); - - // Mark it as fixed - this[ jQuery.expando ] = true; -}; - -// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding -// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html -jQuery.Event.prototype = { - constructor: jQuery.Event, - isDefaultPrevented: returnFalse, - isPropagationStopped: returnFalse, - isImmediatePropagationStopped: returnFalse, - isSimulated: false, - - preventDefault: function() { - var e = this.originalEvent; - - this.isDefaultPrevented = returnTrue; - - if ( e && !this.isSimulated ) { - e.preventDefault(); - } - }, - stopPropagation: function() { - var e = this.originalEvent; - - this.isPropagationStopped = returnTrue; - - if ( e && !this.isSimulated ) { - e.stopPropagation(); - } - }, - stopImmediatePropagation: function() { - var e = this.originalEvent; - - this.isImmediatePropagationStopped = returnTrue; - - if ( e && !this.isSimulated ) { - e.stopImmediatePropagation(); - } - - this.stopPropagation(); - } -}; - -// Includes all common event props including KeyEvent and MouseEvent specific props -jQuery.each( { - altKey: true, - bubbles: true, - cancelable: true, - changedTouches: true, - ctrlKey: true, - detail: true, - eventPhase: true, - metaKey: true, - pageX: true, - pageY: true, - shiftKey: true, - view: true, - "char": true, - charCode: true, - key: true, - keyCode: true, - button: true, - buttons: true, - clientX: true, - clientY: true, - offsetX: true, - offsetY: true, - pointerId: true, - pointerType: true, - screenX: true, - screenY: true, - targetTouches: true, - toElement: true, - touches: true, - - which: function( event ) { - var button = event.button; - - // Add which for key events - if ( event.which == null && rkeyEvent.test( event.type ) ) { - return event.charCode != null ? event.charCode : event.keyCode; - } - - // Add which for click: 1 === left; 2 === middle; 3 === right - if ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) { - if ( button & 1 ) { - return 1; - } - - if ( button & 2 ) { - return 3; - } - - if ( button & 4 ) { - return 2; - } - - return 0; - } - - return event.which; - } -}, jQuery.event.addProp ); - -// Create mouseenter/leave events using mouseover/out and event-time checks -// so that event delegation works in jQuery. -// Do the same for pointerenter/pointerleave and pointerover/pointerout -// -// Support: Safari 7 only -// Safari sends mouseenter too often; see: -// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 -// for the description of the bug (it existed in older Chrome versions as well). -jQuery.each( { - mouseenter: "mouseover", - mouseleave: "mouseout", - pointerenter: "pointerover", - pointerleave: "pointerout" -}, function( orig, fix ) { - jQuery.event.special[ orig ] = { - delegateType: fix, - bindType: fix, - - handle: function( event ) { - var ret, - target = this, - related = event.relatedTarget, - handleObj = event.handleObj; - - // For mouseenter/leave call the handler if related is outside the target. - // NB: No relatedTarget if the mouse left/entered the browser window - if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { - event.type = handleObj.origType; - ret = handleObj.handler.apply( this, arguments ); - event.type = fix; - } - return ret; - } - }; -} ); - -jQuery.fn.extend( { - - on: function( types, selector, data, fn ) { - return on( this, types, selector, data, fn ); - }, - one: function( types, selector, data, fn ) { - return on( this, types, selector, data, fn, 1 ); - }, - off: function( types, selector, fn ) { - var handleObj, type; - if ( types && types.preventDefault && types.handleObj ) { - - // ( event ) dispatched jQuery.Event - handleObj = types.handleObj; - jQuery( types.delegateTarget ).off( - handleObj.namespace ? - handleObj.origType + "." + handleObj.namespace : - handleObj.origType, - handleObj.selector, - handleObj.handler - ); - return this; - } - if ( typeof types === "object" ) { - - // ( types-object [, selector] ) - for ( type in types ) { - this.off( type, selector, types[ type ] ); - } - return this; - } - if ( selector === false || typeof selector === "function" ) { - - // ( types [, fn] ) - fn = selector; - selector = undefined; - } - if ( fn === false ) { - fn = returnFalse; - } - return this.each( function() { - jQuery.event.remove( this, types, fn, selector ); - } ); - } -} ); - - -var - - /* eslint-disable max-len */ - - // See https://github.com/eslint/eslint/issues/3229 - rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi, - - /* eslint-enable */ - - // Support: IE <=10 - 11, Edge 12 - 13 - // In IE/Edge using regex groups here causes severe slowdowns. - // See https://connect.microsoft.com/IE/feedback/details/1736512/ - rnoInnerhtml = /\s*$/g; - -// Prefer a tbody over its parent table for containing new rows -function manipulationTarget( elem, content ) { - if ( nodeName( elem, "table" ) && - nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { - - return jQuery( ">tbody", elem )[ 0 ] || elem; - } - - return elem; -} - -// Replace/restore the type attribute of script elements for safe DOM manipulation -function disableScript( elem ) { - elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; - return elem; -} -function restoreScript( elem ) { - var match = rscriptTypeMasked.exec( elem.type ); - - if ( match ) { - elem.type = match[ 1 ]; - } else { - elem.removeAttribute( "type" ); - } - - return elem; -} - -function cloneCopyEvent( src, dest ) { - var i, l, type, pdataOld, pdataCur, udataOld, udataCur, events; - - if ( dest.nodeType !== 1 ) { - return; - } - - // 1. Copy private data: events, handlers, etc. - if ( dataPriv.hasData( src ) ) { - pdataOld = dataPriv.access( src ); - pdataCur = dataPriv.set( dest, pdataOld ); - events = pdataOld.events; - - if ( events ) { - delete pdataCur.handle; - pdataCur.events = {}; - - for ( type in events ) { - for ( i = 0, l = events[ type ].length; i < l; i++ ) { - jQuery.event.add( dest, type, events[ type ][ i ] ); - } - } - } - } - - // 2. Copy user data - if ( dataUser.hasData( src ) ) { - udataOld = dataUser.access( src ); - udataCur = jQuery.extend( {}, udataOld ); - - dataUser.set( dest, udataCur ); - } -} - -// Fix IE bugs, see support tests -function fixInput( src, dest ) { - var nodeName = dest.nodeName.toLowerCase(); - - // Fails to persist the checked state of a cloned checkbox or radio button. - if ( nodeName === "input" && rcheckableType.test( src.type ) ) { - dest.checked = src.checked; - - // Fails to return the selected option to the default selected state when cloning options - } else if ( nodeName === "input" || nodeName === "textarea" ) { - dest.defaultValue = src.defaultValue; - } -} - -function domManip( collection, args, callback, ignored ) { - - // Flatten any nested arrays - args = concat.apply( [], args ); - - var fragment, first, scripts, hasScripts, node, doc, - i = 0, - l = collection.length, - iNoClone = l - 1, - value = args[ 0 ], - isFunction = jQuery.isFunction( value ); - - // We can't cloneNode fragments that contain checked, in WebKit - if ( isFunction || - ( l > 1 && typeof value === "string" && - !support.checkClone && rchecked.test( value ) ) ) { - return collection.each( function( index ) { - var self = collection.eq( index ); - if ( isFunction ) { - args[ 0 ] = value.call( this, index, self.html() ); - } - domManip( self, args, callback, ignored ); - } ); - } - - if ( l ) { - fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); - first = fragment.firstChild; - - if ( fragment.childNodes.length === 1 ) { - fragment = first; - } - - // Require either new content or an interest in ignored elements to invoke the callback - if ( first || ignored ) { - scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); - hasScripts = scripts.length; - - // Use the original fragment for the last item - // instead of the first because it can end up - // being emptied incorrectly in certain situations (#8070). - for ( ; i < l; i++ ) { - node = fragment; - - if ( i !== iNoClone ) { - node = jQuery.clone( node, true, true ); - - // Keep references to cloned scripts for later restoration - if ( hasScripts ) { - - // Support: Android <=4.0 only, PhantomJS 1 only - // push.apply(_, arraylike) throws on ancient WebKit - jQuery.merge( scripts, getAll( node, "script" ) ); - } - } - - callback.call( collection[ i ], node, i ); - } - - if ( hasScripts ) { - doc = scripts[ scripts.length - 1 ].ownerDocument; - - // Reenable scripts - jQuery.map( scripts, restoreScript ); - - // Evaluate executable scripts on first document insertion - for ( i = 0; i < hasScripts; i++ ) { - node = scripts[ i ]; - if ( rscriptType.test( node.type || "" ) && - !dataPriv.access( node, "globalEval" ) && - jQuery.contains( doc, node ) ) { - - if ( node.src ) { - - // Optional AJAX dependency, but won't run scripts if not present - if ( jQuery._evalUrl ) { - jQuery._evalUrl( node.src ); - } - } else { - DOMEval( node.textContent.replace( rcleanScript, "" ), doc ); - } - } - } - } - } - } - - return collection; -} - -function remove( elem, selector, keepData ) { - var node, - nodes = selector ? jQuery.filter( selector, elem ) : elem, - i = 0; - - for ( ; ( node = nodes[ i ] ) != null; i++ ) { - if ( !keepData && node.nodeType === 1 ) { - jQuery.cleanData( getAll( node ) ); - } - - if ( node.parentNode ) { - if ( keepData && jQuery.contains( node.ownerDocument, node ) ) { - setGlobalEval( getAll( node, "script" ) ); - } - node.parentNode.removeChild( node ); - } - } - - return elem; -} - -jQuery.extend( { - htmlPrefilter: function( html ) { - return html.replace( rxhtmlTag, "<$1>" ); - }, - - clone: function( elem, dataAndEvents, deepDataAndEvents ) { - var i, l, srcElements, destElements, - clone = elem.cloneNode( true ), - inPage = jQuery.contains( elem.ownerDocument, elem ); - - // Fix IE cloning issues - if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && - !jQuery.isXMLDoc( elem ) ) { - - // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 - destElements = getAll( clone ); - srcElements = getAll( elem ); - - for ( i = 0, l = srcElements.length; i < l; i++ ) { - fixInput( srcElements[ i ], destElements[ i ] ); - } - } - - // Copy the events from the original to the clone - if ( dataAndEvents ) { - if ( deepDataAndEvents ) { - srcElements = srcElements || getAll( elem ); - destElements = destElements || getAll( clone ); - - for ( i = 0, l = srcElements.length; i < l; i++ ) { - cloneCopyEvent( srcElements[ i ], destElements[ i ] ); - } - } else { - cloneCopyEvent( elem, clone ); - } - } - - // Preserve script evaluation history - destElements = getAll( clone, "script" ); - if ( destElements.length > 0 ) { - setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); - } - - // Return the cloned set - return clone; - }, - - cleanData: function( elems ) { - var data, elem, type, - special = jQuery.event.special, - i = 0; - - for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { - if ( acceptData( elem ) ) { - if ( ( data = elem[ dataPriv.expando ] ) ) { - if ( data.events ) { - for ( type in data.events ) { - if ( special[ type ] ) { - jQuery.event.remove( elem, type ); - - // This is a shortcut to avoid jQuery.event.remove's overhead - } else { - jQuery.removeEvent( elem, type, data.handle ); - } - } - } - - // Support: Chrome <=35 - 45+ - // Assign undefined instead of using delete, see Data#remove - elem[ dataPriv.expando ] = undefined; - } - if ( elem[ dataUser.expando ] ) { - - // Support: Chrome <=35 - 45+ - // Assign undefined instead of using delete, see Data#remove - elem[ dataUser.expando ] = undefined; - } - } - } - } -} ); - -jQuery.fn.extend( { - detach: function( selector ) { - return remove( this, selector, true ); - }, - - remove: function( selector ) { - return remove( this, selector ); - }, - - text: function( value ) { - return access( this, function( value ) { - return value === undefined ? - jQuery.text( this ) : - this.empty().each( function() { - if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { - this.textContent = value; - } - } ); - }, null, value, arguments.length ); - }, - - append: function() { - return domManip( this, arguments, function( elem ) { - if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { - var target = manipulationTarget( this, elem ); - target.appendChild( elem ); - } - } ); - }, - - prepend: function() { - return domManip( this, arguments, function( elem ) { - if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { - var target = manipulationTarget( this, elem ); - target.insertBefore( elem, target.firstChild ); - } - } ); - }, - - before: function() { - return domManip( this, arguments, function( elem ) { - if ( this.parentNode ) { - this.parentNode.insertBefore( elem, this ); - } - } ); - }, - - after: function() { - return domManip( this, arguments, function( elem ) { - if ( this.parentNode ) { - this.parentNode.insertBefore( elem, this.nextSibling ); - } - } ); - }, - - empty: function() { - var elem, - i = 0; - - for ( ; ( elem = this[ i ] ) != null; i++ ) { - if ( elem.nodeType === 1 ) { - - // Prevent memory leaks - jQuery.cleanData( getAll( elem, false ) ); - - // Remove any remaining nodes - elem.textContent = ""; - } - } - - return this; - }, - - clone: function( dataAndEvents, deepDataAndEvents ) { - dataAndEvents = dataAndEvents == null ? false : dataAndEvents; - deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; - - return this.map( function() { - return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); - } ); - }, - - html: function( value ) { - return access( this, function( value ) { - var elem = this[ 0 ] || {}, - i = 0, - l = this.length; - - if ( value === undefined && elem.nodeType === 1 ) { - return elem.innerHTML; - } - - // See if we can take a shortcut and just use innerHTML - if ( typeof value === "string" && !rnoInnerhtml.test( value ) && - !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { - - value = jQuery.htmlPrefilter( value ); - - try { - for ( ; i < l; i++ ) { - elem = this[ i ] || {}; - - // Remove element nodes and prevent memory leaks - if ( elem.nodeType === 1 ) { - jQuery.cleanData( getAll( elem, false ) ); - elem.innerHTML = value; - } - } - - elem = 0; - - // If using innerHTML throws an exception, use the fallback method - } catch ( e ) {} - } - - if ( elem ) { - this.empty().append( value ); - } - }, null, value, arguments.length ); - }, - - replaceWith: function() { - var ignored = []; - - // Make the changes, replacing each non-ignored context element with the new content - return domManip( this, arguments, function( elem ) { - var parent = this.parentNode; - - if ( jQuery.inArray( this, ignored ) < 0 ) { - jQuery.cleanData( getAll( this ) ); - if ( parent ) { - parent.replaceChild( elem, this ); - } - } - - // Force callback invocation - }, ignored ); - } -} ); - -jQuery.each( { - appendTo: "append", - prependTo: "prepend", - insertBefore: "before", - insertAfter: "after", - replaceAll: "replaceWith" -}, function( name, original ) { - jQuery.fn[ name ] = function( selector ) { - var elems, - ret = [], - insert = jQuery( selector ), - last = insert.length - 1, - i = 0; - - for ( ; i <= last; i++ ) { - elems = i === last ? this : this.clone( true ); - jQuery( insert[ i ] )[ original ]( elems ); - - // Support: Android <=4.0 only, PhantomJS 1 only - // .get() because push.apply(_, arraylike) throws on ancient WebKit - push.apply( ret, elems.get() ); - } - - return this.pushStack( ret ); - }; -} ); -var rmargin = ( /^margin/ ); - -var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); - -var getStyles = function( elem ) { - - // Support: IE <=11 only, Firefox <=30 (#15098, #14150) - // IE throws on elements created in popups - // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" - var view = elem.ownerDocument.defaultView; - - if ( !view || !view.opener ) { - view = window; - } - - return view.getComputedStyle( elem ); - }; - - - -( function() { - - // Executing both pixelPosition & boxSizingReliable tests require only one layout - // so they're executed at the same time to save the second computation. - function computeStyleTests() { - - // This is a singleton, we need to execute it only once - if ( !div ) { - return; - } - - div.style.cssText = - "box-sizing:border-box;" + - "position:relative;display:block;" + - "margin:auto;border:1px;padding:1px;" + - "top:1%;width:50%"; - div.innerHTML = ""; - documentElement.appendChild( container ); - - var divStyle = window.getComputedStyle( div ); - pixelPositionVal = divStyle.top !== "1%"; - - // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 - reliableMarginLeftVal = divStyle.marginLeft === "2px"; - boxSizingReliableVal = divStyle.width === "4px"; - - // Support: Android 4.0 - 4.3 only - // Some styles come back with percentage values, even though they shouldn't - div.style.marginRight = "50%"; - pixelMarginRightVal = divStyle.marginRight === "4px"; - - documentElement.removeChild( container ); - - // Nullify the div so it wouldn't be stored in the memory and - // it will also be a sign that checks already performed - div = null; - } - - var pixelPositionVal, boxSizingReliableVal, pixelMarginRightVal, reliableMarginLeftVal, - container = document.createElement( "div" ), - div = document.createElement( "div" ); - - // Finish early in limited (non-browser) environments - if ( !div.style ) { - return; - } - - // Support: IE <=9 - 11 only - // Style of cloned element affects source element cloned (#8908) - div.style.backgroundClip = "content-box"; - div.cloneNode( true ).style.backgroundClip = ""; - support.clearCloneStyle = div.style.backgroundClip === "content-box"; - - container.style.cssText = "border:0;width:8px;height:0;top:0;left:-9999px;" + - "padding:0;margin-top:1px;position:absolute"; - container.appendChild( div ); - - jQuery.extend( support, { - pixelPosition: function() { - computeStyleTests(); - return pixelPositionVal; - }, - boxSizingReliable: function() { - computeStyleTests(); - return boxSizingReliableVal; - }, - pixelMarginRight: function() { - computeStyleTests(); - return pixelMarginRightVal; - }, - reliableMarginLeft: function() { - computeStyleTests(); - return reliableMarginLeftVal; - } - } ); -} )(); - - -function curCSS( elem, name, computed ) { - var width, minWidth, maxWidth, ret, - - // Support: Firefox 51+ - // Retrieving style before computed somehow - // fixes an issue with getting wrong values - // on detached elements - style = elem.style; - - computed = computed || getStyles( elem ); - - // getPropertyValue is needed for: - // .css('filter') (IE 9 only, #12537) - // .css('--customProperty) (#3144) - if ( computed ) { - ret = computed.getPropertyValue( name ) || computed[ name ]; - - if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) { - ret = jQuery.style( elem, name ); - } - - // A tribute to the "awesome hack by Dean Edwards" - // Android Browser returns percentage for some values, - // but width seems to be reliably pixels. - // This is against the CSSOM draft spec: - // https://drafts.csswg.org/cssom/#resolved-values - if ( !support.pixelMarginRight() && rnumnonpx.test( ret ) && rmargin.test( name ) ) { - - // Remember the original values - width = style.width; - minWidth = style.minWidth; - maxWidth = style.maxWidth; - - // Put in the new values to get a computed value out - style.minWidth = style.maxWidth = style.width = ret; - ret = computed.width; - - // Revert the changed values - style.width = width; - style.minWidth = minWidth; - style.maxWidth = maxWidth; - } - } - - return ret !== undefined ? - - // Support: IE <=9 - 11 only - // IE returns zIndex value as an integer. - ret + "" : - ret; -} - - -function addGetHookIf( conditionFn, hookFn ) { - - // Define the hook, we'll check on the first run if it's really needed. - return { - get: function() { - if ( conditionFn() ) { - - // Hook not needed (or it's not possible to use it due - // to missing dependency), remove it. - delete this.get; - return; - } - - // Hook needed; redefine it so that the support test is not executed again. - return ( this.get = hookFn ).apply( this, arguments ); - } - }; -} - - -var - - // Swappable if display is none or starts with table - // except "table", "table-cell", or "table-caption" - // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display - rdisplayswap = /^(none|table(?!-c[ea]).+)/, - rcustomProp = /^--/, - cssShow = { position: "absolute", visibility: "hidden", display: "block" }, - cssNormalTransform = { - letterSpacing: "0", - fontWeight: "400" - }, - - cssPrefixes = [ "Webkit", "Moz", "ms" ], - emptyStyle = document.createElement( "div" ).style; - -// Return a css property mapped to a potentially vendor prefixed property -function vendorPropName( name ) { - - // Shortcut for names that are not vendor prefixed - if ( name in emptyStyle ) { - return name; - } - - // Check for vendor prefixed names - var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), - i = cssPrefixes.length; - - while ( i-- ) { - name = cssPrefixes[ i ] + capName; - if ( name in emptyStyle ) { - return name; - } - } -} - -// Return a property mapped along what jQuery.cssProps suggests or to -// a vendor prefixed property. -function finalPropName( name ) { - var ret = jQuery.cssProps[ name ]; - if ( !ret ) { - ret = jQuery.cssProps[ name ] = vendorPropName( name ) || name; - } - return ret; -} - -function setPositiveNumber( elem, value, subtract ) { - - // Any relative (+/-) values have already been - // normalized at this point - var matches = rcssNum.exec( value ); - return matches ? - - // Guard against undefined "subtract", e.g., when used as in cssHooks - Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : - value; -} - -function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) { - var i, - val = 0; - - // If we already have the right measurement, avoid augmentation - if ( extra === ( isBorderBox ? "border" : "content" ) ) { - i = 4; - - // Otherwise initialize for horizontal or vertical properties - } else { - i = name === "width" ? 1 : 0; - } - - for ( ; i < 4; i += 2 ) { - - // Both box models exclude margin, so add it if we want it - if ( extra === "margin" ) { - val += jQuery.css( elem, extra + cssExpand[ i ], true, styles ); - } - - if ( isBorderBox ) { - - // border-box includes padding, so remove it if we want content - if ( extra === "content" ) { - val -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); - } - - // At this point, extra isn't border nor margin, so remove border - if ( extra !== "margin" ) { - val -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); - } - } else { - - // At this point, extra isn't content, so add padding - val += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); - - // At this point, extra isn't content nor padding, so add border - if ( extra !== "padding" ) { - val += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); - } - } - } - - return val; -} - -function getWidthOrHeight( elem, name, extra ) { - - // Start with computed style - var valueIsBorderBox, - styles = getStyles( elem ), - val = curCSS( elem, name, styles ), - isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; - - // Computed unit is not pixels. Stop here and return. - if ( rnumnonpx.test( val ) ) { - return val; - } - - // Check for style in case a browser which returns unreliable values - // for getComputedStyle silently falls back to the reliable elem.style - valueIsBorderBox = isBorderBox && - ( support.boxSizingReliable() || val === elem.style[ name ] ); - - // Fall back to offsetWidth/Height when value is "auto" - // This happens for inline elements with no explicit setting (gh-3571) - if ( val === "auto" ) { - val = elem[ "offset" + name[ 0 ].toUpperCase() + name.slice( 1 ) ]; - } - - // Normalize "", auto, and prepare for extra - val = parseFloat( val ) || 0; - - // Use the active box-sizing model to add/subtract irrelevant styles - return ( val + - augmentWidthOrHeight( - elem, - name, - extra || ( isBorderBox ? "border" : "content" ), - valueIsBorderBox, - styles - ) - ) + "px"; -} - -jQuery.extend( { - - // Add in style property hooks for overriding the default - // behavior of getting and setting a style property - cssHooks: { - opacity: { - get: function( elem, computed ) { - if ( computed ) { - - // We should always get a number back from opacity - var ret = curCSS( elem, "opacity" ); - return ret === "" ? "1" : ret; - } - } - } - }, - - // Don't automatically add "px" to these possibly-unitless properties - cssNumber: { - "animationIterationCount": true, - "columnCount": true, - "fillOpacity": true, - "flexGrow": true, - "flexShrink": true, - "fontWeight": true, - "lineHeight": true, - "opacity": true, - "order": true, - "orphans": true, - "widows": true, - "zIndex": true, - "zoom": true - }, - - // Add in properties whose names you wish to fix before - // setting or getting the value - cssProps: { - "float": "cssFloat" - }, - - // Get and set the style property on a DOM Node - style: function( elem, name, value, extra ) { - - // Don't set styles on text and comment nodes - if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { - return; - } - - // Make sure that we're working with the right name - var ret, type, hooks, - origName = jQuery.camelCase( name ), - isCustomProp = rcustomProp.test( name ), - style = elem.style; - - // Make sure that we're working with the right name. We don't - // want to query the value if it is a CSS custom property - // since they are user-defined. - if ( !isCustomProp ) { - name = finalPropName( origName ); - } - - // Gets hook for the prefixed version, then unprefixed version - hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; - - // Check if we're setting a value - if ( value !== undefined ) { - type = typeof value; - - // Convert "+=" or "-=" to relative numbers (#7345) - if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { - value = adjustCSS( elem, name, ret ); - - // Fixes bug #9237 - type = "number"; - } - - // Make sure that null and NaN values aren't set (#7116) - if ( value == null || value !== value ) { - return; - } - - // If a number was passed in, add the unit (except for certain CSS properties) - if ( type === "number" ) { - value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); - } - - // background-* props affect original clone's values - if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { - style[ name ] = "inherit"; - } - - // If a hook was provided, use that value, otherwise just set the specified value - if ( !hooks || !( "set" in hooks ) || - ( value = hooks.set( elem, value, extra ) ) !== undefined ) { - - if ( isCustomProp ) { - style.setProperty( name, value ); - } else { - style[ name ] = value; - } - } - - } else { - - // If a hook was provided get the non-computed value from there - if ( hooks && "get" in hooks && - ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { - - return ret; - } - - // Otherwise just get the value from the style object - return style[ name ]; - } - }, - - css: function( elem, name, extra, styles ) { - var val, num, hooks, - origName = jQuery.camelCase( name ), - isCustomProp = rcustomProp.test( name ); - - // Make sure that we're working with the right name. We don't - // want to modify the value if it is a CSS custom property - // since they are user-defined. - if ( !isCustomProp ) { - name = finalPropName( origName ); - } - - // Try prefixed name followed by the unprefixed name - hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; - - // If a hook was provided get the computed value from there - if ( hooks && "get" in hooks ) { - val = hooks.get( elem, true, extra ); - } - - // Otherwise, if a way to get the computed value exists, use that - if ( val === undefined ) { - val = curCSS( elem, name, styles ); - } - - // Convert "normal" to computed value - if ( val === "normal" && name in cssNormalTransform ) { - val = cssNormalTransform[ name ]; - } - - // Make numeric if forced or a qualifier was provided and val looks numeric - if ( extra === "" || extra ) { - num = parseFloat( val ); - return extra === true || isFinite( num ) ? num || 0 : val; - } - - return val; - } -} ); - -jQuery.each( [ "height", "width" ], function( i, name ) { - jQuery.cssHooks[ name ] = { - get: function( elem, computed, extra ) { - if ( computed ) { - - // Certain elements can have dimension info if we invisibly show them - // but it must have a current display style that would benefit - return rdisplayswap.test( jQuery.css( elem, "display" ) ) && - - // Support: Safari 8+ - // Table columns in Safari have non-zero offsetWidth & zero - // getBoundingClientRect().width unless display is changed. - // Support: IE <=11 only - // Running getBoundingClientRect on a disconnected node - // in IE throws an error. - ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? - swap( elem, cssShow, function() { - return getWidthOrHeight( elem, name, extra ); - } ) : - getWidthOrHeight( elem, name, extra ); - } - }, - - set: function( elem, value, extra ) { - var matches, - styles = extra && getStyles( elem ), - subtract = extra && augmentWidthOrHeight( - elem, - name, - extra, - jQuery.css( elem, "boxSizing", false, styles ) === "border-box", - styles - ); - - // Convert to pixels if value adjustment is needed - if ( subtract && ( matches = rcssNum.exec( value ) ) && - ( matches[ 3 ] || "px" ) !== "px" ) { - - elem.style[ name ] = value; - value = jQuery.css( elem, name ); - } - - return setPositiveNumber( elem, value, subtract ); - } - }; -} ); - -jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, - function( elem, computed ) { - if ( computed ) { - return ( parseFloat( curCSS( elem, "marginLeft" ) ) || - elem.getBoundingClientRect().left - - swap( elem, { marginLeft: 0 }, function() { - return elem.getBoundingClientRect().left; - } ) - ) + "px"; - } - } -); - -// These hooks are used by animate to expand properties -jQuery.each( { - margin: "", - padding: "", - border: "Width" -}, function( prefix, suffix ) { - jQuery.cssHooks[ prefix + suffix ] = { - expand: function( value ) { - var i = 0, - expanded = {}, - - // Assumes a single number if not a string - parts = typeof value === "string" ? value.split( " " ) : [ value ]; - - for ( ; i < 4; i++ ) { - expanded[ prefix + cssExpand[ i ] + suffix ] = - parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; - } - - return expanded; - } - }; - - if ( !rmargin.test( prefix ) ) { - jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; - } -} ); - -jQuery.fn.extend( { - css: function( name, value ) { - return access( this, function( elem, name, value ) { - var styles, len, - map = {}, - i = 0; - - if ( Array.isArray( name ) ) { - styles = getStyles( elem ); - len = name.length; - - for ( ; i < len; i++ ) { - map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); - } - - return map; - } - - return value !== undefined ? - jQuery.style( elem, name, value ) : - jQuery.css( elem, name ); - }, name, value, arguments.length > 1 ); - } -} ); - - -function Tween( elem, options, prop, end, easing ) { - return new Tween.prototype.init( elem, options, prop, end, easing ); -} -jQuery.Tween = Tween; - -Tween.prototype = { - constructor: Tween, - init: function( elem, options, prop, end, easing, unit ) { - this.elem = elem; - this.prop = prop; - this.easing = easing || jQuery.easing._default; - this.options = options; - this.start = this.now = this.cur(); - this.end = end; - this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); - }, - cur: function() { - var hooks = Tween.propHooks[ this.prop ]; - - return hooks && hooks.get ? - hooks.get( this ) : - Tween.propHooks._default.get( this ); - }, - run: function( percent ) { - var eased, - hooks = Tween.propHooks[ this.prop ]; - - if ( this.options.duration ) { - this.pos = eased = jQuery.easing[ this.easing ]( - percent, this.options.duration * percent, 0, 1, this.options.duration - ); - } else { - this.pos = eased = percent; - } - this.now = ( this.end - this.start ) * eased + this.start; - - if ( this.options.step ) { - this.options.step.call( this.elem, this.now, this ); - } - - if ( hooks && hooks.set ) { - hooks.set( this ); - } else { - Tween.propHooks._default.set( this ); - } - return this; - } -}; - -Tween.prototype.init.prototype = Tween.prototype; - -Tween.propHooks = { - _default: { - get: function( tween ) { - var result; - - // Use a property on the element directly when it is not a DOM element, - // or when there is no matching style property that exists. - if ( tween.elem.nodeType !== 1 || - tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { - return tween.elem[ tween.prop ]; - } - - // Passing an empty string as a 3rd parameter to .css will automatically - // attempt a parseFloat and fallback to a string if the parse fails. - // Simple values such as "10px" are parsed to Float; - // complex values such as "rotate(1rad)" are returned as-is. - result = jQuery.css( tween.elem, tween.prop, "" ); - - // Empty strings, null, undefined and "auto" are converted to 0. - return !result || result === "auto" ? 0 : result; - }, - set: function( tween ) { - - // Use step hook for back compat. - // Use cssHook if its there. - // Use .style if available and use plain properties where available. - if ( jQuery.fx.step[ tween.prop ] ) { - jQuery.fx.step[ tween.prop ]( tween ); - } else if ( tween.elem.nodeType === 1 && - ( tween.elem.style[ jQuery.cssProps[ tween.prop ] ] != null || - jQuery.cssHooks[ tween.prop ] ) ) { - jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); - } else { - tween.elem[ tween.prop ] = tween.now; - } - } - } -}; - -// Support: IE <=9 only -// Panic based approach to setting things on disconnected nodes -Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { - set: function( tween ) { - if ( tween.elem.nodeType && tween.elem.parentNode ) { - tween.elem[ tween.prop ] = tween.now; - } - } -}; - -jQuery.easing = { - linear: function( p ) { - return p; - }, - swing: function( p ) { - return 0.5 - Math.cos( p * Math.PI ) / 2; - }, - _default: "swing" -}; - -jQuery.fx = Tween.prototype.init; - -// Back compat <1.8 extension point -jQuery.fx.step = {}; - - - - -var - fxNow, inProgress, - rfxtypes = /^(?:toggle|show|hide)$/, - rrun = /queueHooks$/; - -function schedule() { - if ( inProgress ) { - if ( document.hidden === false && window.requestAnimationFrame ) { - window.requestAnimationFrame( schedule ); - } else { - window.setTimeout( schedule, jQuery.fx.interval ); - } - - jQuery.fx.tick(); - } -} - -// Animations created synchronously will run synchronously -function createFxNow() { - window.setTimeout( function() { - fxNow = undefined; - } ); - return ( fxNow = jQuery.now() ); -} - -// Generate parameters to create a standard animation -function genFx( type, includeWidth ) { - var which, - i = 0, - attrs = { height: type }; - - // If we include width, step value is 1 to do all cssExpand values, - // otherwise step value is 2 to skip over Left and Right - includeWidth = includeWidth ? 1 : 0; - for ( ; i < 4; i += 2 - includeWidth ) { - which = cssExpand[ i ]; - attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; - } - - if ( includeWidth ) { - attrs.opacity = attrs.width = type; - } - - return attrs; -} - -function createTween( value, prop, animation ) { - var tween, - collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), - index = 0, - length = collection.length; - for ( ; index < length; index++ ) { - if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { - - // We're done with this property - return tween; - } - } -} - -function defaultPrefilter( elem, props, opts ) { - var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, - isBox = "width" in props || "height" in props, - anim = this, - orig = {}, - style = elem.style, - hidden = elem.nodeType && isHiddenWithinTree( elem ), - dataShow = dataPriv.get( elem, "fxshow" ); - - // Queue-skipping animations hijack the fx hooks - if ( !opts.queue ) { - hooks = jQuery._queueHooks( elem, "fx" ); - if ( hooks.unqueued == null ) { - hooks.unqueued = 0; - oldfire = hooks.empty.fire; - hooks.empty.fire = function() { - if ( !hooks.unqueued ) { - oldfire(); - } - }; - } - hooks.unqueued++; - - anim.always( function() { - - // Ensure the complete handler is called before this completes - anim.always( function() { - hooks.unqueued--; - if ( !jQuery.queue( elem, "fx" ).length ) { - hooks.empty.fire(); - } - } ); - } ); - } - - // Detect show/hide animations - for ( prop in props ) { - value = props[ prop ]; - if ( rfxtypes.test( value ) ) { - delete props[ prop ]; - toggle = toggle || value === "toggle"; - if ( value === ( hidden ? "hide" : "show" ) ) { - - // Pretend to be hidden if this is a "show" and - // there is still data from a stopped show/hide - if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { - hidden = true; - - // Ignore all other no-op show/hide data - } else { - continue; - } - } - orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); - } - } - - // Bail out if this is a no-op like .hide().hide() - propTween = !jQuery.isEmptyObject( props ); - if ( !propTween && jQuery.isEmptyObject( orig ) ) { - return; - } - - // Restrict "overflow" and "display" styles during box animations - if ( isBox && elem.nodeType === 1 ) { - - // Support: IE <=9 - 11, Edge 12 - 13 - // Record all 3 overflow attributes because IE does not infer the shorthand - // from identically-valued overflowX and overflowY - opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; - - // Identify a display type, preferring old show/hide data over the CSS cascade - restoreDisplay = dataShow && dataShow.display; - if ( restoreDisplay == null ) { - restoreDisplay = dataPriv.get( elem, "display" ); - } - display = jQuery.css( elem, "display" ); - if ( display === "none" ) { - if ( restoreDisplay ) { - display = restoreDisplay; - } else { - - // Get nonempty value(s) by temporarily forcing visibility - showHide( [ elem ], true ); - restoreDisplay = elem.style.display || restoreDisplay; - display = jQuery.css( elem, "display" ); - showHide( [ elem ] ); - } - } - - // Animate inline elements as inline-block - if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { - if ( jQuery.css( elem, "float" ) === "none" ) { - - // Restore the original display value at the end of pure show/hide animations - if ( !propTween ) { - anim.done( function() { - style.display = restoreDisplay; - } ); - if ( restoreDisplay == null ) { - display = style.display; - restoreDisplay = display === "none" ? "" : display; - } - } - style.display = "inline-block"; - } - } - } - - if ( opts.overflow ) { - style.overflow = "hidden"; - anim.always( function() { - style.overflow = opts.overflow[ 0 ]; - style.overflowX = opts.overflow[ 1 ]; - style.overflowY = opts.overflow[ 2 ]; - } ); - } - - // Implement show/hide animations - propTween = false; - for ( prop in orig ) { - - // General show/hide setup for this element animation - if ( !propTween ) { - if ( dataShow ) { - if ( "hidden" in dataShow ) { - hidden = dataShow.hidden; - } - } else { - dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); - } - - // Store hidden/visible for toggle so `.stop().toggle()` "reverses" - if ( toggle ) { - dataShow.hidden = !hidden; - } - - // Show elements before animating them - if ( hidden ) { - showHide( [ elem ], true ); - } - - /* eslint-disable no-loop-func */ - - anim.done( function() { - - /* eslint-enable no-loop-func */ - - // The final step of a "hide" animation is actually hiding the element - if ( !hidden ) { - showHide( [ elem ] ); - } - dataPriv.remove( elem, "fxshow" ); - for ( prop in orig ) { - jQuery.style( elem, prop, orig[ prop ] ); - } - } ); - } - - // Per-property setup - propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); - if ( !( prop in dataShow ) ) { - dataShow[ prop ] = propTween.start; - if ( hidden ) { - propTween.end = propTween.start; - propTween.start = 0; - } - } - } -} - -function propFilter( props, specialEasing ) { - var index, name, easing, value, hooks; - - // camelCase, specialEasing and expand cssHook pass - for ( index in props ) { - name = jQuery.camelCase( index ); - easing = specialEasing[ name ]; - value = props[ index ]; - if ( Array.isArray( value ) ) { - easing = value[ 1 ]; - value = props[ index ] = value[ 0 ]; - } - - if ( index !== name ) { - props[ name ] = value; - delete props[ index ]; - } - - hooks = jQuery.cssHooks[ name ]; - if ( hooks && "expand" in hooks ) { - value = hooks.expand( value ); - delete props[ name ]; - - // Not quite $.extend, this won't overwrite existing keys. - // Reusing 'index' because we have the correct "name" - for ( index in value ) { - if ( !( index in props ) ) { - props[ index ] = value[ index ]; - specialEasing[ index ] = easing; - } - } - } else { - specialEasing[ name ] = easing; - } - } -} - -function Animation( elem, properties, options ) { - var result, - stopped, - index = 0, - length = Animation.prefilters.length, - deferred = jQuery.Deferred().always( function() { - - // Don't match elem in the :animated selector - delete tick.elem; - } ), - tick = function() { - if ( stopped ) { - return false; - } - var currentTime = fxNow || createFxNow(), - remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), - - // Support: Android 2.3 only - // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) - temp = remaining / animation.duration || 0, - percent = 1 - temp, - index = 0, - length = animation.tweens.length; - - for ( ; index < length; index++ ) { - animation.tweens[ index ].run( percent ); - } - - deferred.notifyWith( elem, [ animation, percent, remaining ] ); - - // If there's more to do, yield - if ( percent < 1 && length ) { - return remaining; - } - - // If this was an empty animation, synthesize a final progress notification - if ( !length ) { - deferred.notifyWith( elem, [ animation, 1, 0 ] ); - } - - // Resolve the animation and report its conclusion - deferred.resolveWith( elem, [ animation ] ); - return false; - }, - animation = deferred.promise( { - elem: elem, - props: jQuery.extend( {}, properties ), - opts: jQuery.extend( true, { - specialEasing: {}, - easing: jQuery.easing._default - }, options ), - originalProperties: properties, - originalOptions: options, - startTime: fxNow || createFxNow(), - duration: options.duration, - tweens: [], - createTween: function( prop, end ) { - var tween = jQuery.Tween( elem, animation.opts, prop, end, - animation.opts.specialEasing[ prop ] || animation.opts.easing ); - animation.tweens.push( tween ); - return tween; - }, - stop: function( gotoEnd ) { - var index = 0, - - // If we are going to the end, we want to run all the tweens - // otherwise we skip this part - length = gotoEnd ? animation.tweens.length : 0; - if ( stopped ) { - return this; - } - stopped = true; - for ( ; index < length; index++ ) { - animation.tweens[ index ].run( 1 ); - } - - // Resolve when we played the last frame; otherwise, reject - if ( gotoEnd ) { - deferred.notifyWith( elem, [ animation, 1, 0 ] ); - deferred.resolveWith( elem, [ animation, gotoEnd ] ); - } else { - deferred.rejectWith( elem, [ animation, gotoEnd ] ); - } - return this; - } - } ), - props = animation.props; - - propFilter( props, animation.opts.specialEasing ); - - for ( ; index < length; index++ ) { - result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); - if ( result ) { - if ( jQuery.isFunction( result.stop ) ) { - jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = - jQuery.proxy( result.stop, result ); - } - return result; - } - } - - jQuery.map( props, createTween, animation ); - - if ( jQuery.isFunction( animation.opts.start ) ) { - animation.opts.start.call( elem, animation ); - } - - // Attach callbacks from options - animation - .progress( animation.opts.progress ) - .done( animation.opts.done, animation.opts.complete ) - .fail( animation.opts.fail ) - .always( animation.opts.always ); - - jQuery.fx.timer( - jQuery.extend( tick, { - elem: elem, - anim: animation, - queue: animation.opts.queue - } ) - ); - - return animation; -} - -jQuery.Animation = jQuery.extend( Animation, { - - tweeners: { - "*": [ function( prop, value ) { - var tween = this.createTween( prop, value ); - adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); - return tween; - } ] - }, - - tweener: function( props, callback ) { - if ( jQuery.isFunction( props ) ) { - callback = props; - props = [ "*" ]; - } else { - props = props.match( rnothtmlwhite ); - } - - var prop, - index = 0, - length = props.length; - - for ( ; index < length; index++ ) { - prop = props[ index ]; - Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; - Animation.tweeners[ prop ].unshift( callback ); - } - }, - - prefilters: [ defaultPrefilter ], - - prefilter: function( callback, prepend ) { - if ( prepend ) { - Animation.prefilters.unshift( callback ); - } else { - Animation.prefilters.push( callback ); - } - } -} ); - -jQuery.speed = function( speed, easing, fn ) { - var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { - complete: fn || !fn && easing || - jQuery.isFunction( speed ) && speed, - duration: speed, - easing: fn && easing || easing && !jQuery.isFunction( easing ) && easing - }; - - // Go to the end state if fx are off - if ( jQuery.fx.off ) { - opt.duration = 0; - - } else { - if ( typeof opt.duration !== "number" ) { - if ( opt.duration in jQuery.fx.speeds ) { - opt.duration = jQuery.fx.speeds[ opt.duration ]; - - } else { - opt.duration = jQuery.fx.speeds._default; - } - } - } - - // Normalize opt.queue - true/undefined/null -> "fx" - if ( opt.queue == null || opt.queue === true ) { - opt.queue = "fx"; - } - - // Queueing - opt.old = opt.complete; - - opt.complete = function() { - if ( jQuery.isFunction( opt.old ) ) { - opt.old.call( this ); - } - - if ( opt.queue ) { - jQuery.dequeue( this, opt.queue ); - } - }; - - return opt; -}; - -jQuery.fn.extend( { - fadeTo: function( speed, to, easing, callback ) { - - // Show any hidden elements after setting opacity to 0 - return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() - - // Animate to the value specified - .end().animate( { opacity: to }, speed, easing, callback ); - }, - animate: function( prop, speed, easing, callback ) { - var empty = jQuery.isEmptyObject( prop ), - optall = jQuery.speed( speed, easing, callback ), - doAnimation = function() { - - // Operate on a copy of prop so per-property easing won't be lost - var anim = Animation( this, jQuery.extend( {}, prop ), optall ); - - // Empty animations, or finishing resolves immediately - if ( empty || dataPriv.get( this, "finish" ) ) { - anim.stop( true ); - } - }; - doAnimation.finish = doAnimation; - - return empty || optall.queue === false ? - this.each( doAnimation ) : - this.queue( optall.queue, doAnimation ); - }, - stop: function( type, clearQueue, gotoEnd ) { - var stopQueue = function( hooks ) { - var stop = hooks.stop; - delete hooks.stop; - stop( gotoEnd ); - }; - - if ( typeof type !== "string" ) { - gotoEnd = clearQueue; - clearQueue = type; - type = undefined; - } - if ( clearQueue && type !== false ) { - this.queue( type || "fx", [] ); - } - - return this.each( function() { - var dequeue = true, - index = type != null && type + "queueHooks", - timers = jQuery.timers, - data = dataPriv.get( this ); - - if ( index ) { - if ( data[ index ] && data[ index ].stop ) { - stopQueue( data[ index ] ); - } - } else { - for ( index in data ) { - if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { - stopQueue( data[ index ] ); - } - } - } - - for ( index = timers.length; index--; ) { - if ( timers[ index ].elem === this && - ( type == null || timers[ index ].queue === type ) ) { - - timers[ index ].anim.stop( gotoEnd ); - dequeue = false; - timers.splice( index, 1 ); - } - } - - // Start the next in the queue if the last step wasn't forced. - // Timers currently will call their complete callbacks, which - // will dequeue but only if they were gotoEnd. - if ( dequeue || !gotoEnd ) { - jQuery.dequeue( this, type ); - } - } ); - }, - finish: function( type ) { - if ( type !== false ) { - type = type || "fx"; - } - return this.each( function() { - var index, - data = dataPriv.get( this ), - queue = data[ type + "queue" ], - hooks = data[ type + "queueHooks" ], - timers = jQuery.timers, - length = queue ? queue.length : 0; - - // Enable finishing flag on private data - data.finish = true; - - // Empty the queue first - jQuery.queue( this, type, [] ); - - if ( hooks && hooks.stop ) { - hooks.stop.call( this, true ); - } - - // Look for any active animations, and finish them - for ( index = timers.length; index--; ) { - if ( timers[ index ].elem === this && timers[ index ].queue === type ) { - timers[ index ].anim.stop( true ); - timers.splice( index, 1 ); - } - } - - // Look for any animations in the old queue and finish them - for ( index = 0; index < length; index++ ) { - if ( queue[ index ] && queue[ index ].finish ) { - queue[ index ].finish.call( this ); - } - } - - // Turn off finishing flag - delete data.finish; - } ); - } -} ); - -jQuery.each( [ "toggle", "show", "hide" ], function( i, name ) { - var cssFn = jQuery.fn[ name ]; - jQuery.fn[ name ] = function( speed, easing, callback ) { - return speed == null || typeof speed === "boolean" ? - cssFn.apply( this, arguments ) : - this.animate( genFx( name, true ), speed, easing, callback ); - }; -} ); - -// Generate shortcuts for custom animations -jQuery.each( { - slideDown: genFx( "show" ), - slideUp: genFx( "hide" ), - slideToggle: genFx( "toggle" ), - fadeIn: { opacity: "show" }, - fadeOut: { opacity: "hide" }, - fadeToggle: { opacity: "toggle" } -}, function( name, props ) { - jQuery.fn[ name ] = function( speed, easing, callback ) { - return this.animate( props, speed, easing, callback ); - }; -} ); - -jQuery.timers = []; -jQuery.fx.tick = function() { - var timer, - i = 0, - timers = jQuery.timers; - - fxNow = jQuery.now(); - - for ( ; i < timers.length; i++ ) { - timer = timers[ i ]; - - // Run the timer and safely remove it when done (allowing for external removal) - if ( !timer() && timers[ i ] === timer ) { - timers.splice( i--, 1 ); - } - } - - if ( !timers.length ) { - jQuery.fx.stop(); - } - fxNow = undefined; -}; - -jQuery.fx.timer = function( timer ) { - jQuery.timers.push( timer ); - jQuery.fx.start(); -}; - -jQuery.fx.interval = 13; -jQuery.fx.start = function() { - if ( inProgress ) { - return; - } - - inProgress = true; - schedule(); -}; - -jQuery.fx.stop = function() { - inProgress = null; -}; - -jQuery.fx.speeds = { - slow: 600, - fast: 200, - - // Default speed - _default: 400 -}; - - -// Based off of the plugin by Clint Helfers, with permission. -// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ -jQuery.fn.delay = function( time, type ) { - time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; - type = type || "fx"; - - return this.queue( type, function( next, hooks ) { - var timeout = window.setTimeout( next, time ); - hooks.stop = function() { - window.clearTimeout( timeout ); - }; - } ); -}; - - -( function() { - var input = document.createElement( "input" ), - select = document.createElement( "select" ), - opt = select.appendChild( document.createElement( "option" ) ); - - input.type = "checkbox"; - - // Support: Android <=4.3 only - // Default value for a checkbox should be "on" - support.checkOn = input.value !== ""; - - // Support: IE <=11 only - // Must access selectedIndex to make default options select - support.optSelected = opt.selected; - - // Support: IE <=11 only - // An input loses its value after becoming a radio - input = document.createElement( "input" ); - input.value = "t"; - input.type = "radio"; - support.radioValue = input.value === "t"; -} )(); - - -var boolHook, - attrHandle = jQuery.expr.attrHandle; - -jQuery.fn.extend( { - attr: function( name, value ) { - return access( this, jQuery.attr, name, value, arguments.length > 1 ); - }, - - removeAttr: function( name ) { - return this.each( function() { - jQuery.removeAttr( this, name ); - } ); - } -} ); - -jQuery.extend( { - attr: function( elem, name, value ) { - var ret, hooks, - nType = elem.nodeType; - - // Don't get/set attributes on text, comment and attribute nodes - if ( nType === 3 || nType === 8 || nType === 2 ) { - return; - } - - // Fallback to prop when attributes are not supported - if ( typeof elem.getAttribute === "undefined" ) { - return jQuery.prop( elem, name, value ); - } - - // Attribute hooks are determined by the lowercase version - // Grab necessary hook if one is defined - if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { - hooks = jQuery.attrHooks[ name.toLowerCase() ] || - ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); - } - - if ( value !== undefined ) { - if ( value === null ) { - jQuery.removeAttr( elem, name ); - return; - } - - if ( hooks && "set" in hooks && - ( ret = hooks.set( elem, value, name ) ) !== undefined ) { - return ret; - } - - elem.setAttribute( name, value + "" ); - return value; - } - - if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { - return ret; - } - - ret = jQuery.find.attr( elem, name ); - - // Non-existent attributes return null, we normalize to undefined - return ret == null ? undefined : ret; - }, - - attrHooks: { - type: { - set: function( elem, value ) { - if ( !support.radioValue && value === "radio" && - nodeName( elem, "input" ) ) { - var val = elem.value; - elem.setAttribute( "type", value ); - if ( val ) { - elem.value = val; - } - return value; - } - } - } - }, - - removeAttr: function( elem, value ) { - var name, - i = 0, - - // Attribute names can contain non-HTML whitespace characters - // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 - attrNames = value && value.match( rnothtmlwhite ); - - if ( attrNames && elem.nodeType === 1 ) { - while ( ( name = attrNames[ i++ ] ) ) { - elem.removeAttribute( name ); - } - } - } -} ); - -// Hooks for boolean attributes -boolHook = { - set: function( elem, value, name ) { - if ( value === false ) { - - // Remove boolean attributes when set to false - jQuery.removeAttr( elem, name ); - } else { - elem.setAttribute( name, name ); - } - return name; - } -}; - -jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) { - var getter = attrHandle[ name ] || jQuery.find.attr; - - attrHandle[ name ] = function( elem, name, isXML ) { - var ret, handle, - lowercaseName = name.toLowerCase(); - - if ( !isXML ) { - - // Avoid an infinite loop by temporarily removing this function from the getter - handle = attrHandle[ lowercaseName ]; - attrHandle[ lowercaseName ] = ret; - ret = getter( elem, name, isXML ) != null ? - lowercaseName : - null; - attrHandle[ lowercaseName ] = handle; - } - return ret; - }; -} ); - - - - -var rfocusable = /^(?:input|select|textarea|button)$/i, - rclickable = /^(?:a|area)$/i; - -jQuery.fn.extend( { - prop: function( name, value ) { - return access( this, jQuery.prop, name, value, arguments.length > 1 ); - }, - - removeProp: function( name ) { - return this.each( function() { - delete this[ jQuery.propFix[ name ] || name ]; - } ); - } -} ); - -jQuery.extend( { - prop: function( elem, name, value ) { - var ret, hooks, - nType = elem.nodeType; - - // Don't get/set properties on text, comment and attribute nodes - if ( nType === 3 || nType === 8 || nType === 2 ) { - return; - } - - if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { - - // Fix name and attach hooks - name = jQuery.propFix[ name ] || name; - hooks = jQuery.propHooks[ name ]; - } - - if ( value !== undefined ) { - if ( hooks && "set" in hooks && - ( ret = hooks.set( elem, value, name ) ) !== undefined ) { - return ret; - } - - return ( elem[ name ] = value ); - } - - if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { - return ret; - } - - return elem[ name ]; - }, - - propHooks: { - tabIndex: { - get: function( elem ) { - - // Support: IE <=9 - 11 only - // elem.tabIndex doesn't always return the - // correct value when it hasn't been explicitly set - // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ - // Use proper attribute retrieval(#12072) - var tabindex = jQuery.find.attr( elem, "tabindex" ); - - if ( tabindex ) { - return parseInt( tabindex, 10 ); - } - - if ( - rfocusable.test( elem.nodeName ) || - rclickable.test( elem.nodeName ) && - elem.href - ) { - return 0; - } - - return -1; - } - } - }, - - propFix: { - "for": "htmlFor", - "class": "className" - } -} ); - -// Support: IE <=11 only -// Accessing the selectedIndex property -// forces the browser to respect setting selected -// on the option -// The getter ensures a default option is selected -// when in an optgroup -// eslint rule "no-unused-expressions" is disabled for this code -// since it considers such accessions noop -if ( !support.optSelected ) { - jQuery.propHooks.selected = { - get: function( elem ) { - - /* eslint no-unused-expressions: "off" */ - - var parent = elem.parentNode; - if ( parent && parent.parentNode ) { - parent.parentNode.selectedIndex; - } - return null; - }, - set: function( elem ) { - - /* eslint no-unused-expressions: "off" */ - - var parent = elem.parentNode; - if ( parent ) { - parent.selectedIndex; - - if ( parent.parentNode ) { - parent.parentNode.selectedIndex; - } - } - } - }; -} - -jQuery.each( [ - "tabIndex", - "readOnly", - "maxLength", - "cellSpacing", - "cellPadding", - "rowSpan", - "colSpan", - "useMap", - "frameBorder", - "contentEditable" -], function() { - jQuery.propFix[ this.toLowerCase() ] = this; -} ); - - - - - // Strip and collapse whitespace according to HTML spec - // https://html.spec.whatwg.org/multipage/infrastructure.html#strip-and-collapse-whitespace - function stripAndCollapse( value ) { - var tokens = value.match( rnothtmlwhite ) || []; - return tokens.join( " " ); - } - - -function getClass( elem ) { - return elem.getAttribute && elem.getAttribute( "class" ) || ""; -} - -jQuery.fn.extend( { - addClass: function( value ) { - var classes, elem, cur, curValue, clazz, j, finalValue, - i = 0; - - if ( jQuery.isFunction( value ) ) { - return this.each( function( j ) { - jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); - } ); - } - - if ( typeof value === "string" && value ) { - classes = value.match( rnothtmlwhite ) || []; - - while ( ( elem = this[ i++ ] ) ) { - curValue = getClass( elem ); - cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); - - if ( cur ) { - j = 0; - while ( ( clazz = classes[ j++ ] ) ) { - if ( cur.indexOf( " " + clazz + " " ) < 0 ) { - cur += clazz + " "; - } - } - - // Only assign if different to avoid unneeded rendering. - finalValue = stripAndCollapse( cur ); - if ( curValue !== finalValue ) { - elem.setAttribute( "class", finalValue ); - } - } - } - } - - return this; - }, - - removeClass: function( value ) { - var classes, elem, cur, curValue, clazz, j, finalValue, - i = 0; - - if ( jQuery.isFunction( value ) ) { - return this.each( function( j ) { - jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); - } ); - } - - if ( !arguments.length ) { - return this.attr( "class", "" ); - } - - if ( typeof value === "string" && value ) { - classes = value.match( rnothtmlwhite ) || []; - - while ( ( elem = this[ i++ ] ) ) { - curValue = getClass( elem ); - - // This expression is here for better compressibility (see addClass) - cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); - - if ( cur ) { - j = 0; - while ( ( clazz = classes[ j++ ] ) ) { - - // Remove *all* instances - while ( cur.indexOf( " " + clazz + " " ) > -1 ) { - cur = cur.replace( " " + clazz + " ", " " ); - } - } - - // Only assign if different to avoid unneeded rendering. - finalValue = stripAndCollapse( cur ); - if ( curValue !== finalValue ) { - elem.setAttribute( "class", finalValue ); - } - } - } - } - - return this; - }, - - toggleClass: function( value, stateVal ) { - var type = typeof value; - - if ( typeof stateVal === "boolean" && type === "string" ) { - return stateVal ? this.addClass( value ) : this.removeClass( value ); - } - - if ( jQuery.isFunction( value ) ) { - return this.each( function( i ) { - jQuery( this ).toggleClass( - value.call( this, i, getClass( this ), stateVal ), - stateVal - ); - } ); - } - - return this.each( function() { - var className, i, self, classNames; - - if ( type === "string" ) { - - // Toggle individual class names - i = 0; - self = jQuery( this ); - classNames = value.match( rnothtmlwhite ) || []; - - while ( ( className = classNames[ i++ ] ) ) { - - // Check each className given, space separated list - if ( self.hasClass( className ) ) { - self.removeClass( className ); - } else { - self.addClass( className ); - } - } - - // Toggle whole class name - } else if ( value === undefined || type === "boolean" ) { - className = getClass( this ); - if ( className ) { - - // Store className if set - dataPriv.set( this, "__className__", className ); - } - - // If the element has a class name or if we're passed `false`, - // then remove the whole classname (if there was one, the above saved it). - // Otherwise bring back whatever was previously saved (if anything), - // falling back to the empty string if nothing was stored. - if ( this.setAttribute ) { - this.setAttribute( "class", - className || value === false ? - "" : - dataPriv.get( this, "__className__" ) || "" - ); - } - } - } ); - }, - - hasClass: function( selector ) { - var className, elem, - i = 0; - - className = " " + selector + " "; - while ( ( elem = this[ i++ ] ) ) { - if ( elem.nodeType === 1 && - ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { - return true; - } - } - - return false; - } -} ); - - - - -var rreturn = /\r/g; - -jQuery.fn.extend( { - val: function( value ) { - var hooks, ret, isFunction, - elem = this[ 0 ]; - - if ( !arguments.length ) { - if ( elem ) { - hooks = jQuery.valHooks[ elem.type ] || - jQuery.valHooks[ elem.nodeName.toLowerCase() ]; - - if ( hooks && - "get" in hooks && - ( ret = hooks.get( elem, "value" ) ) !== undefined - ) { - return ret; - } - - ret = elem.value; - - // Handle most common string cases - if ( typeof ret === "string" ) { - return ret.replace( rreturn, "" ); - } - - // Handle cases where value is null/undef or number - return ret == null ? "" : ret; - } - - return; - } - - isFunction = jQuery.isFunction( value ); - - return this.each( function( i ) { - var val; - - if ( this.nodeType !== 1 ) { - return; - } - - if ( isFunction ) { - val = value.call( this, i, jQuery( this ).val() ); - } else { - val = value; - } - - // Treat null/undefined as ""; convert numbers to string - if ( val == null ) { - val = ""; - - } else if ( typeof val === "number" ) { - val += ""; - - } else if ( Array.isArray( val ) ) { - val = jQuery.map( val, function( value ) { - return value == null ? "" : value + ""; - } ); - } - - hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; - - // If set returns undefined, fall back to normal setting - if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { - this.value = val; - } - } ); - } -} ); - -jQuery.extend( { - valHooks: { - option: { - get: function( elem ) { - - var val = jQuery.find.attr( elem, "value" ); - return val != null ? - val : - - // Support: IE <=10 - 11 only - // option.text throws exceptions (#14686, #14858) - // Strip and collapse whitespace - // https://html.spec.whatwg.org/#strip-and-collapse-whitespace - stripAndCollapse( jQuery.text( elem ) ); - } - }, - select: { - get: function( elem ) { - var value, option, i, - options = elem.options, - index = elem.selectedIndex, - one = elem.type === "select-one", - values = one ? null : [], - max = one ? index + 1 : options.length; - - if ( index < 0 ) { - i = max; - - } else { - i = one ? index : 0; - } - - // Loop through all the selected options - for ( ; i < max; i++ ) { - option = options[ i ]; - - // Support: IE <=9 only - // IE8-9 doesn't update selected after form reset (#2551) - if ( ( option.selected || i === index ) && - - // Don't return options that are disabled or in a disabled optgroup - !option.disabled && - ( !option.parentNode.disabled || - !nodeName( option.parentNode, "optgroup" ) ) ) { - - // Get the specific value for the option - value = jQuery( option ).val(); - - // We don't need an array for one selects - if ( one ) { - return value; - } - - // Multi-Selects return an array - values.push( value ); - } - } - - return values; - }, - - set: function( elem, value ) { - var optionSet, option, - options = elem.options, - values = jQuery.makeArray( value ), - i = options.length; - - while ( i-- ) { - option = options[ i ]; - - /* eslint-disable no-cond-assign */ - - if ( option.selected = - jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 - ) { - optionSet = true; - } - - /* eslint-enable no-cond-assign */ - } - - // Force browsers to behave consistently when non-matching value is set - if ( !optionSet ) { - elem.selectedIndex = -1; - } - return values; - } - } - } -} ); - -// Radios and checkboxes getter/setter -jQuery.each( [ "radio", "checkbox" ], function() { - jQuery.valHooks[ this ] = { - set: function( elem, value ) { - if ( Array.isArray( value ) ) { - return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); - } - } - }; - if ( !support.checkOn ) { - jQuery.valHooks[ this ].get = function( elem ) { - return elem.getAttribute( "value" ) === null ? "on" : elem.value; - }; - } -} ); - - - - -// Return jQuery for attributes-only inclusion - - -var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/; - -jQuery.extend( jQuery.event, { - - trigger: function( event, data, elem, onlyHandlers ) { - - var i, cur, tmp, bubbleType, ontype, handle, special, - eventPath = [ elem || document ], - type = hasOwn.call( event, "type" ) ? event.type : event, - namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; - - cur = tmp = elem = elem || document; - - // Don't do events on text and comment nodes - if ( elem.nodeType === 3 || elem.nodeType === 8 ) { - return; - } - - // focus/blur morphs to focusin/out; ensure we're not firing them right now - if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { - return; - } - - if ( type.indexOf( "." ) > -1 ) { - - // Namespaced trigger; create a regexp to match event type in handle() - namespaces = type.split( "." ); - type = namespaces.shift(); - namespaces.sort(); - } - ontype = type.indexOf( ":" ) < 0 && "on" + type; - - // Caller can pass in a jQuery.Event object, Object, or just an event type string - event = event[ jQuery.expando ] ? - event : - new jQuery.Event( type, typeof event === "object" && event ); - - // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) - event.isTrigger = onlyHandlers ? 2 : 3; - event.namespace = namespaces.join( "." ); - event.rnamespace = event.namespace ? - new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : - null; - - // Clean up the event in case it is being reused - event.result = undefined; - if ( !event.target ) { - event.target = elem; - } - - // Clone any incoming data and prepend the event, creating the handler arg list - data = data == null ? - [ event ] : - jQuery.makeArray( data, [ event ] ); - - // Allow special events to draw outside the lines - special = jQuery.event.special[ type ] || {}; - if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { - return; - } - - // Determine event propagation path in advance, per W3C events spec (#9951) - // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) - if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { - - bubbleType = special.delegateType || type; - if ( !rfocusMorph.test( bubbleType + type ) ) { - cur = cur.parentNode; - } - for ( ; cur; cur = cur.parentNode ) { - eventPath.push( cur ); - tmp = cur; - } - - // Only add window if we got to document (e.g., not plain obj or detached DOM) - if ( tmp === ( elem.ownerDocument || document ) ) { - eventPath.push( tmp.defaultView || tmp.parentWindow || window ); - } - } - - // Fire handlers on the event path - i = 0; - while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { - - event.type = i > 1 ? - bubbleType : - special.bindType || type; - - // jQuery handler - handle = ( dataPriv.get( cur, "events" ) || {} )[ event.type ] && - dataPriv.get( cur, "handle" ); - if ( handle ) { - handle.apply( cur, data ); - } - - // Native handler - handle = ontype && cur[ ontype ]; - if ( handle && handle.apply && acceptData( cur ) ) { - event.result = handle.apply( cur, data ); - if ( event.result === false ) { - event.preventDefault(); - } - } - } - event.type = type; - - // If nobody prevented the default action, do it now - if ( !onlyHandlers && !event.isDefaultPrevented() ) { - - if ( ( !special._default || - special._default.apply( eventPath.pop(), data ) === false ) && - acceptData( elem ) ) { - - // Call a native DOM method on the target with the same name as the event. - // Don't do default actions on window, that's where global variables be (#6170) - if ( ontype && jQuery.isFunction( elem[ type ] ) && !jQuery.isWindow( elem ) ) { - - // Don't re-trigger an onFOO event when we call its FOO() method - tmp = elem[ ontype ]; - - if ( tmp ) { - elem[ ontype ] = null; - } - - // Prevent re-triggering of the same event, since we already bubbled it above - jQuery.event.triggered = type; - elem[ type ](); - jQuery.event.triggered = undefined; - - if ( tmp ) { - elem[ ontype ] = tmp; - } - } - } - } - - return event.result; - }, - - // Piggyback on a donor event to simulate a different one - // Used only for `focus(in | out)` events - simulate: function( type, elem, event ) { - var e = jQuery.extend( - new jQuery.Event(), - event, - { - type: type, - isSimulated: true - } - ); - - jQuery.event.trigger( e, null, elem ); - } - -} ); - -jQuery.fn.extend( { - - trigger: function( type, data ) { - return this.each( function() { - jQuery.event.trigger( type, data, this ); - } ); - }, - triggerHandler: function( type, data ) { - var elem = this[ 0 ]; - if ( elem ) { - return jQuery.event.trigger( type, data, elem, true ); - } - } -} ); - - -jQuery.each( ( "blur focus focusin focusout resize scroll click dblclick " + - "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + - "change select submit keydown keypress keyup contextmenu" ).split( " " ), - function( i, name ) { - - // Handle event binding - jQuery.fn[ name ] = function( data, fn ) { - return arguments.length > 0 ? - this.on( name, null, data, fn ) : - this.trigger( name ); - }; -} ); - -jQuery.fn.extend( { - hover: function( fnOver, fnOut ) { - return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver ); - } -} ); - - - - -support.focusin = "onfocusin" in window; - - -// Support: Firefox <=44 -// Firefox doesn't have focus(in | out) events -// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 -// -// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 -// focus(in | out) events fire after focus & blur events, -// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order -// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 -if ( !support.focusin ) { - jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { - - // Attach a single capturing handler on the document while someone wants focusin/focusout - var handler = function( event ) { - jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); - }; - - jQuery.event.special[ fix ] = { - setup: function() { - var doc = this.ownerDocument || this, - attaches = dataPriv.access( doc, fix ); - - if ( !attaches ) { - doc.addEventListener( orig, handler, true ); - } - dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); - }, - teardown: function() { - var doc = this.ownerDocument || this, - attaches = dataPriv.access( doc, fix ) - 1; - - if ( !attaches ) { - doc.removeEventListener( orig, handler, true ); - dataPriv.remove( doc, fix ); - - } else { - dataPriv.access( doc, fix, attaches ); - } - } - }; - } ); -} -var location = window.location; - -var nonce = jQuery.now(); - -var rquery = ( /\?/ ); - - - -// Cross-browser xml parsing -jQuery.parseXML = function( data ) { - var xml; - if ( !data || typeof data !== "string" ) { - return null; - } - - // Support: IE 9 - 11 only - // IE throws on parseFromString with invalid input. - try { - xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); - } catch ( e ) { - xml = undefined; - } - - if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { - jQuery.error( "Invalid XML: " + data ); - } - return xml; -}; - - -var - rbracket = /\[\]$/, - rCRLF = /\r?\n/g, - rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, - rsubmittable = /^(?:input|select|textarea|keygen)/i; - -function buildParams( prefix, obj, traditional, add ) { - var name; - - if ( Array.isArray( obj ) ) { - - // Serialize array item. - jQuery.each( obj, function( i, v ) { - if ( traditional || rbracket.test( prefix ) ) { - - // Treat each array item as a scalar. - add( prefix, v ); - - } else { - - // Item is non-scalar (array or object), encode its numeric index. - buildParams( - prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", - v, - traditional, - add - ); - } - } ); - - } else if ( !traditional && jQuery.type( obj ) === "object" ) { - - // Serialize object item. - for ( name in obj ) { - buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); - } - - } else { - - // Serialize scalar item. - add( prefix, obj ); - } -} - -// Serialize an array of form elements or a set of -// key/values into a query string -jQuery.param = function( a, traditional ) { - var prefix, - s = [], - add = function( key, valueOrFunction ) { - - // If value is a function, invoke it and use its return value - var value = jQuery.isFunction( valueOrFunction ) ? - valueOrFunction() : - valueOrFunction; - - s[ s.length ] = encodeURIComponent( key ) + "=" + - encodeURIComponent( value == null ? "" : value ); - }; - - // If an array was passed in, assume that it is an array of form elements. - if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { - - // Serialize the form elements - jQuery.each( a, function() { - add( this.name, this.value ); - } ); - - } else { - - // If traditional, encode the "old" way (the way 1.3.2 or older - // did it), otherwise encode params recursively. - for ( prefix in a ) { - buildParams( prefix, a[ prefix ], traditional, add ); - } - } - - // Return the resulting serialization - return s.join( "&" ); -}; - -jQuery.fn.extend( { - serialize: function() { - return jQuery.param( this.serializeArray() ); - }, - serializeArray: function() { - return this.map( function() { - - // Can add propHook for "elements" to filter or add form elements - var elements = jQuery.prop( this, "elements" ); - return elements ? jQuery.makeArray( elements ) : this; - } ) - .filter( function() { - var type = this.type; - - // Use .is( ":disabled" ) so that fieldset[disabled] works - return this.name && !jQuery( this ).is( ":disabled" ) && - rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && - ( this.checked || !rcheckableType.test( type ) ); - } ) - .map( function( i, elem ) { - var val = jQuery( this ).val(); - - if ( val == null ) { - return null; - } - - if ( Array.isArray( val ) ) { - return jQuery.map( val, function( val ) { - return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; - } ); - } - - return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; - } ).get(); - } -} ); - - -var - r20 = /%20/g, - rhash = /#.*$/, - rantiCache = /([?&])_=[^&]*/, - rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, - - // #7653, #8125, #8152: local protocol detection - rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, - rnoContent = /^(?:GET|HEAD)$/, - rprotocol = /^\/\//, - - /* Prefilters - * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) - * 2) These are called: - * - BEFORE asking for a transport - * - AFTER param serialization (s.data is a string if s.processData is true) - * 3) key is the dataType - * 4) the catchall symbol "*" can be used - * 5) execution will start with transport dataType and THEN continue down to "*" if needed - */ - prefilters = {}, - - /* Transports bindings - * 1) key is the dataType - * 2) the catchall symbol "*" can be used - * 3) selection will start with transport dataType and THEN go to "*" if needed - */ - transports = {}, - - // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression - allTypes = "*/".concat( "*" ), - - // Anchor tag for parsing the document origin - originAnchor = document.createElement( "a" ); - originAnchor.href = location.href; - -// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport -function addToPrefiltersOrTransports( structure ) { - - // dataTypeExpression is optional and defaults to "*" - return function( dataTypeExpression, func ) { - - if ( typeof dataTypeExpression !== "string" ) { - func = dataTypeExpression; - dataTypeExpression = "*"; - } - - var dataType, - i = 0, - dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; - - if ( jQuery.isFunction( func ) ) { - - // For each dataType in the dataTypeExpression - while ( ( dataType = dataTypes[ i++ ] ) ) { - - // Prepend if requested - if ( dataType[ 0 ] === "+" ) { - dataType = dataType.slice( 1 ) || "*"; - ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); - - // Otherwise append - } else { - ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); - } - } - } - }; -} - -// Base inspection function for prefilters and transports -function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { - - var inspected = {}, - seekingTransport = ( structure === transports ); - - function inspect( dataType ) { - var selected; - inspected[ dataType ] = true; - jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { - var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); - if ( typeof dataTypeOrTransport === "string" && - !seekingTransport && !inspected[ dataTypeOrTransport ] ) { - - options.dataTypes.unshift( dataTypeOrTransport ); - inspect( dataTypeOrTransport ); - return false; - } else if ( seekingTransport ) { - return !( selected = dataTypeOrTransport ); - } - } ); - return selected; - } - - return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); -} - -// A special extend for ajax options -// that takes "flat" options (not to be deep extended) -// Fixes #9887 -function ajaxExtend( target, src ) { - var key, deep, - flatOptions = jQuery.ajaxSettings.flatOptions || {}; - - for ( key in src ) { - if ( src[ key ] !== undefined ) { - ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; - } - } - if ( deep ) { - jQuery.extend( true, target, deep ); - } - - return target; -} - -/* Handles responses to an ajax request: - * - finds the right dataType (mediates between content-type and expected dataType) - * - returns the corresponding response - */ -function ajaxHandleResponses( s, jqXHR, responses ) { - - var ct, type, finalDataType, firstDataType, - contents = s.contents, - dataTypes = s.dataTypes; - - // Remove auto dataType and get content-type in the process - while ( dataTypes[ 0 ] === "*" ) { - dataTypes.shift(); - if ( ct === undefined ) { - ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); - } - } - - // Check if we're dealing with a known content-type - if ( ct ) { - for ( type in contents ) { - if ( contents[ type ] && contents[ type ].test( ct ) ) { - dataTypes.unshift( type ); - break; - } - } - } - - // Check to see if we have a response for the expected dataType - if ( dataTypes[ 0 ] in responses ) { - finalDataType = dataTypes[ 0 ]; - } else { - - // Try convertible dataTypes - for ( type in responses ) { - if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { - finalDataType = type; - break; - } - if ( !firstDataType ) { - firstDataType = type; - } - } - - // Or just use first one - finalDataType = finalDataType || firstDataType; - } - - // If we found a dataType - // We add the dataType to the list if needed - // and return the corresponding response - if ( finalDataType ) { - if ( finalDataType !== dataTypes[ 0 ] ) { - dataTypes.unshift( finalDataType ); - } - return responses[ finalDataType ]; - } -} - -/* Chain conversions given the request and the original response - * Also sets the responseXXX fields on the jqXHR instance - */ -function ajaxConvert( s, response, jqXHR, isSuccess ) { - var conv2, current, conv, tmp, prev, - converters = {}, - - // Work with a copy of dataTypes in case we need to modify it for conversion - dataTypes = s.dataTypes.slice(); - - // Create converters map with lowercased keys - if ( dataTypes[ 1 ] ) { - for ( conv in s.converters ) { - converters[ conv.toLowerCase() ] = s.converters[ conv ]; - } - } - - current = dataTypes.shift(); - - // Convert to each sequential dataType - while ( current ) { - - if ( s.responseFields[ current ] ) { - jqXHR[ s.responseFields[ current ] ] = response; - } - - // Apply the dataFilter if provided - if ( !prev && isSuccess && s.dataFilter ) { - response = s.dataFilter( response, s.dataType ); - } - - prev = current; - current = dataTypes.shift(); - - if ( current ) { - - // There's only work to do if current dataType is non-auto - if ( current === "*" ) { - - current = prev; - - // Convert response if prev dataType is non-auto and differs from current - } else if ( prev !== "*" && prev !== current ) { - - // Seek a direct converter - conv = converters[ prev + " " + current ] || converters[ "* " + current ]; - - // If none found, seek a pair - if ( !conv ) { - for ( conv2 in converters ) { - - // If conv2 outputs current - tmp = conv2.split( " " ); - if ( tmp[ 1 ] === current ) { - - // If prev can be converted to accepted input - conv = converters[ prev + " " + tmp[ 0 ] ] || - converters[ "* " + tmp[ 0 ] ]; - if ( conv ) { - - // Condense equivalence converters - if ( conv === true ) { - conv = converters[ conv2 ]; - - // Otherwise, insert the intermediate dataType - } else if ( converters[ conv2 ] !== true ) { - current = tmp[ 0 ]; - dataTypes.unshift( tmp[ 1 ] ); - } - break; - } - } - } - } - - // Apply converter (if not an equivalence) - if ( conv !== true ) { - - // Unless errors are allowed to bubble, catch and return them - if ( conv && s.throws ) { - response = conv( response ); - } else { - try { - response = conv( response ); - } catch ( e ) { - return { - state: "parsererror", - error: conv ? e : "No conversion from " + prev + " to " + current - }; - } - } - } - } - } - } - - return { state: "success", data: response }; -} - -jQuery.extend( { - - // Counter for holding the number of active queries - active: 0, - - // Last-Modified header cache for next request - lastModified: {}, - etag: {}, - - ajaxSettings: { - url: location.href, - type: "GET", - isLocal: rlocalProtocol.test( location.protocol ), - global: true, - processData: true, - async: true, - contentType: "application/x-www-form-urlencoded; charset=UTF-8", - - /* - timeout: 0, - data: null, - dataType: null, - username: null, - password: null, - cache: null, - throws: false, - traditional: false, - headers: {}, - */ - - accepts: { - "*": allTypes, - text: "text/plain", - html: "text/html", - xml: "application/xml, text/xml", - json: "application/json, text/javascript" - }, - - contents: { - xml: /\bxml\b/, - html: /\bhtml/, - json: /\bjson\b/ - }, - - responseFields: { - xml: "responseXML", - text: "responseText", - json: "responseJSON" - }, - - // Data converters - // Keys separate source (or catchall "*") and destination types with a single space - converters: { - - // Convert anything to text - "* text": String, - - // Text to html (true = no transformation) - "text html": true, - - // Evaluate text as a json expression - "text json": JSON.parse, - - // Parse text as xml - "text xml": jQuery.parseXML - }, - - // For options that shouldn't be deep extended: - // you can add your own custom options here if - // and when you create one that shouldn't be - // deep extended (see ajaxExtend) - flatOptions: { - url: true, - context: true - } - }, - - // Creates a full fledged settings object into target - // with both ajaxSettings and settings fields. - // If target is omitted, writes into ajaxSettings. - ajaxSetup: function( target, settings ) { - return settings ? - - // Building a settings object - ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : - - // Extending ajaxSettings - ajaxExtend( jQuery.ajaxSettings, target ); - }, - - ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), - ajaxTransport: addToPrefiltersOrTransports( transports ), - - // Main method - ajax: function( url, options ) { - - // If url is an object, simulate pre-1.5 signature - if ( typeof url === "object" ) { - options = url; - url = undefined; - } - - // Force options to be an object - options = options || {}; - - var transport, - - // URL without anti-cache param - cacheURL, - - // Response headers - responseHeadersString, - responseHeaders, - - // timeout handle - timeoutTimer, - - // Url cleanup var - urlAnchor, - - // Request state (becomes false upon send and true upon completion) - completed, - - // To know if global events are to be dispatched - fireGlobals, - - // Loop variable - i, - - // uncached part of the url - uncached, - - // Create the final options object - s = jQuery.ajaxSetup( {}, options ), - - // Callbacks context - callbackContext = s.context || s, - - // Context for global events is callbackContext if it is a DOM node or jQuery collection - globalEventContext = s.context && - ( callbackContext.nodeType || callbackContext.jquery ) ? - jQuery( callbackContext ) : - jQuery.event, - - // Deferreds - deferred = jQuery.Deferred(), - completeDeferred = jQuery.Callbacks( "once memory" ), - - // Status-dependent callbacks - statusCode = s.statusCode || {}, - - // Headers (they are sent all at once) - requestHeaders = {}, - requestHeadersNames = {}, - - // Default abort message - strAbort = "canceled", - - // Fake xhr - jqXHR = { - readyState: 0, - - // Builds headers hashtable if needed - getResponseHeader: function( key ) { - var match; - if ( completed ) { - if ( !responseHeaders ) { - responseHeaders = {}; - while ( ( match = rheaders.exec( responseHeadersString ) ) ) { - responseHeaders[ match[ 1 ].toLowerCase() ] = match[ 2 ]; - } - } - match = responseHeaders[ key.toLowerCase() ]; - } - return match == null ? null : match; - }, - - // Raw string - getAllResponseHeaders: function() { - return completed ? responseHeadersString : null; - }, - - // Caches the header - setRequestHeader: function( name, value ) { - if ( completed == null ) { - name = requestHeadersNames[ name.toLowerCase() ] = - requestHeadersNames[ name.toLowerCase() ] || name; - requestHeaders[ name ] = value; - } - return this; - }, - - // Overrides response content-type header - overrideMimeType: function( type ) { - if ( completed == null ) { - s.mimeType = type; - } - return this; - }, - - // Status-dependent callbacks - statusCode: function( map ) { - var code; - if ( map ) { - if ( completed ) { - - // Execute the appropriate callbacks - jqXHR.always( map[ jqXHR.status ] ); - } else { - - // Lazy-add the new callbacks in a way that preserves old ones - for ( code in map ) { - statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; - } - } - } - return this; - }, - - // Cancel the request - abort: function( statusText ) { - var finalText = statusText || strAbort; - if ( transport ) { - transport.abort( finalText ); - } - done( 0, finalText ); - return this; - } - }; - - // Attach deferreds - deferred.promise( jqXHR ); - - // Add protocol if not provided (prefilters might expect it) - // Handle falsy url in the settings object (#10093: consistency with old signature) - // We also use the url parameter if available - s.url = ( ( url || s.url || location.href ) + "" ) - .replace( rprotocol, location.protocol + "//" ); - - // Alias method option to type as per ticket #12004 - s.type = options.method || options.type || s.method || s.type; - - // Extract dataTypes list - s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; - - // A cross-domain request is in order when the origin doesn't match the current origin. - if ( s.crossDomain == null ) { - urlAnchor = document.createElement( "a" ); - - // Support: IE <=8 - 11, Edge 12 - 13 - // IE throws exception on accessing the href property if url is malformed, - // e.g. http://example.com:80x/ - try { - urlAnchor.href = s.url; - - // Support: IE <=8 - 11 only - // Anchor's host property isn't correctly set when s.url is relative - urlAnchor.href = urlAnchor.href; - s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== - urlAnchor.protocol + "//" + urlAnchor.host; - } catch ( e ) { - - // If there is an error parsing the URL, assume it is crossDomain, - // it can be rejected by the transport if it is invalid - s.crossDomain = true; - } - } - - // Convert data if not already a string - if ( s.data && s.processData && typeof s.data !== "string" ) { - s.data = jQuery.param( s.data, s.traditional ); - } - - // Apply prefilters - inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); - - // If request was aborted inside a prefilter, stop there - if ( completed ) { - return jqXHR; - } - - // We can fire global events as of now if asked to - // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) - fireGlobals = jQuery.event && s.global; - - // Watch for a new set of requests - if ( fireGlobals && jQuery.active++ === 0 ) { - jQuery.event.trigger( "ajaxStart" ); - } - - // Uppercase the type - s.type = s.type.toUpperCase(); - - // Determine if request has content - s.hasContent = !rnoContent.test( s.type ); - - // Save the URL in case we're toying with the If-Modified-Since - // and/or If-None-Match header later on - // Remove hash to simplify url manipulation - cacheURL = s.url.replace( rhash, "" ); - - // More options handling for requests with no content - if ( !s.hasContent ) { - - // Remember the hash so we can put it back - uncached = s.url.slice( cacheURL.length ); - - // If data is available, append data to url - if ( s.data ) { - cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; - - // #9682: remove data so that it's not used in an eventual retry - delete s.data; - } - - // Add or update anti-cache param if needed - if ( s.cache === false ) { - cacheURL = cacheURL.replace( rantiCache, "$1" ); - uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce++ ) + uncached; - } - - // Put hash and anti-cache on the URL that will be requested (gh-1732) - s.url = cacheURL + uncached; - - // Change '%20' to '+' if this is encoded form body content (gh-2658) - } else if ( s.data && s.processData && - ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { - s.data = s.data.replace( r20, "+" ); - } - - // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. - if ( s.ifModified ) { - if ( jQuery.lastModified[ cacheURL ] ) { - jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); - } - if ( jQuery.etag[ cacheURL ] ) { - jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); - } - } - - // Set the correct header, if data is being sent - if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { - jqXHR.setRequestHeader( "Content-Type", s.contentType ); - } - - // Set the Accepts header for the server, depending on the dataType - jqXHR.setRequestHeader( - "Accept", - s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? - s.accepts[ s.dataTypes[ 0 ] ] + - ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : - s.accepts[ "*" ] - ); - - // Check for headers option - for ( i in s.headers ) { - jqXHR.setRequestHeader( i, s.headers[ i ] ); - } - - // Allow custom headers/mimetypes and early abort - if ( s.beforeSend && - ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { - - // Abort if not done already and return - return jqXHR.abort(); - } - - // Aborting is no longer a cancellation - strAbort = "abort"; - - // Install callbacks on deferreds - completeDeferred.add( s.complete ); - jqXHR.done( s.success ); - jqXHR.fail( s.error ); - - // Get transport - transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); - - // If no transport, we auto-abort - if ( !transport ) { - done( -1, "No Transport" ); - } else { - jqXHR.readyState = 1; - - // Send global event - if ( fireGlobals ) { - globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); - } - - // If request was aborted inside ajaxSend, stop there - if ( completed ) { - return jqXHR; - } - - // Timeout - if ( s.async && s.timeout > 0 ) { - timeoutTimer = window.setTimeout( function() { - jqXHR.abort( "timeout" ); - }, s.timeout ); - } - - try { - completed = false; - transport.send( requestHeaders, done ); - } catch ( e ) { - - // Rethrow post-completion exceptions - if ( completed ) { - throw e; - } - - // Propagate others as results - done( -1, e ); - } - } - - // Callback for when everything is done - function done( status, nativeStatusText, responses, headers ) { - var isSuccess, success, error, response, modified, - statusText = nativeStatusText; - - // Ignore repeat invocations - if ( completed ) { - return; - } - - completed = true; - - // Clear timeout if it exists - if ( timeoutTimer ) { - window.clearTimeout( timeoutTimer ); - } - - // Dereference transport for early garbage collection - // (no matter how long the jqXHR object will be used) - transport = undefined; - - // Cache response headers - responseHeadersString = headers || ""; - - // Set readyState - jqXHR.readyState = status > 0 ? 4 : 0; - - // Determine if successful - isSuccess = status >= 200 && status < 300 || status === 304; - - // Get response data - if ( responses ) { - response = ajaxHandleResponses( s, jqXHR, responses ); - } - - // Convert no matter what (that way responseXXX fields are always set) - response = ajaxConvert( s, response, jqXHR, isSuccess ); - - // If successful, handle type chaining - if ( isSuccess ) { - - // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. - if ( s.ifModified ) { - modified = jqXHR.getResponseHeader( "Last-Modified" ); - if ( modified ) { - jQuery.lastModified[ cacheURL ] = modified; - } - modified = jqXHR.getResponseHeader( "etag" ); - if ( modified ) { - jQuery.etag[ cacheURL ] = modified; - } - } - - // if no content - if ( status === 204 || s.type === "HEAD" ) { - statusText = "nocontent"; - - // if not modified - } else if ( status === 304 ) { - statusText = "notmodified"; - - // If we have data, let's convert it - } else { - statusText = response.state; - success = response.data; - error = response.error; - isSuccess = !error; - } - } else { - - // Extract error from statusText and normalize for non-aborts - error = statusText; - if ( status || !statusText ) { - statusText = "error"; - if ( status < 0 ) { - status = 0; - } - } - } - - // Set data for the fake xhr object - jqXHR.status = status; - jqXHR.statusText = ( nativeStatusText || statusText ) + ""; - - // Success/Error - if ( isSuccess ) { - deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); - } else { - deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); - } - - // Status-dependent callbacks - jqXHR.statusCode( statusCode ); - statusCode = undefined; - - if ( fireGlobals ) { - globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", - [ jqXHR, s, isSuccess ? success : error ] ); - } - - // Complete - completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); - - if ( fireGlobals ) { - globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); - - // Handle the global AJAX counter - if ( !( --jQuery.active ) ) { - jQuery.event.trigger( "ajaxStop" ); - } - } - } - - return jqXHR; - }, - - getJSON: function( url, data, callback ) { - return jQuery.get( url, data, callback, "json" ); - }, - - getScript: function( url, callback ) { - return jQuery.get( url, undefined, callback, "script" ); - } -} ); - -jQuery.each( [ "get", "post" ], function( i, method ) { - jQuery[ method ] = function( url, data, callback, type ) { - - // Shift arguments if data argument was omitted - if ( jQuery.isFunction( data ) ) { - type = type || callback; - callback = data; - data = undefined; - } - - // The url can be an options object (which then must have .url) - return jQuery.ajax( jQuery.extend( { - url: url, - type: method, - dataType: type, - data: data, - success: callback - }, jQuery.isPlainObject( url ) && url ) ); - }; -} ); - - -jQuery._evalUrl = function( url ) { - return jQuery.ajax( { - url: url, - - // Make this explicit, since user can override this through ajaxSetup (#11264) - type: "GET", - dataType: "script", - cache: true, - async: false, - global: false, - "throws": true - } ); -}; - - -jQuery.fn.extend( { - wrapAll: function( html ) { - var wrap; - - if ( this[ 0 ] ) { - if ( jQuery.isFunction( html ) ) { - html = html.call( this[ 0 ] ); - } - - // The elements to wrap the target around - wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); - - if ( this[ 0 ].parentNode ) { - wrap.insertBefore( this[ 0 ] ); - } - - wrap.map( function() { - var elem = this; - - while ( elem.firstElementChild ) { - elem = elem.firstElementChild; - } - - return elem; - } ).append( this ); - } - - return this; - }, - - wrapInner: function( html ) { - if ( jQuery.isFunction( html ) ) { - return this.each( function( i ) { - jQuery( this ).wrapInner( html.call( this, i ) ); - } ); - } - - return this.each( function() { - var self = jQuery( this ), - contents = self.contents(); - - if ( contents.length ) { - contents.wrapAll( html ); - - } else { - self.append( html ); - } - } ); - }, - - wrap: function( html ) { - var isFunction = jQuery.isFunction( html ); - - return this.each( function( i ) { - jQuery( this ).wrapAll( isFunction ? html.call( this, i ) : html ); - } ); - }, - - unwrap: function( selector ) { - this.parent( selector ).not( "body" ).each( function() { - jQuery( this ).replaceWith( this.childNodes ); - } ); - return this; - } -} ); - - -jQuery.expr.pseudos.hidden = function( elem ) { - return !jQuery.expr.pseudos.visible( elem ); -}; -jQuery.expr.pseudos.visible = function( elem ) { - return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); -}; - - - - -jQuery.ajaxSettings.xhr = function() { - try { - return new window.XMLHttpRequest(); - } catch ( e ) {} -}; - -var xhrSuccessStatus = { - - // File protocol always yields status code 0, assume 200 - 0: 200, - - // Support: IE <=9 only - // #1450: sometimes IE returns 1223 when it should be 204 - 1223: 204 - }, - xhrSupported = jQuery.ajaxSettings.xhr(); - -support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); -support.ajax = xhrSupported = !!xhrSupported; - -jQuery.ajaxTransport( function( options ) { - var callback, errorCallback; - - // Cross domain only allowed if supported through XMLHttpRequest - if ( support.cors || xhrSupported && !options.crossDomain ) { - return { - send: function( headers, complete ) { - var i, - xhr = options.xhr(); - - xhr.open( - options.type, - options.url, - options.async, - options.username, - options.password - ); - - // Apply custom fields if provided - if ( options.xhrFields ) { - for ( i in options.xhrFields ) { - xhr[ i ] = options.xhrFields[ i ]; - } - } - - // Override mime type if needed - if ( options.mimeType && xhr.overrideMimeType ) { - xhr.overrideMimeType( options.mimeType ); - } - - // X-Requested-With header - // For cross-domain requests, seeing as conditions for a preflight are - // akin to a jigsaw puzzle, we simply never set it to be sure. - // (it can always be set on a per-request basis or even using ajaxSetup) - // For same-domain requests, won't change header if already provided. - if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { - headers[ "X-Requested-With" ] = "XMLHttpRequest"; - } - - // Set headers - for ( i in headers ) { - xhr.setRequestHeader( i, headers[ i ] ); - } - - // Callback - callback = function( type ) { - return function() { - if ( callback ) { - callback = errorCallback = xhr.onload = - xhr.onerror = xhr.onabort = xhr.onreadystatechange = null; - - if ( type === "abort" ) { - xhr.abort(); - } else if ( type === "error" ) { - - // Support: IE <=9 only - // On a manual native abort, IE9 throws - // errors on any property access that is not readyState - if ( typeof xhr.status !== "number" ) { - complete( 0, "error" ); - } else { - complete( - - // File: protocol always yields status 0; see #8605, #14207 - xhr.status, - xhr.statusText - ); - } - } else { - complete( - xhrSuccessStatus[ xhr.status ] || xhr.status, - xhr.statusText, - - // Support: IE <=9 only - // IE9 has no XHR2 but throws on binary (trac-11426) - // For XHR2 non-text, let the caller handle it (gh-2498) - ( xhr.responseType || "text" ) !== "text" || - typeof xhr.responseText !== "string" ? - { binary: xhr.response } : - { text: xhr.responseText }, - xhr.getAllResponseHeaders() - ); - } - } - }; - }; - - // Listen to events - xhr.onload = callback(); - errorCallback = xhr.onerror = callback( "error" ); - - // Support: IE 9 only - // Use onreadystatechange to replace onabort - // to handle uncaught aborts - if ( xhr.onabort !== undefined ) { - xhr.onabort = errorCallback; - } else { - xhr.onreadystatechange = function() { - - // Check readyState before timeout as it changes - if ( xhr.readyState === 4 ) { - - // Allow onerror to be called first, - // but that will not handle a native abort - // Also, save errorCallback to a variable - // as xhr.onerror cannot be accessed - window.setTimeout( function() { - if ( callback ) { - errorCallback(); - } - } ); - } - }; - } - - // Create the abort callback - callback = callback( "abort" ); - - try { - - // Do send the request (this may raise an exception) - xhr.send( options.hasContent && options.data || null ); - } catch ( e ) { - - // #14683: Only rethrow if this hasn't been notified as an error yet - if ( callback ) { - throw e; - } - } - }, - - abort: function() { - if ( callback ) { - callback(); - } - } - }; - } -} ); - - - - -// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) -jQuery.ajaxPrefilter( function( s ) { - if ( s.crossDomain ) { - s.contents.script = false; - } -} ); - -// Install script dataType -jQuery.ajaxSetup( { - accepts: { - script: "text/javascript, application/javascript, " + - "application/ecmascript, application/x-ecmascript" - }, - contents: { - script: /\b(?:java|ecma)script\b/ - }, - converters: { - "text script": function( text ) { - jQuery.globalEval( text ); - return text; - } - } -} ); - -// Handle cache's special case and crossDomain -jQuery.ajaxPrefilter( "script", function( s ) { - if ( s.cache === undefined ) { - s.cache = false; - } - if ( s.crossDomain ) { - s.type = "GET"; - } -} ); - -// Bind script tag hack transport -jQuery.ajaxTransport( "script", function( s ) { - - // This transport only deals with cross domain requests - if ( s.crossDomain ) { - var script, callback; - return { - send: function( _, complete ) { - script = jQuery( "