@hed-hog/studio 0.0.285

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 (68) hide show
  1. package/dist/index.d.ts +4 -0
  2. package/dist/index.d.ts.map +1 -0
  3. package/dist/index.js +20 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist/studio.controller.d.ts +79 -0
  6. package/dist/studio.controller.d.ts.map +1 -0
  7. package/dist/studio.controller.js +186 -0
  8. package/dist/studio.controller.js.map +1 -0
  9. package/dist/studio.module.d.ts +3 -0
  10. package/dist/studio.module.d.ts.map +1 -0
  11. package/dist/studio.module.js +33 -0
  12. package/dist/studio.module.js.map +1 -0
  13. package/dist/studio.service.d.ts +76 -0
  14. package/dist/studio.service.d.ts.map +1 -0
  15. package/dist/studio.service.js +98 -0
  16. package/dist/studio.service.js.map +1 -0
  17. package/hedhog/data/menu.yaml +114 -0
  18. package/hedhog/data/role.yaml +7 -0
  19. package/hedhog/data/route.yaml +152 -0
  20. package/hedhog/data/setting_group.yaml +8 -0
  21. package/hedhog/frontend/app/_components/studio-status-badge.tsx.ejs +14 -0
  22. package/hedhog/frontend/app/_lib/mocks.ts.ejs +209 -0
  23. package/hedhog/frontend/app/_lib/status.ts.ejs +38 -0
  24. package/hedhog/frontend/app/_lib/types.ts.ejs +148 -0
  25. package/hedhog/frontend/app/assets/page.tsx.ejs +117 -0
  26. package/hedhog/frontend/app/editing/page.tsx.ejs +55 -0
  27. package/hedhog/frontend/app/incidents/page.tsx.ejs +59 -0
  28. package/hedhog/frontend/app/page.tsx.ejs +207 -0
  29. package/hedhog/frontend/app/projects/[id]/page.tsx.ejs +323 -0
  30. package/hedhog/frontend/app/projects/form/page.tsx.ejs +129 -0
  31. package/hedhog/frontend/app/projects/page.tsx.ejs +169 -0
  32. package/hedhog/frontend/app/publication/page.tsx.ejs +62 -0
  33. package/hedhog/frontend/app/scenes/form/page.tsx.ejs +110 -0
  34. package/hedhog/frontend/app/sessions/[id]/page.tsx.ejs +118 -0
  35. package/hedhog/frontend/app/sessions/form/page.tsx.ejs +103 -0
  36. package/hedhog/frontend/app/sessions/page.tsx.ejs +80 -0
  37. package/hedhog/frontend/app/storage-profiles/form/page.tsx.ejs +100 -0
  38. package/hedhog/frontend/app/storage-profiles/page.tsx.ejs +80 -0
  39. package/hedhog/frontend/app/takes/[id]/page.tsx.ejs +143 -0
  40. package/hedhog/frontend/app/takes/page.tsx.ejs +74 -0
  41. package/hedhog/table/capture_agent.yaml +48 -0
  42. package/hedhog/table/edit_composition.yaml +67 -0
  43. package/hedhog/table/edit_pipeline.yaml +46 -0
  44. package/hedhog/table/edit_stage_execution.yaml +46 -0
  45. package/hedhog/table/editor_delivery_package.yaml +63 -0
  46. package/hedhog/table/ingestion_job.yaml +74 -0
  47. package/hedhog/table/media_asset.yaml +130 -0
  48. package/hedhog/table/participant_command_ack.yaml +32 -0
  49. package/hedhog/table/participant_recording.yaml +67 -0
  50. package/hedhog/table/production_binding.yaml +34 -0
  51. package/hedhog/table/production_project.yaml +104 -0
  52. package/hedhog/table/publication_target.yaml +44 -0
  53. package/hedhog/table/recorded_file.yaml +74 -0
  54. package/hedhog/table/recording_command.yaml +72 -0
  55. package/hedhog/table/recording_incident.yaml +65 -0
  56. package/hedhog/table/recording_session.yaml +86 -0
  57. package/hedhog/table/scene.yaml +64 -0
  58. package/hedhog/table/scene_take.yaml +83 -0
  59. package/hedhog/table/session_participant.yaml +55 -0
  60. package/hedhog/table/storage_profile.yaml +75 -0
  61. package/hedhog/table/sync_marker.yaml +44 -0
  62. package/package.json +38 -0
  63. package/src/index.ts +4 -0
  64. package/src/language/en.json +8 -0
  65. package/src/language/pt.json +8 -0
  66. package/src/studio.controller.ts +94 -0
  67. package/src/studio.module.ts +20 -0
  68. package/src/studio.service.ts +102 -0
@@ -0,0 +1,102 @@
1
+ import { Injectable } from '@nestjs/common';
2
+
3
+ @Injectable()
4
+ export class StudioService {
5
+ getData() {
6
+ return {
7
+ totals: {
8
+ projects: 24,
9
+ inRecording: 4,
10
+ inEditing: 7,
11
+ pendingIngestion: 13,
12
+ uploadFailures: 2,
13
+ readyToPublish: 3,
14
+ },
15
+ updatedAt: new Date().toISOString(),
16
+ };
17
+ }
18
+
19
+ listProjects() {
20
+ return {
21
+ data: [
22
+ {
23
+ id: 1,
24
+ title: 'Curso de Node Avancado - Aula 12',
25
+ projectType: 'course_lesson',
26
+ status: 'in_recording',
27
+ currentStage: 'recording',
28
+ ownerUserId: 1,
29
+ updatedAt: new Date().toISOString(),
30
+ },
31
+ ],
32
+ total: 1,
33
+ };
34
+ }
35
+
36
+ getProject(id: number) {
37
+ return {
38
+ id,
39
+ title: 'Projeto Studio',
40
+ status: 'planned',
41
+ currentStage: 'preparation',
42
+ };
43
+ }
44
+
45
+ listScenes() {
46
+ return { data: [] };
47
+ }
48
+
49
+ listSessions() {
50
+ return { data: [] };
51
+ }
52
+
53
+ getSession(id: number) {
54
+ return { id, status: 'idle' };
55
+ }
56
+
57
+ listTakes() {
58
+ return { data: [] };
59
+ }
60
+
61
+ getTake(id: number) {
62
+ return { id, status: 'pending' };
63
+ }
64
+
65
+ listAssets() {
66
+ return { data: [] };
67
+ }
68
+
69
+ listStorageProfiles() {
70
+ return { data: [] };
71
+ }
72
+
73
+ listIncidents() {
74
+ return { data: [] };
75
+ }
76
+
77
+ getEditing() {
78
+ return { data: [] };
79
+ }
80
+
81
+ getPublication() {
82
+ return { data: [] };
83
+ }
84
+
85
+ getProjectFormSchema() {
86
+ return { fields: ['title', 'description', 'projectType', 'status'] };
87
+ }
88
+
89
+ getSceneFormSchema() {
90
+ return { fields: ['name', 'description', 'sequenceOrder', 'status'] };
91
+ }
92
+
93
+ getSessionFormSchema() {
94
+ return { fields: ['title', 'sessionType', 'status', 'roomKey'] };
95
+ }
96
+
97
+ getStorageProfileFormSchema() {
98
+ return {
99
+ fields: ['name', 'providerType', 'bucketName', 'region', 'basePath'],
100
+ };
101
+ }
102
+ }