@navservice/pages 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/build/es/backend/schema/_enum.d.ts +11 -0
  2. package/build/es/biblioteca/src/componentes/button/ButtonAddLandinPage.d.ts +5 -0
  3. package/build/es/biblioteca/src/componentes/card/CardLandingPage.d.ts +6 -0
  4. package/build/es/biblioteca/src/componentes/card/CardPromptHistorico.d.ts +8 -0
  5. package/build/es/biblioteca/src/componentes/drawer/DraweFullScreen.d.ts +12 -0
  6. package/build/es/biblioteca/src/componentes/drawer/DrawerPadrao.d.ts +13 -0
  7. package/build/es/biblioteca/src/componentes/formulario/Dominio.d.ts +5 -0
  8. package/build/es/biblioteca/src/componentes/formulario/Landingpage/Configuracao.d.ts +1 -0
  9. package/build/es/biblioteca/src/componentes/formulario/Landingpage/Contexto.d.ts +12 -0
  10. package/build/es/biblioteca/src/componentes/formulario/Landingpage/Criacao.d.ts +1 -0
  11. package/build/es/biblioteca/src/componentes/formulario/Landingpage/Design.d.ts +1 -0
  12. package/build/es/biblioteca/src/componentes/formulario/Landingpage/Implementacoes.d.ts +1 -0
  13. package/build/es/biblioteca/src/componentes/formulario/Landingpage/index.d.ts +5 -0
  14. package/build/es/biblioteca/src/componentes/input/InputChat.d.ts +6 -0
  15. package/build/es/biblioteca/src/contexto/contexto_dominio.d.ts +26 -0
  16. package/build/es/biblioteca/src/contexto/contexto_landing_page.d.ts +36 -0
  17. package/build/es/biblioteca/src/contexto/contexto_prompt.d.ts +36 -0
  18. package/build/es/biblioteca/src/index.d.ts +8 -0
  19. package/build/es/index.js +26608 -0
  20. package/build/es/index.js.LICENSE.txt +6 -0
  21. package/build/es/shared/configuracoes/_sistema.d.ts +49 -0
  22. package/build/es/shared/configuracoes/_theme.d.ts +91 -0
  23. package/build/es/shared/configuracoes/index.d.ts +142 -0
  24. package/build/es/shared/types/entidades/dominio.d.ts +77 -0
  25. package/build/es/shared/types/entidades/landingpage.d.ts +134 -0
  26. package/build/es/shared/types/entidades/prompt.d.ts +138 -0
  27. package/build/es/shared/types/geral/type_response.d.ts +54 -0
  28. package/build/es/shared/types/index.d.ts +44 -0
  29. package/build/lib/backend/schema/_enum.d.ts +11 -0
  30. package/build/lib/biblioteca/src/componentes/button/ButtonAddLandinPage.d.ts +5 -0
  31. package/build/lib/biblioteca/src/componentes/card/CardLandingPage.d.ts +6 -0
  32. package/build/lib/biblioteca/src/componentes/card/CardPromptHistorico.d.ts +8 -0
  33. package/build/lib/biblioteca/src/componentes/drawer/DraweFullScreen.d.ts +12 -0
  34. package/build/lib/biblioteca/src/componentes/drawer/DrawerPadrao.d.ts +13 -0
  35. package/build/lib/biblioteca/src/componentes/formulario/Dominio.d.ts +5 -0
  36. package/build/lib/biblioteca/src/componentes/formulario/Landingpage/Configuracao.d.ts +1 -0
  37. package/build/lib/biblioteca/src/componentes/formulario/Landingpage/Contexto.d.ts +12 -0
  38. package/build/lib/biblioteca/src/componentes/formulario/Landingpage/Criacao.d.ts +1 -0
  39. package/build/lib/biblioteca/src/componentes/formulario/Landingpage/Design.d.ts +1 -0
  40. package/build/lib/biblioteca/src/componentes/formulario/Landingpage/Implementacoes.d.ts +1 -0
  41. package/build/lib/biblioteca/src/componentes/formulario/Landingpage/index.d.ts +5 -0
  42. package/build/lib/biblioteca/src/componentes/input/InputChat.d.ts +6 -0
  43. package/build/lib/biblioteca/src/contexto/contexto_dominio.d.ts +26 -0
  44. package/build/lib/biblioteca/src/contexto/contexto_landing_page.d.ts +36 -0
  45. package/build/lib/biblioteca/src/contexto/contexto_prompt.d.ts +36 -0
  46. package/build/lib/biblioteca/src/index.d.ts +8 -0
  47. package/build/lib/index.js +37842 -0
  48. package/build/lib/shared/configuracoes/_sistema.d.ts +49 -0
  49. package/build/lib/shared/configuracoes/_theme.d.ts +91 -0
  50. package/build/lib/shared/configuracoes/index.d.ts +142 -0
  51. package/build/lib/shared/types/entidades/dominio.d.ts +77 -0
  52. package/build/lib/shared/types/entidades/landingpage.d.ts +134 -0
  53. package/build/lib/shared/types/entidades/prompt.d.ts +138 -0
  54. package/build/lib/shared/types/geral/type_response.d.ts +54 -0
  55. package/build/lib/shared/types/index.d.ts +44 -0
  56. package/package.json +31 -0
@@ -0,0 +1,44 @@
1
+ import { Context as HonoContext } from "hono";
2
+ import type { D1Database, Fetcher, Queue } from "@cloudflare/workers-types";
3
+ import { TypesCore } from "@navservice/core";
4
+ import TypesLandingPage from "./entidades/landingpage";
5
+ import TypeResponse from "./geral/type_response";
6
+ import TypesPrompt from "./entidades/prompt";
7
+ import TypesDominio from "./entidades/dominio";
8
+ declare namespace t {
9
+ namespace Controller {
10
+ export import LandingPage = TypesLandingPage;
11
+ export import Prompt = TypesPrompt;
12
+ export import Dominio = TypesDominio;
13
+ }
14
+ namespace Integrations {
15
+ }
16
+ namespace Geral {
17
+ export import Response = TypeResponse;
18
+ interface Env {
19
+ PUBLIC_BASE_URL_SERVICE_ASSINATURA?: string;
20
+ PUBLIC_BASE_URL_SERVICE_USUARIO?: string;
21
+ PUBLIC_BASE_URL_SERVICE_PAGES?: string;
22
+ PUBLIC_BASE_URL_SERVICE_PAGES_BUILDER?: string;
23
+ PUBLIC_GOOGLE_CLIENT_ID_AUTH0?: string;
24
+ CLOUDFLARE_ACCOUNT_ID?: string;
25
+ CLOUDFLARE_API_TOKEN?: string;
26
+ OPENAI_API_KEY?: string;
27
+ JSON_WEB_TOKEN_AUTH_MICRO_SERVICO?: string;
28
+ JSON_WEB_TOKEN_AUTH_USER?: string;
29
+ RESEND_API_KEY?: string;
30
+ CORS_ORIGIN?: string;
31
+ DB_SERVICE_PAGES?: D1Database;
32
+ QUEUE_SERVICE_PAGES?: Queue;
33
+ ASSETS?: Fetcher;
34
+ }
35
+ }
36
+ type EnvHono = {
37
+ Bindings: Geral.Env;
38
+ Variables: {
39
+ usuario_auth: TypesCore.Controller.Usuario.TokenPayload;
40
+ };
41
+ };
42
+ type Context = HonoContext<EnvHono>;
43
+ }
44
+ export default t;
package/package.json ADDED
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "@navservice/pages",
3
+ "version": "1.4.0",
4
+ "description": "Service do bucket de arquivos do NavService",
5
+ "type": "module",
6
+ "main": "./build/lib/index.js",
7
+ "module": "./build/es/index.js",
8
+ "types": "./build/es/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": "./build/es/index.js",
12
+ "require": "./build/lib/index.js",
13
+ "types": "./build/es/biblioteca/src/index.d.ts"
14
+ }
15
+ },
16
+ "files": [
17
+ "build"
18
+ ],
19
+ "scripts": {
20
+ "build": "rslib build"
21
+ },
22
+ "peerDependencies": {
23
+ "@navservice/usuario": "^1.11.0",
24
+ "react": "^19.0.0",
25
+ "react-dom": "^19.0.0",
26
+ "react-router-dom": "^7.0.0"
27
+ },
28
+ "devDependencies": {
29
+ "@rsbuild/plugin-sass": "^1.4.0"
30
+ }
31
+ }