Skip to content

Commit

Permalink
Merge branch 'master' into depfu/update/yarn/mongoose-6.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
omarciovsena authored Feb 15, 2024
2 parents 408bd6a + 8c366b1 commit cd64482
Show file tree
Hide file tree
Showing 11 changed files with 796 additions and 10 deletions.
1 change: 1 addition & 0 deletions docs/insomnia.json

Large diffs are not rendered by default.

733 changes: 733 additions & 0 deletions docs/openapi.yaml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"generate-password": "^1.7.0",
"i18n": "^0.8.6",
"jest": "^24.9.0",
"jsonwebtoken": "^8.5.1",
"jsonwebtoken": "^9.0.0",
"md5": "^2.3.0",
"moment": "^2.29.4",
"mongoose": "^6.5.1",
Expand All @@ -63,4 +63,4 @@
"node-mocks-http": "^1.10.1",
"nodemon": "^2.0.7"
}
}
}
24 changes: 24 additions & 0 deletions public/theme-v2/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,30 @@ nav .container {
}
}

#documentation-links {
margin-top: 16px;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
justify-content: center;
}

#documentation-links img {
margin: 0 10px;
width: 24px;
}

#documentation-links img {
filter: invert(16%) sepia(7%) saturate(7485%) hue-rotate(175deg) brightness(88%) contrast(90%);
}

#documentation-links img:hover {
filter: invert(19%) sepia(55%) saturate(2547%) hue-rotate(212deg) brightness(95%) contrast(89%);
}

#about {
background: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), color-stop(50%, #fcf8e3), color-stop(50%, #fafafa), to(#fafafa));
background: linear-gradient(180deg, #fcf8e3 0%, #fcf8e3 50%, #fafafa 50%, #fafafa 100%);
Expand Down
6 changes: 6 additions & 0 deletions public/theme-v2/images/ic-insomnia.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions public/theme-v2/images/ic-postman.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions public/theme-v2/images/ic-swagger.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions views/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ body
p= __('bannerDescription')
.col
a.btn-primary(href='https://github.com/omarciovsena/abibliadigital/blob/master/DOCUMENTATION.md' target='_blank' title=__('documentationTitle'))= __('bannerButton')
ul#documentation-links
li: a.doc-icon.icon-svg(href='https://insomnia.rest/run/?label=AB%C3%ADbliaDigital%20API&uri=https%3A%2F%2Fraw%2Egithubusercontent%2Ecom%2Fomarciovsena%2Fabibliadigital%2Fmaster%2Fdocs%2Finsomnia.json' target='_blank' title=__('bannerDocInsomniaTitle')): img(src='/theme-v2/images/ic-insomnia.svg' alt=__('bannerDocInsomniaTitle'))
li: a.doc-icon.icon-svg(href='https://www.postman.com/nathabonfim59/workspace/github-contributions/api/c9a09e38-b0ca-41f4-85bb-d7cea69d4866' target='_blank' title=__('bannerDocPostmanTitle')): img(src='/theme-v2/images/ic-postman.svg' alt=__('bannerDocPostmanTitle'))
li: a.doc-icon.icon-svg(href='https://editor.swagger.io/?url=https%3A%2F%2Fraw%2Egithubusercontent%2Ecom%2Fomarciovsena%2Fabibliadigital%2Fmaster%2Fdocs%2Fopenapi.yaml' target='_blank' title=__('bannerDocSwaggerTitle')): img(src='/theme-v2/images/ic-swagger.svg' alt=__('bannerDocSwaggerTitle'))
// How To Use
section#howToUse
.container
Expand Down
5 changes: 4 additions & 1 deletion views/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"availabilityDescription": "Servers stable and prepared for high requests loads",
"bannerButton": "Documentation",
"bannerDescription": "Access our documentation, see how simple it is and start integrating today.",
"bannerDocInsomniaTitle": "Open API documentation in Insomnia",
"bannerDocPostmanTitle": "Open API documentation in Postman",
"bannerDocSwaggerTitle": "Open API documentation in Swagger",
"bannerTitle": "Get started now",
"buttonContactUs": "Contact us",
"buttonStartNow": "Get started now",
Expand Down Expand Up @@ -67,4 +70,4 @@
"yearly": "Yearly",
"bannerDescription1": "bannerDescription1",
"bannerDescription2": "bannerDescription2"
}
}
5 changes: 4 additions & 1 deletion views/locales/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"availabilityDescription": "Servidores estáveis e preparados para altas cargas de requisições",
"bannerButton": "Documentação",
"bannerDescription": "Acesse nossa documentação, veja o quanto é simples e comece hoje a sua integração.",
"bannerDocInsomniaTitle": "Abrir documentação da API no Insomnia",
"bannerDocPostmanTitle": "Abrir documentação da API no Postman",
"bannerDocSwaggerTitle": "Abrir documentação da API no Swagger",
"bannerTitle": "Teste agora!",
"buttonContactUs": "Fale Conosco",
"buttonStartNow": "Comece já",
Expand Down Expand Up @@ -67,4 +70,4 @@
"yearly": "Anual",
"bannerDescription1": "bannerDescription1",
"bannerDescription2": "bannerDescription2"
}
}
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4580,10 +4580,10 @@ json5@^2.2.3:
resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283"
integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==

jsonwebtoken@^8.5.1:
version "8.5.1"
resolved "https://registry.yarnpkg.com/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz#00e71e0b8df54c2121a1f26137df2280673bcc0d"
integrity sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==
jsonwebtoken@^9.0.0:
version "9.0.2"
resolved "https://registry.yarnpkg.com/jsonwebtoken/-/jsonwebtoken-9.0.2.tgz#65ff91f4abef1784697d40952bb1998c504caaf3"
integrity sha512-PRp66vJ865SSqOlgqS8hujT5U4AOgMfhrwYIuIhfKaoSCZcirrmASQr8CX7cUg+RMih+hgznrjp99o+W4pJLHQ==
dependencies:
jws "^3.2.2"
lodash.includes "^4.3.0"
Expand All @@ -4594,7 +4594,7 @@ jsonwebtoken@^8.5.1:
lodash.isstring "^4.0.1"
lodash.once "^4.0.0"
ms "^2.1.1"
semver "^5.6.0"
semver "^7.5.4"

jsprim@^1.2.2:
version "1.4.2"
Expand Down Expand Up @@ -6255,7 +6255,7 @@ semver@^6.0.0, semver@^6.1.0, semver@^6.1.2, semver@^6.2.0, semver@^6.3.1:
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4"
integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==

semver@^7.3.2:
semver@^7.3.2, semver@^7.5.4:
version "7.6.0"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.0.tgz#1a46a4db4bffcccd97b743b5005c8325f23d4e2d"
integrity sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==
Expand Down

0 comments on commit cd64482

Please sign in to comment.