rapida-partner 1.19.1 → 2.1.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 (93) hide show
  1. package/README.md +73 -43
  2. package/index.ts +87 -13
  3. package/package.json +2 -2
  4. package/src/controllers/ts_project_to_json_project.ts +12 -11
  5. package/src/enums/form.enum.ts +3 -0
  6. package/src/examples/components/forms/actor.form.ts +57 -5
  7. package/src/examples/components/forms/character.form.ts +6 -1
  8. package/src/examples/components/forms/company.form.ts +9 -5
  9. package/src/examples/components/forms/movie.form.ts +21 -5
  10. package/src/examples/components/forms/movieEpisode.form.ts +10 -5
  11. package/src/examples/components/forms/movieGenre.form.ts +6 -1
  12. package/src/examples/components/forms/person.form.ts +9 -14
  13. package/src/examples/components/forms/project.form.ts +295 -0
  14. package/src/examples/components/forms/taskWithProject.form.ts +310 -0
  15. package/src/examples/components/lists/actor.list.ts +15 -9
  16. package/src/examples/components/lists/character.list.ts +13 -7
  17. package/src/examples/components/lists/movie.list.ts +104 -24
  18. package/src/examples/components/lists/movieEpisode.list.ts +17 -11
  19. package/src/examples/components/lists/movieGenre.list.ts +12 -6
  20. package/src/examples/components/lists/project.list.ts +78 -0
  21. package/src/examples/components/lists/taskWithProject.list.ts +202 -0
  22. package/src/examples/components/tables/character.table.ts +40 -0
  23. package/src/examples/modules/character.ts +1 -0
  24. package/src/examples/modules/project.ts +18 -0
  25. package/src/examples/projects/assets/images/favicon/android-chrome-192x192.png +0 -0
  26. package/src/examples/projects/assets/images/favicon/android-chrome-512x512.png +0 -0
  27. package/src/examples/projects/assets/images/favicon/apple-touch-icon.png +0 -0
  28. package/src/examples/projects/assets/images/favicon/favicon-16x16.png +0 -0
  29. package/src/examples/projects/assets/images/favicon/favicon-32x32.png +0 -0
  30. package/src/examples/projects/assets/images/favicon/favicon.ico +0 -0
  31. package/src/examples/projects/assets/images/logo.png +0 -0
  32. package/src/examples/projects/movieBackoffice.ts +62 -62
  33. package/src/interfaces/ai-agent.interface.ts +179 -0
  34. package/src/interfaces/condition.interface.ts +0 -1
  35. package/src/interfaces/data-chart.interface.ts +74 -56
  36. package/src/interfaces/data-table.interface.ts +43 -0
  37. package/src/interfaces/form-array.interface.ts +1 -0
  38. package/src/interfaces/form-autocomplete.interface.ts +1 -0
  39. package/src/interfaces/form-checkbox.interface.ts +27 -0
  40. package/src/interfaces/form-contract.interface.ts +12 -2
  41. package/src/interfaces/form-file.interface.ts +2 -1
  42. package/src/interfaces/form-input.interface.ts +18 -3
  43. package/src/interfaces/form-radio.interface.ts +27 -0
  44. package/src/interfaces/form-select.interface.ts +1 -1
  45. package/src/interfaces/form.interface.ts +13 -4
  46. package/src/interfaces/kanban.interface.ts +82 -0
  47. package/src/interfaces/list.interface.ts +15 -1
  48. package/src/interfaces/notification.interface.ts +27 -0
  49. package/src/interfaces/project-backend.interface.ts +61 -2
  50. package/src/interfaces/project-repositories.interface.ts +18 -0
  51. package/src/interfaces/project-style.interface.ts +15 -96
  52. package/src/interfaces/project.interface.ts +52 -5
  53. package/src/interfaces/record-reminder.interface.ts +14 -0
  54. package/src/interfaces/trusted-caller.interface.ts +21 -0
  55. package/src/schemas/ai-agent-config.ref.json +232 -0
  56. package/src/schemas/backend.ref.json +87 -1
  57. package/src/schemas/component-one-of.ref.json +4 -1
  58. package/src/schemas/data-chart.ref.json +3 -0
  59. package/src/schemas/data-table.ref.json +24 -0
  60. package/src/schemas/form-array.ref.json +3 -0
  61. package/src/schemas/form-autocomplete.ref.json +6 -0
  62. package/src/schemas/form-checkbox.ref.json +73 -0
  63. package/src/schemas/form-contract-request.ref.json +1 -0
  64. package/src/schemas/form-contract.ref.json +2 -1
  65. package/src/schemas/form-file.ref.json +4 -0
  66. package/src/schemas/form-input.ref.json +8 -2
  67. package/src/schemas/form-one-of.ref.json +4 -2
  68. package/src/schemas/form-public-contract.ref.json +16 -5
  69. package/src/schemas/form-radio.ref.json +73 -0
  70. package/src/schemas/form-switch.ref.json +3 -12
  71. package/src/schemas/form.ref.json +14 -50
  72. package/src/schemas/frontend.ref.json +26 -1
  73. package/src/schemas/kanban.ref.json +259 -0
  74. package/src/schemas/list.ref.json +65 -313
  75. package/src/schemas/module.ref.json +3 -0
  76. package/src/schemas/notification-condition.ref.json +20 -0
  77. package/src/schemas/notification-recipients.ref.json +31 -0
  78. package/src/schemas/notification.ref.json +65 -0
  79. package/src/schemas/project-repositories.ref.json +19 -0
  80. package/src/schemas/project-style.ref.json +28 -12
  81. package/src/schemas/project.schema.json +115 -4
  82. package/src/schemas/record-reminder.ref.json +41 -0
  83. package/src/schemas/send-message.ref.json +33 -0
  84. package/src/schemas/trusted-caller.ref.json +28 -0
  85. package/src/schemas/types-datatype.ref.json +1 -0
  86. package/src/utils/json.ts +3 -11
  87. package/src/utils/path.ts +22 -27
  88. package/rapidaObject.json +0 -1
  89. package/src/constants/secrets/database.ts +0 -1
  90. package/src/constants/secrets/others.ts +0 -3
  91. package/src/constants/secrets/storage.ts +0 -1
  92. package/src/schemas/project-style-theme.ref.json +0 -98
  93. package/src/utils/env.ts +0 -9
@@ -1,98 +0,0 @@
1
- {
2
- "$id": "project-style-theme.ref.json",
3
- "$schema": "http://json-schema.org/draft-07/schema#",
4
- "type": "object",
5
- "properties": {
6
- "colors": {
7
- "type": "object",
8
- "properties": {
9
- "primary": { "type": "string" },
10
- "primaryContrast": { "type": "string" },
11
- "secondary": { "type": "string" },
12
- "secondaryContrast": { "type": "string" },
13
- "tertiary": { "type": "string" },
14
- "tertiaryContrast": { "type": "string" },
15
- "quaternary": { "type": "string" },
16
- "quaternaryContrast": { "type": "string" },
17
- "background": { "type": "string" },
18
- "error": { "type": "string" },
19
- "success": { "type": "string" },
20
- "warning": { "type": "string" },
21
- "info": { "type": "string" }
22
- }
23
- },
24
- "typography": {
25
- "type": "object",
26
- "properties": {
27
- "fontFamily": { "type": "string" },
28
- "fontSize": { "type": "string" }
29
- }
30
- },
31
- "borders": {
32
- "type": "object",
33
- "properties": {
34
- "radius": { "type": "string" }
35
- }
36
- },
37
- "shadows": {
38
- "type": "object",
39
- "properties": {
40
- "boxShadow": { "type": "string" }
41
- }
42
- },
43
- "spacing": { "type": "string" },
44
- "maxWidth": { "type": "string" },
45
- "headerHeight": { "type": "string" },
46
- "footerHeight": { "type": "string" },
47
- "components": {
48
- "type": "object",
49
- "properties": {
50
- "input": {
51
- "type": "object",
52
- "properties": {
53
- "background": { "type": "string" },
54
- "text": { "type": "string" },
55
- "border": { "type": "string" },
56
- "borderRadius": { "type": "string" },
57
- "focusBorder": { "type": "string" },
58
- "placeholder": { "type": "string" },
59
- "width": { "type": "string" }
60
- }
61
- },
62
- "button": {
63
- "type": "object",
64
- "properties": {
65
- "background": { "type": "string" },
66
- "text": { "type": "string" },
67
- "border": { "type": "string" },
68
- "borderRadius": { "type": "string" },
69
- "hoverBackground": { "type": "string" },
70
- "hoverText": { "type": "string" },
71
- "hoverBorder": { "type": "string" },
72
- "disabledBackground": { "type": "string" },
73
- "disabledText": { "type": "string" },
74
- "disabledBorder": { "type": "string" }
75
- }
76
- },
77
- "label": {
78
- "type": "object",
79
- "properties": {
80
- "text": { "type": "string" },
81
- "fontSize": { "type": "string" },
82
- "fontWeight": { "type": "string" }
83
- }
84
- },
85
- "fieldset": {
86
- "type": "object",
87
- "properties": {
88
- "border": { "type": "string" },
89
- "borderRadius": { "type": "string" },
90
- "legendText": { "type": "string" },
91
- "legendFontSize": { "type": "string" },
92
- "legendFontWeight": { "type": "string" }
93
- }
94
- }
95
- }
96
- }
97
- }
98
- }
package/src/utils/env.ts DELETED
@@ -1,9 +0,0 @@
1
- import dotenv from 'dotenv';
2
- dotenv.config();
3
-
4
- const rootPath = process.env.ROOT_PATH;
5
- const terminalPassword = process.env.TERMINAL_PASSWORD;
6
- const trelloApiKey = process.env.TRELLO_API_KEY;
7
- const trelloToken = process.env.TRELLO_TOKEN;
8
-
9
- export { rootPath, terminalPassword, trelloApiKey, trelloToken };