rapida-partner 1.19.0 → 2.0.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.
- package/README.md +73 -43
- package/index.ts +87 -13
- package/package.json +2 -2
- package/src/controllers/ts_project_to_json_project.ts +12 -11
- package/src/enums/form.enum.ts +3 -0
- package/src/examples/components/forms/actor.form.ts +57 -5
- package/src/examples/components/forms/character.form.ts +6 -1
- package/src/examples/components/forms/company.form.ts +9 -5
- package/src/examples/components/forms/movie.form.ts +21 -5
- package/src/examples/components/forms/movieEpisode.form.ts +10 -5
- package/src/examples/components/forms/movieGenre.form.ts +6 -1
- package/src/examples/components/forms/person.form.ts +9 -14
- package/src/examples/components/forms/project.form.ts +295 -0
- package/src/examples/components/forms/taskWithProject.form.ts +310 -0
- package/src/examples/components/lists/actor.list.ts +15 -9
- package/src/examples/components/lists/character.list.ts +13 -7
- package/src/examples/components/lists/movie.list.ts +104 -24
- package/src/examples/components/lists/movieEpisode.list.ts +17 -11
- package/src/examples/components/lists/movieGenre.list.ts +12 -6
- package/src/examples/components/lists/project.list.ts +78 -0
- package/src/examples/components/lists/taskWithProject.list.ts +202 -0
- package/src/examples/components/tables/character.table.ts +40 -0
- package/src/examples/modules/character.ts +1 -0
- package/src/examples/modules/project.ts +18 -0
- package/src/examples/projects/assets/images/favicon/android-chrome-192x192.png +0 -0
- package/src/examples/projects/assets/images/favicon/android-chrome-512x512.png +0 -0
- package/src/examples/projects/assets/images/favicon/apple-touch-icon.png +0 -0
- package/src/examples/projects/assets/images/favicon/favicon-16x16.png +0 -0
- package/src/examples/projects/assets/images/favicon/favicon-32x32.png +0 -0
- package/src/examples/projects/assets/images/favicon/favicon.ico +0 -0
- package/src/examples/projects/assets/images/logo.png +0 -0
- package/src/examples/projects/movieBackoffice.ts +62 -62
- package/src/interfaces/ai-agent.interface.ts +179 -0
- package/src/interfaces/condition.interface.ts +2 -3
- package/src/interfaces/data-chart.interface.ts +74 -56
- package/src/interfaces/data-table.interface.ts +43 -0
- package/src/interfaces/form-array.interface.ts +1 -0
- package/src/interfaces/form-autocomplete.interface.ts +1 -0
- package/src/interfaces/form-checkbox.interface.ts +27 -0
- package/src/interfaces/form-contract.interface.ts +12 -2
- package/src/interfaces/form-file.interface.ts +1 -1
- package/src/interfaces/form-input.interface.ts +18 -3
- package/src/interfaces/form-radio.interface.ts +27 -0
- package/src/interfaces/form-select.interface.ts +1 -1
- package/src/interfaces/form.interface.ts +13 -4
- package/src/interfaces/kanban.interface.ts +82 -0
- package/src/interfaces/list.interface.ts +15 -1
- package/src/interfaces/notification.interface.ts +27 -0
- package/src/interfaces/project-backend.interface.ts +61 -2
- package/src/interfaces/project-repositories.interface.ts +18 -0
- package/src/interfaces/project-style.interface.ts +15 -96
- package/src/interfaces/project.interface.ts +52 -5
- package/src/interfaces/record-reminder.interface.ts +14 -0
- package/src/interfaces/trusted-caller.interface.ts +21 -0
- package/src/schemas/ai-agent-config.ref.json +232 -0
- package/src/schemas/backend.ref.json +87 -1
- package/src/schemas/component-one-of.ref.json +4 -1
- package/src/schemas/data-chart.ref.json +3 -0
- package/src/schemas/data-table.ref.json +24 -0
- package/src/schemas/form-array.ref.json +3 -0
- package/src/schemas/form-autocomplete.ref.json +6 -0
- package/src/schemas/form-checkbox.ref.json +73 -0
- package/src/schemas/form-contract-request.ref.json +1 -0
- package/src/schemas/form-contract.ref.json +2 -1
- package/src/schemas/form-input.ref.json +8 -2
- package/src/schemas/form-one-of.ref.json +4 -2
- package/src/schemas/form-public-contract.ref.json +16 -5
- package/src/schemas/form-radio.ref.json +73 -0
- package/src/schemas/form-switch.ref.json +3 -12
- package/src/schemas/form.ref.json +14 -50
- package/src/schemas/frontend.ref.json +26 -1
- package/src/schemas/kanban.ref.json +259 -0
- package/src/schemas/list.ref.json +65 -313
- package/src/schemas/module.ref.json +3 -0
- package/src/schemas/notification-condition.ref.json +20 -0
- package/src/schemas/notification-recipients.ref.json +31 -0
- package/src/schemas/notification.ref.json +65 -0
- package/src/schemas/project-repositories.ref.json +19 -0
- package/src/schemas/project-style.ref.json +28 -12
- package/src/schemas/project.schema.json +115 -4
- package/src/schemas/record-reminder.ref.json +41 -0
- package/src/schemas/send-message.ref.json +33 -0
- package/src/schemas/trusted-caller.ref.json +28 -0
- package/src/schemas/types-datatype.ref.json +1 -0
- package/src/utils/json.ts +3 -11
- package/src/utils/path.ts +22 -27
- package/rapidaObject.json +0 -1
- package/src/constants/secrets/database.ts +0 -1
- package/src/constants/secrets/others.ts +0 -3
- package/src/constants/secrets/storage.ts +0 -1
- package/src/schemas/project-style-theme.ref.json +0 -98
- 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 };
|