@nextsparkjs/theme-default 0.1.0-beta.1
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/about/business.md +49 -0
- package/about/features.json +302 -0
- package/about/team.md +79 -0
- package/api/ai/chat/stream/route.ts +212 -0
- package/api/ai/orchestrator/route.ts +226 -0
- package/api/ai/single-agent/route.ts +291 -0
- package/api/ai/usage/route.ts +122 -0
- package/blocks/benefits/component.tsx +100 -0
- package/blocks/benefits/config.ts +11 -0
- package/blocks/benefits/examples.ts +85 -0
- package/blocks/benefits/fields.ts +156 -0
- package/blocks/benefits/schema.ts +33 -0
- package/blocks/cta-section/component.tsx +100 -0
- package/blocks/cta-section/config.ts +11 -0
- package/blocks/cta-section/examples.ts +41 -0
- package/blocks/cta-section/fields.ts +89 -0
- package/blocks/cta-section/index.ts +6 -0
- package/blocks/cta-section/schema.ts +32 -0
- package/blocks/cta-section/thumbnail.png +1 -0
- package/blocks/faq-accordion/component.tsx +156 -0
- package/blocks/faq-accordion/config.ts +11 -0
- package/blocks/faq-accordion/examples.ts +77 -0
- package/blocks/faq-accordion/fields.ts +119 -0
- package/blocks/faq-accordion/index.ts +6 -0
- package/blocks/faq-accordion/schema.ts +45 -0
- package/blocks/features-grid/component.tsx +112 -0
- package/blocks/features-grid/config.ts +11 -0
- package/blocks/features-grid/examples.ts +63 -0
- package/blocks/features-grid/fields.ts +97 -0
- package/blocks/features-grid/index.ts +6 -0
- package/blocks/features-grid/schema.ts +40 -0
- package/blocks/features-grid/thumbnail.png +1 -0
- package/blocks/hero/component.tsx +100 -0
- package/blocks/hero/config.ts +11 -0
- package/blocks/hero/examples.ts +35 -0
- package/blocks/hero/fields.ts +60 -0
- package/blocks/hero/index.ts +6 -0
- package/blocks/hero/schema.ts +32 -0
- package/blocks/hero/thumbnail.png +1 -0
- package/blocks/hero/thumbnail.png.txt +6 -0
- package/blocks/hero-with-form/component.tsx +232 -0
- package/blocks/hero-with-form/config.ts +11 -0
- package/blocks/hero-with-form/examples.ts +16 -0
- package/blocks/hero-with-form/fields.ts +207 -0
- package/blocks/hero-with-form/index.ts +6 -0
- package/blocks/hero-with-form/schema.ts +54 -0
- package/blocks/jumbotron/component.tsx +136 -0
- package/blocks/jumbotron/config.ts +11 -0
- package/blocks/jumbotron/examples.ts +36 -0
- package/blocks/jumbotron/fields.ts +202 -0
- package/blocks/jumbotron/index.ts +6 -0
- package/blocks/jumbotron/schema.ts +55 -0
- package/blocks/logo-cloud/component.tsx +154 -0
- package/blocks/logo-cloud/config.ts +11 -0
- package/blocks/logo-cloud/examples.ts +34 -0
- package/blocks/logo-cloud/fields.ts +133 -0
- package/blocks/logo-cloud/index.ts +6 -0
- package/blocks/logo-cloud/schema.ts +46 -0
- package/blocks/post-content/component.tsx +197 -0
- package/blocks/post-content/config.ts +11 -0
- package/blocks/post-content/examples.ts +33 -0
- package/blocks/post-content/fields.ts +165 -0
- package/blocks/post-content/index.ts +4 -0
- package/blocks/post-content/schema.ts +46 -0
- package/blocks/pricing-table/component.tsx +154 -0
- package/blocks/pricing-table/config.ts +11 -0
- package/blocks/pricing-table/examples.ts +96 -0
- package/blocks/pricing-table/fields.ts +161 -0
- package/blocks/pricing-table/index.ts +4 -0
- package/blocks/pricing-table/schema.ts +50 -0
- package/blocks/split-content/component.tsx +135 -0
- package/blocks/split-content/config.ts +11 -0
- package/blocks/split-content/examples.ts +38 -0
- package/blocks/split-content/fields.ts +198 -0
- package/blocks/split-content/index.ts +6 -0
- package/blocks/split-content/schema.ts +67 -0
- package/blocks/stats-counter/component.tsx +124 -0
- package/blocks/stats-counter/config.ts +11 -0
- package/blocks/stats-counter/examples.ts +61 -0
- package/blocks/stats-counter/fields.ts +134 -0
- package/blocks/stats-counter/index.ts +6 -0
- package/blocks/stats-counter/schema.ts +47 -0
- package/blocks/testimonials/component.tsx +114 -0
- package/blocks/testimonials/config.ts +11 -0
- package/blocks/testimonials/examples.ts +65 -0
- package/blocks/testimonials/fields.ts +105 -0
- package/blocks/testimonials/index.ts +6 -0
- package/blocks/testimonials/schema.ts +41 -0
- package/blocks/testimonials/thumbnail.png +1 -0
- package/blocks/text-content/component.tsx +97 -0
- package/blocks/text-content/config.ts +11 -0
- package/blocks/text-content/examples.ts +30 -0
- package/blocks/text-content/fields.ts +88 -0
- package/blocks/text-content/index.ts +6 -0
- package/blocks/text-content/schema.ts +30 -0
- package/blocks/text-content/thumbnail.png +1 -0
- package/blocks/timeline/component.tsx +267 -0
- package/blocks/timeline/config.ts +11 -0
- package/blocks/timeline/examples.ts +68 -0
- package/blocks/timeline/fields.ts +147 -0
- package/blocks/timeline/index.ts +6 -0
- package/blocks/timeline/schema.ts +49 -0
- package/blocks/video-hero/component.tsx +270 -0
- package/blocks/video-hero/config.ts +11 -0
- package/blocks/video-hero/examples.ts +24 -0
- package/blocks/video-hero/fields.ts +98 -0
- package/blocks/video-hero/index.ts +6 -0
- package/blocks/video-hero/schema.ts +39 -0
- package/components/ai-chat/ChatPanel.tsx +575 -0
- package/components/ai-chat/ConversationItem.tsx +266 -0
- package/components/ai-chat/ConversationSidebar.tsx +99 -0
- package/components/ai-chat/MarkdownRenderer.tsx +15 -0
- package/components/ai-chat/Message.tsx +42 -0
- package/components/ai-chat/MessageInput.tsx +49 -0
- package/components/ai-chat/MessageList.tsx +46 -0
- package/components/ai-chat/TypingIndicator.tsx +11 -0
- package/config/app.config.ts +367 -0
- package/config/billing.config.ts +349 -0
- package/config/dashboard.config.ts +506 -0
- package/config/dev.config.ts +104 -0
- package/config/features.config.ts +203 -0
- package/config/flows.config.ts +129 -0
- package/config/permissions.config.ts +245 -0
- package/config/theme.config.ts +74 -0
- package/docs/01-overview/01-introduction.md +335 -0
- package/docs/01-overview/02-customization.md +671 -0
- package/docs/02-features/01-components.md +155 -0
- package/docs/02-features/02-styling.md +139 -0
- package/docs/02-features/03-tasks-entity.md +407 -0
- package/docs/03-ai/01-overview.md +211 -0
- package/docs/03-ai/02-customization.md +436 -0
- package/entities/customers/customers.config.ts +75 -0
- package/entities/customers/customers.fields.ts +165 -0
- package/entities/customers/customers.service.ts +516 -0
- package/entities/customers/customers.types.ts +83 -0
- package/entities/customers/messages/en.json +66 -0
- package/entities/customers/messages/es.json +66 -0
- package/entities/customers/migrations/001_customers_table.sql +102 -0
- package/entities/customers/migrations/002_customers_metas.sql +92 -0
- package/entities/pages/messages/en.json +41 -0
- package/entities/pages/messages/es.json +41 -0
- package/entities/pages/migrations/001_pages_table.sql +112 -0
- package/entities/pages/migrations/002_pages_metas.sql +56 -0
- package/entities/pages/migrations/003_add_status.sql +50 -0
- package/entities/pages/pages-management.service.ts +610 -0
- package/entities/pages/pages.config.ts +94 -0
- package/entities/pages/pages.fields.ts +101 -0
- package/entities/pages/pages.service.ts +290 -0
- package/entities/pages/pages.types.ts +124 -0
- package/entities/posts/components/post-header.tsx +97 -0
- package/entities/posts/messages/en.json +55 -0
- package/entities/posts/messages/es.json +55 -0
- package/entities/posts/migrations/001_posts_table.sql +115 -0
- package/entities/posts/migrations/003_add_status.sql +44 -0
- package/entities/posts/migrations/004_entity_taxonomy_relations.sql +129 -0
- package/entities/posts/migrations/006_posts_metas.sql +56 -0
- package/entities/posts/posts.config.ts +101 -0
- package/entities/posts/posts.fields.ts +116 -0
- package/entities/posts/posts.service.ts +376 -0
- package/entities/posts/posts.types.ts +74 -0
- package/entities/tasks/messages/en.json +204 -0
- package/entities/tasks/messages/es.json +204 -0
- package/entities/tasks/migrations/001_tasks_table.sql +105 -0
- package/entities/tasks/migrations/002_task_metas.sql +85 -0
- package/entities/tasks/migrations/sample_data.json +77 -0
- package/entities/tasks/tasks.config.ts +79 -0
- package/entities/tasks/tasks.fields.ts +196 -0
- package/entities/tasks/tasks.service.ts +541 -0
- package/entities/tasks/tasks.types.ts +56 -0
- package/lib/hooks/useAiChat.ts +114 -0
- package/lib/hooks/useConversations.ts +376 -0
- package/lib/hooks/useOrchestratorChat.ts +122 -0
- package/lib/hooks/usePersistentChat.ts +315 -0
- package/lib/hooks/useStreamingChat.ts +127 -0
- package/lib/hooks/useTokenUsage.ts +63 -0
- package/lib/langchain/agents/customer-assistant.md +69 -0
- package/lib/langchain/agents/index.ts +61 -0
- package/lib/langchain/agents/orchestrator.md +59 -0
- package/lib/langchain/agents/page-assistant.md +85 -0
- package/lib/langchain/agents/single-agent.md +46 -0
- package/lib/langchain/agents/task-assistant.md +55 -0
- package/lib/langchain/config.ts +45 -0
- package/lib/langchain/handlers/customer-handler.ts +338 -0
- package/lib/langchain/handlers/page-handler.ts +232 -0
- package/lib/langchain/handlers/task-handler.ts +323 -0
- package/lib/langchain/langchain.config.ts +223 -0
- package/lib/langchain/observability.config.ts +30 -0
- package/lib/langchain/orchestrator.ts +562 -0
- package/lib/langchain/tools/customers.ts +176 -0
- package/lib/langchain/tools/index.ts +10 -0
- package/lib/langchain/tools/orchestrator.ts +92 -0
- package/lib/langchain/tools/pages.ts +289 -0
- package/lib/langchain/tools/tasks.ts +167 -0
- package/lib/scheduled-actions/billing.ts +149 -0
- package/lib/scheduled-actions/index.ts +170 -0
- package/lib/scheduled-actions/webhook.ts +231 -0
- package/lib/selectors.ts +197 -0
- package/messages/de/admin.json +219 -0
- package/messages/de/aiUsage.json +36 -0
- package/messages/de/buttons.json +19 -0
- package/messages/de/categories.json +35 -0
- package/messages/de/common.json +16 -0
- package/messages/de/dev.json +101 -0
- package/messages/de/docs.json +27 -0
- package/messages/de/entities.json +7 -0
- package/messages/de/features.json +119 -0
- package/messages/de/footer.json +22 -0
- package/messages/de/home.json +57 -0
- package/messages/de/index.ts +39 -0
- package/messages/de/mobileNav.json +13 -0
- package/messages/de/navigation.json +8 -0
- package/messages/de/observability.json +74 -0
- package/messages/de/posts.json +54 -0
- package/messages/de/pricing.json +102 -0
- package/messages/de/support.json +9 -0
- package/messages/de/teams.json +8 -0
- package/messages/en/admin.json +219 -0
- package/messages/en/aiUsage.json +36 -0
- package/messages/en/buttons.json +19 -0
- package/messages/en/categories.json +35 -0
- package/messages/en/common.json +16 -0
- package/messages/en/dev.json +106 -0
- package/messages/en/docs.json +27 -0
- package/messages/en/entities.json +7 -0
- package/messages/en/features.json +119 -0
- package/messages/en/footer.json +22 -0
- package/messages/en/home.json +57 -0
- package/messages/en/index.ts +39 -0
- package/messages/en/mobileNav.json +13 -0
- package/messages/en/navigation.json +8 -0
- package/messages/en/observability.json +74 -0
- package/messages/en/posts.json +54 -0
- package/messages/en/pricing.json +102 -0
- package/messages/en/support.json +9 -0
- package/messages/en/teams.json +8 -0
- package/messages/es/admin.json +219 -0
- package/messages/es/aiUsage.json +36 -0
- package/messages/es/buttons.json +19 -0
- package/messages/es/categories.json +35 -0
- package/messages/es/common.json +16 -0
- package/messages/es/dev.json +101 -0
- package/messages/es/docs.json +27 -0
- package/messages/es/entities.json +7 -0
- package/messages/es/features.json +119 -0
- package/messages/es/footer.json +22 -0
- package/messages/es/home.json +57 -0
- package/messages/es/index.ts +39 -0
- package/messages/es/mobileNav.json +13 -0
- package/messages/es/navigation.json +8 -0
- package/messages/es/observability.json +74 -0
- package/messages/es/posts.json +54 -0
- package/messages/es/pricing.json +102 -0
- package/messages/es/support.json +9 -0
- package/messages/es/teams.json +8 -0
- package/messages/fr/admin.json +219 -0
- package/messages/fr/aiUsage.json +36 -0
- package/messages/fr/buttons.json +19 -0
- package/messages/fr/categories.json +35 -0
- package/messages/fr/common.json +16 -0
- package/messages/fr/dev.json +101 -0
- package/messages/fr/docs.json +27 -0
- package/messages/fr/entities.json +7 -0
- package/messages/fr/features.json +119 -0
- package/messages/fr/footer.json +22 -0
- package/messages/fr/home.json +57 -0
- package/messages/fr/index.ts +39 -0
- package/messages/fr/mobileNav.json +13 -0
- package/messages/fr/navigation.json +8 -0
- package/messages/fr/observability.json +74 -0
- package/messages/fr/posts.json +54 -0
- package/messages/fr/pricing.json +102 -0
- package/messages/fr/support.json +9 -0
- package/messages/fr/teams.json +8 -0
- package/messages/it/admin.json +219 -0
- package/messages/it/aiUsage.json +36 -0
- package/messages/it/buttons.json +19 -0
- package/messages/it/categories.json +35 -0
- package/messages/it/common.json +16 -0
- package/messages/it/dev.json +101 -0
- package/messages/it/docs.json +27 -0
- package/messages/it/entities.json +7 -0
- package/messages/it/features.json +119 -0
- package/messages/it/footer.json +22 -0
- package/messages/it/home.json +57 -0
- package/messages/it/index.ts +39 -0
- package/messages/it/mobileNav.json +13 -0
- package/messages/it/navigation.json +8 -0
- package/messages/it/observability.json +74 -0
- package/messages/it/posts.json +54 -0
- package/messages/it/pricing.json +102 -0
- package/messages/it/support.json +9 -0
- package/messages/it/teams.json +8 -0
- package/messages/pt/admin.json +219 -0
- package/messages/pt/aiUsage.json +36 -0
- package/messages/pt/buttons.json +19 -0
- package/messages/pt/categories.json +35 -0
- package/messages/pt/common.json +16 -0
- package/messages/pt/dev.json +101 -0
- package/messages/pt/docs.json +27 -0
- package/messages/pt/entities.json +7 -0
- package/messages/pt/features.json +119 -0
- package/messages/pt/footer.json +22 -0
- package/messages/pt/home.json +57 -0
- package/messages/pt/index.ts +39 -0
- package/messages/pt/mobileNav.json +13 -0
- package/messages/pt/navigation.json +8 -0
- package/messages/pt/observability.json +74 -0
- package/messages/pt/posts.json +54 -0
- package/messages/pt/pricing.json +102 -0
- package/messages/pt/support.json +9 -0
- package/messages/pt/teams.json +8 -0
- package/migrations/089_add_editor_team_role.sql +39 -0
- package/migrations/090_demo_users_teams.sql +540 -0
- package/migrations/091_greek_teams_billing.sql +523 -0
- package/migrations/092_billing_sample_data.sql +774 -0
- package/migrations/093_pages_sample_data.sql +1158 -0
- package/migrations/094_posts_sample_data.sql +278 -0
- package/migrations/095_tasks_sample_data.sql +440 -0
- package/migrations/096_customers_sample_data.sql +358 -0
- package/migrations/097_scheduled_actions_sample_data.sql +111 -0
- package/package.json +22 -0
- package/public/docs/desktop-layout-example.png +0 -0
- package/styles/components.css +11 -0
- package/styles/globals.css +179 -0
- package/templates/(public)/blog/[slug]/page.tsx +65 -0
- package/templates/(public)/layout.tsx +25 -0
- package/templates/(public)/page.tsx +200 -0
- package/templates/(public)/support/page.tsx +321 -0
- package/templates/dashboard/(main)/agent-multi/page.tsx +63 -0
- package/templates/dashboard/(main)/agent-single/page.tsx +142 -0
- package/templates/dashboard/(main)/settings/ai-usage/page.tsx +157 -0
- package/templates/superadmin/ai-observability/[traceId]/page.tsx +27 -0
- package/templates/superadmin/ai-observability/page.tsx +17 -0
|
@@ -0,0 +1,440 @@
|
|
|
1
|
+
-- Migration: 095_tasks_sample_data.sql
|
|
2
|
+
-- Description: Demo tasks for TMT.dev users and company teams
|
|
3
|
+
-- Date: 2025-12-24
|
|
4
|
+
-- Phase: Theme sample data - runs AFTER users/teams (090) and entity tables (001-002)
|
|
5
|
+
--
|
|
6
|
+
-- NOTE: This file contains demo tasks for the default theme.
|
|
7
|
+
-- All tasks reference users and teams from 090_demo_users_teams.sql
|
|
8
|
+
|
|
9
|
+
-- ============================================
|
|
10
|
+
-- EVERPOINT LABS TASKS (Technology Company)
|
|
11
|
+
-- Carlos (owner) - Multiple tasks with varied statuses/priorities for filter testing
|
|
12
|
+
-- ============================================
|
|
13
|
+
INSERT INTO public."tasks" (
|
|
14
|
+
id,
|
|
15
|
+
"userId",
|
|
16
|
+
"teamId",
|
|
17
|
+
title,
|
|
18
|
+
description,
|
|
19
|
+
completed,
|
|
20
|
+
status,
|
|
21
|
+
priority,
|
|
22
|
+
"dueDate",
|
|
23
|
+
"createdAt",
|
|
24
|
+
"updatedAt"
|
|
25
|
+
) VALUES
|
|
26
|
+
-- Carlos - TODO tasks
|
|
27
|
+
(
|
|
28
|
+
'task-everpoint-001',
|
|
29
|
+
'usr-carlos-001',
|
|
30
|
+
'team-everpoint-001',
|
|
31
|
+
'Design new microservices architecture',
|
|
32
|
+
'Create architecture documentation for migrating monolith to microservices. Include service boundaries, communication patterns, and deployment strategy.',
|
|
33
|
+
false,
|
|
34
|
+
'todo',
|
|
35
|
+
'urgent',
|
|
36
|
+
NOW() + INTERVAL '3 days',
|
|
37
|
+
NOW() - INTERVAL '10 days',
|
|
38
|
+
NOW() - INTERVAL '2 days'
|
|
39
|
+
),
|
|
40
|
+
(
|
|
41
|
+
'task-everpoint-carlos-todo-high',
|
|
42
|
+
'usr-carlos-001',
|
|
43
|
+
'team-everpoint-001',
|
|
44
|
+
'Review Q4 security audit findings',
|
|
45
|
+
'Analyze security audit report and prioritize remediation tasks for the development team.',
|
|
46
|
+
false,
|
|
47
|
+
'todo',
|
|
48
|
+
'high',
|
|
49
|
+
NOW() + INTERVAL '7 days',
|
|
50
|
+
NOW() - INTERVAL '3 days',
|
|
51
|
+
NOW() - INTERVAL '1 day'
|
|
52
|
+
),
|
|
53
|
+
(
|
|
54
|
+
'task-everpoint-carlos-todo-medium',
|
|
55
|
+
'usr-carlos-001',
|
|
56
|
+
'team-everpoint-001',
|
|
57
|
+
'Update team onboarding documentation',
|
|
58
|
+
'Refresh the technical onboarding guide with new tooling and processes.',
|
|
59
|
+
false,
|
|
60
|
+
'todo',
|
|
61
|
+
'medium',
|
|
62
|
+
NOW() + INTERVAL '14 days',
|
|
63
|
+
NOW() - INTERVAL '5 days',
|
|
64
|
+
NOW() - INTERVAL '2 days'
|
|
65
|
+
),
|
|
66
|
+
(
|
|
67
|
+
'task-everpoint-carlos-todo-low',
|
|
68
|
+
'usr-carlos-001',
|
|
69
|
+
'team-everpoint-001',
|
|
70
|
+
'Organize tech debt backlog',
|
|
71
|
+
'Review and categorize accumulated tech debt items for sprint planning.',
|
|
72
|
+
false,
|
|
73
|
+
'todo',
|
|
74
|
+
'low',
|
|
75
|
+
NOW() + INTERVAL '30 days',
|
|
76
|
+
NOW() - INTERVAL '7 days',
|
|
77
|
+
NOW() - INTERVAL '3 days'
|
|
78
|
+
),
|
|
79
|
+
|
|
80
|
+
-- Carlos - IN-PROGRESS tasks
|
|
81
|
+
(
|
|
82
|
+
'task-everpoint-carlos-progress-urgent',
|
|
83
|
+
'usr-carlos-001',
|
|
84
|
+
'team-everpoint-001',
|
|
85
|
+
'Fix critical production bug in payment service',
|
|
86
|
+
'Users reporting failed transactions. Investigate and hotfix the payment processing module.',
|
|
87
|
+
false,
|
|
88
|
+
'in-progress',
|
|
89
|
+
'urgent',
|
|
90
|
+
NOW() + INTERVAL '1 day',
|
|
91
|
+
NOW() - INTERVAL '1 day',
|
|
92
|
+
NOW()
|
|
93
|
+
),
|
|
94
|
+
(
|
|
95
|
+
'task-everpoint-carlos-progress-high',
|
|
96
|
+
'usr-carlos-001',
|
|
97
|
+
'team-everpoint-001',
|
|
98
|
+
'Implement OAuth2 integration',
|
|
99
|
+
'Add Google and GitHub OAuth providers to the authentication system.',
|
|
100
|
+
false,
|
|
101
|
+
'in-progress',
|
|
102
|
+
'high',
|
|
103
|
+
NOW() + INTERVAL '5 days',
|
|
104
|
+
NOW() - INTERVAL '4 days',
|
|
105
|
+
NOW() - INTERVAL '1 day'
|
|
106
|
+
),
|
|
107
|
+
(
|
|
108
|
+
'task-everpoint-carlos-progress-medium',
|
|
109
|
+
'usr-carlos-001',
|
|
110
|
+
'team-everpoint-001',
|
|
111
|
+
'Refactor database connection pooling',
|
|
112
|
+
'Optimize connection pool settings and implement proper connection lifecycle management.',
|
|
113
|
+
false,
|
|
114
|
+
'in-progress',
|
|
115
|
+
'medium',
|
|
116
|
+
NOW() + INTERVAL '10 days',
|
|
117
|
+
NOW() - INTERVAL '6 days',
|
|
118
|
+
NOW() - INTERVAL '2 days'
|
|
119
|
+
),
|
|
120
|
+
|
|
121
|
+
-- Carlos - REVIEW tasks
|
|
122
|
+
(
|
|
123
|
+
'task-everpoint-carlos-review-high',
|
|
124
|
+
'usr-carlos-001',
|
|
125
|
+
'team-everpoint-001',
|
|
126
|
+
'Review infrastructure cost optimization PR',
|
|
127
|
+
'Evaluate proposed changes to reduce AWS costs by 30%.',
|
|
128
|
+
false,
|
|
129
|
+
'review',
|
|
130
|
+
'high',
|
|
131
|
+
NOW() + INTERVAL '2 days',
|
|
132
|
+
NOW() - INTERVAL '3 days',
|
|
133
|
+
NOW() - INTERVAL '1 day'
|
|
134
|
+
),
|
|
135
|
+
(
|
|
136
|
+
'task-everpoint-carlos-review-medium',
|
|
137
|
+
'usr-carlos-001',
|
|
138
|
+
'team-everpoint-001',
|
|
139
|
+
'QA new user dashboard features',
|
|
140
|
+
'Test and provide feedback on the redesigned user dashboard before release.',
|
|
141
|
+
false,
|
|
142
|
+
'review',
|
|
143
|
+
'medium',
|
|
144
|
+
NOW() + INTERVAL '4 days',
|
|
145
|
+
NOW() - INTERVAL '5 days',
|
|
146
|
+
NOW() - INTERVAL '1 day'
|
|
147
|
+
),
|
|
148
|
+
|
|
149
|
+
-- Carlos - DONE tasks
|
|
150
|
+
(
|
|
151
|
+
'task-everpoint-carlos-done-urgent',
|
|
152
|
+
'usr-carlos-001',
|
|
153
|
+
'team-everpoint-001',
|
|
154
|
+
'Emergency database migration',
|
|
155
|
+
'Completed urgent migration to fix data integrity issues in production.',
|
|
156
|
+
true,
|
|
157
|
+
'done',
|
|
158
|
+
'urgent',
|
|
159
|
+
NOW() - INTERVAL '2 days',
|
|
160
|
+
NOW() - INTERVAL '5 days',
|
|
161
|
+
NOW() - INTERVAL '2 days'
|
|
162
|
+
),
|
|
163
|
+
(
|
|
164
|
+
'task-everpoint-carlos-done-high',
|
|
165
|
+
'usr-carlos-001',
|
|
166
|
+
'team-everpoint-001',
|
|
167
|
+
'Deploy new API versioning strategy',
|
|
168
|
+
'Successfully implemented API v2 with backward compatibility.',
|
|
169
|
+
true,
|
|
170
|
+
'done',
|
|
171
|
+
'high',
|
|
172
|
+
NOW() - INTERVAL '5 days',
|
|
173
|
+
NOW() - INTERVAL '15 days',
|
|
174
|
+
NOW() - INTERVAL '5 days'
|
|
175
|
+
),
|
|
176
|
+
(
|
|
177
|
+
'task-everpoint-carlos-done-medium',
|
|
178
|
+
'usr-carlos-001',
|
|
179
|
+
'team-everpoint-001',
|
|
180
|
+
'Set up staging environment',
|
|
181
|
+
'Configured complete staging environment mirroring production.',
|
|
182
|
+
true,
|
|
183
|
+
'done',
|
|
184
|
+
'medium',
|
|
185
|
+
NOW() - INTERVAL '10 days',
|
|
186
|
+
NOW() - INTERVAL '20 days',
|
|
187
|
+
NOW() - INTERVAL '10 days'
|
|
188
|
+
),
|
|
189
|
+
(
|
|
190
|
+
'task-everpoint-carlos-done-low',
|
|
191
|
+
'usr-carlos-001',
|
|
192
|
+
'team-everpoint-001',
|
|
193
|
+
'Archive old project repositories',
|
|
194
|
+
'Cleaned up and archived deprecated project repositories.',
|
|
195
|
+
true,
|
|
196
|
+
'done',
|
|
197
|
+
'low',
|
|
198
|
+
NOW() - INTERVAL '7 days',
|
|
199
|
+
NOW() - INTERVAL '14 days',
|
|
200
|
+
NOW() - INTERVAL '7 days'
|
|
201
|
+
),
|
|
202
|
+
|
|
203
|
+
-- Carlos - BLOCKED tasks
|
|
204
|
+
(
|
|
205
|
+
'task-everpoint-carlos-blocked-high',
|
|
206
|
+
'usr-carlos-001',
|
|
207
|
+
'team-everpoint-001',
|
|
208
|
+
'Integrate third-party analytics SDK',
|
|
209
|
+
'Blocked: Waiting for vendor to provide API credentials and documentation.',
|
|
210
|
+
false,
|
|
211
|
+
'blocked',
|
|
212
|
+
'high',
|
|
213
|
+
NOW() + INTERVAL '14 days',
|
|
214
|
+
NOW() - INTERVAL '8 days',
|
|
215
|
+
NOW() - INTERVAL '1 day'
|
|
216
|
+
),
|
|
217
|
+
(
|
|
218
|
+
'task-everpoint-carlos-blocked-medium',
|
|
219
|
+
'usr-carlos-001',
|
|
220
|
+
'team-everpoint-001',
|
|
221
|
+
'Migrate to new CDN provider',
|
|
222
|
+
'Blocked: Legal team reviewing new vendor contract terms.',
|
|
223
|
+
false,
|
|
224
|
+
'blocked',
|
|
225
|
+
'medium',
|
|
226
|
+
NOW() + INTERVAL '21 days',
|
|
227
|
+
NOW() - INTERVAL '10 days',
|
|
228
|
+
NOW() - INTERVAL '3 days'
|
|
229
|
+
),
|
|
230
|
+
|
|
231
|
+
-- Other Everpoint team members
|
|
232
|
+
(
|
|
233
|
+
'task-everpoint-002',
|
|
234
|
+
'usr-james-002',
|
|
235
|
+
'team-everpoint-001',
|
|
236
|
+
'Implement API gateway',
|
|
237
|
+
'Set up Kong or AWS API Gateway for routing, rate limiting, and authentication across microservices.',
|
|
238
|
+
false,
|
|
239
|
+
'in-progress',
|
|
240
|
+
'high',
|
|
241
|
+
NOW() + INTERVAL '10 days',
|
|
242
|
+
NOW() - INTERVAL '8 days',
|
|
243
|
+
NOW() - INTERVAL '1 day'
|
|
244
|
+
),
|
|
245
|
+
(
|
|
246
|
+
'task-everpoint-003',
|
|
247
|
+
'usr-emily-006',
|
|
248
|
+
'team-everpoint-001',
|
|
249
|
+
'Create design system documentation',
|
|
250
|
+
'Document all UI components, design tokens, and usage guidelines for the team.',
|
|
251
|
+
true,
|
|
252
|
+
'done',
|
|
253
|
+
'medium',
|
|
254
|
+
NOW() - INTERVAL '3 days',
|
|
255
|
+
NOW() - INTERVAL '15 days',
|
|
256
|
+
NOW() - INTERVAL '5 days'
|
|
257
|
+
),
|
|
258
|
+
(
|
|
259
|
+
'task-everpoint-004',
|
|
260
|
+
'usr-diego-003',
|
|
261
|
+
'team-everpoint-001',
|
|
262
|
+
'Set up monitoring and alerting',
|
|
263
|
+
'Configure Prometheus, Grafana, and PagerDuty for production monitoring.',
|
|
264
|
+
false,
|
|
265
|
+
'review',
|
|
266
|
+
'high',
|
|
267
|
+
NOW() + INTERVAL '5 days',
|
|
268
|
+
NOW() - INTERVAL '5 days',
|
|
269
|
+
NOW() - INTERVAL '1 day'
|
|
270
|
+
),
|
|
271
|
+
|
|
272
|
+
-- ========================================
|
|
273
|
+
-- IRONVALE GLOBAL TASKS (Consulting Firm)
|
|
274
|
+
-- ========================================
|
|
275
|
+
(
|
|
276
|
+
'task-ironvale-001',
|
|
277
|
+
'usr-ana-005',
|
|
278
|
+
'team-ironvale-002',
|
|
279
|
+
'Q4 Strategy presentation',
|
|
280
|
+
'Prepare quarterly strategy presentation for the board meeting. Include market analysis and growth projections.',
|
|
281
|
+
false,
|
|
282
|
+
'in-progress',
|
|
283
|
+
'urgent',
|
|
284
|
+
NOW() + INTERVAL '2 days',
|
|
285
|
+
NOW() - INTERVAL '7 days',
|
|
286
|
+
NOW() - INTERVAL '1 day'
|
|
287
|
+
),
|
|
288
|
+
(
|
|
289
|
+
'task-ironvale-002',
|
|
290
|
+
'usr-sofia-007',
|
|
291
|
+
'team-ironvale-002',
|
|
292
|
+
'Client onboarding process review',
|
|
293
|
+
'Review and optimize the client onboarding workflow. Identify bottlenecks and propose improvements.',
|
|
294
|
+
true,
|
|
295
|
+
'done',
|
|
296
|
+
'medium',
|
|
297
|
+
NOW() - INTERVAL '5 days',
|
|
298
|
+
NOW() - INTERVAL '12 days',
|
|
299
|
+
NOW() - INTERVAL '3 days'
|
|
300
|
+
),
|
|
301
|
+
(
|
|
302
|
+
'task-ironvale-003',
|
|
303
|
+
'usr-michael-004',
|
|
304
|
+
'team-ironvale-002',
|
|
305
|
+
'Market research for LATAM expansion',
|
|
306
|
+
'Conduct market research for potential expansion into Latin American markets.',
|
|
307
|
+
false,
|
|
308
|
+
'todo',
|
|
309
|
+
'high',
|
|
310
|
+
NOW() + INTERVAL '14 days',
|
|
311
|
+
NOW() - INTERVAL '4 days',
|
|
312
|
+
NOW() - INTERVAL '1 day'
|
|
313
|
+
),
|
|
314
|
+
(
|
|
315
|
+
'task-ironvale-004',
|
|
316
|
+
'usr-sarah-008',
|
|
317
|
+
'team-ironvale-002',
|
|
318
|
+
'Competitor analysis report',
|
|
319
|
+
'Compile comprehensive competitor analysis report for the consulting practice.',
|
|
320
|
+
true,
|
|
321
|
+
'done',
|
|
322
|
+
'low',
|
|
323
|
+
NOW() - INTERVAL '12 days',
|
|
324
|
+
NOW() - INTERVAL '20 days',
|
|
325
|
+
NOW() - INTERVAL '10 days'
|
|
326
|
+
),
|
|
327
|
+
|
|
328
|
+
-- ========================================
|
|
329
|
+
-- RIVERSTONE VENTURES TASKS (Investment Fund)
|
|
330
|
+
-- ========================================
|
|
331
|
+
(
|
|
332
|
+
'task-riverstone-001',
|
|
333
|
+
'usr-sofia-007',
|
|
334
|
+
'team-riverstone-003',
|
|
335
|
+
'Due diligence for TechStartup Inc.',
|
|
336
|
+
'Complete financial and technical due diligence for potential Series A investment.',
|
|
337
|
+
false,
|
|
338
|
+
'in-progress',
|
|
339
|
+
'urgent',
|
|
340
|
+
NOW() + INTERVAL '5 days',
|
|
341
|
+
NOW() - INTERVAL '6 days',
|
|
342
|
+
NOW() - INTERVAL '1 day'
|
|
343
|
+
),
|
|
344
|
+
(
|
|
345
|
+
'task-riverstone-002',
|
|
346
|
+
'usr-emily-006',
|
|
347
|
+
'team-riverstone-003',
|
|
348
|
+
'Portfolio company quarterly reviews',
|
|
349
|
+
'Schedule and prepare materials for Q4 portfolio company reviews.',
|
|
350
|
+
false,
|
|
351
|
+
'todo',
|
|
352
|
+
'high',
|
|
353
|
+
NOW() + INTERVAL '10 days',
|
|
354
|
+
NOW() - INTERVAL '3 days',
|
|
355
|
+
NOW() - INTERVAL '1 day'
|
|
356
|
+
),
|
|
357
|
+
(
|
|
358
|
+
'task-riverstone-003',
|
|
359
|
+
'usr-carlos-001',
|
|
360
|
+
'team-riverstone-003',
|
|
361
|
+
'Technical assessment framework',
|
|
362
|
+
'Develop technical assessment framework for evaluating startup investments.',
|
|
363
|
+
true,
|
|
364
|
+
'done',
|
|
365
|
+
'medium',
|
|
366
|
+
NOW() - INTERVAL '7 days',
|
|
367
|
+
NOW() - INTERVAL '14 days',
|
|
368
|
+
NOW() - INTERVAL '4 days'
|
|
369
|
+
),
|
|
370
|
+
|
|
371
|
+
-- ========================================
|
|
372
|
+
-- PERSONAL TASKS (TMT.dev users)
|
|
373
|
+
-- ========================================
|
|
374
|
+
(
|
|
375
|
+
'task-personal-carlos',
|
|
376
|
+
'usr-carlos-001',
|
|
377
|
+
'team-personal-carlos-001',
|
|
378
|
+
'Update personal portfolio website',
|
|
379
|
+
'Refresh portfolio with latest projects and update tech stack information.',
|
|
380
|
+
false,
|
|
381
|
+
'in-progress',
|
|
382
|
+
'low',
|
|
383
|
+
NOW() + INTERVAL '7 days',
|
|
384
|
+
NOW() - INTERVAL '2 days',
|
|
385
|
+
NOW()
|
|
386
|
+
),
|
|
387
|
+
(
|
|
388
|
+
'task-personal-sofia',
|
|
389
|
+
'usr-sofia-007',
|
|
390
|
+
'team-personal-sofia-007',
|
|
391
|
+
'Prepare conference talk',
|
|
392
|
+
'Prepare slides and demo for upcoming tech conference presentation.',
|
|
393
|
+
false,
|
|
394
|
+
'review',
|
|
395
|
+
'high',
|
|
396
|
+
NOW() + INTERVAL '3 days',
|
|
397
|
+
NOW() - INTERVAL '5 days',
|
|
398
|
+
NOW() - INTERVAL '1 day'
|
|
399
|
+
)
|
|
400
|
+
ON CONFLICT (id) DO NOTHING;
|
|
401
|
+
|
|
402
|
+
-- ============================================
|
|
403
|
+
-- SAMPLE META DATA
|
|
404
|
+
-- ============================================
|
|
405
|
+
INSERT INTO public."tasks_metas" (
|
|
406
|
+
"entityId",
|
|
407
|
+
"metaKey",
|
|
408
|
+
"metaValue",
|
|
409
|
+
"dataType",
|
|
410
|
+
"isPublic",
|
|
411
|
+
"isSearchable"
|
|
412
|
+
) VALUES
|
|
413
|
+
-- Everpoint Labs task metadata
|
|
414
|
+
('task-everpoint-001', 'priority', '"high"', 'string', true, true),
|
|
415
|
+
('task-everpoint-001', 'category', '"Architecture"', 'string', true, true),
|
|
416
|
+
('task-everpoint-002', 'priority', '"high"', 'string', true, true),
|
|
417
|
+
('task-everpoint-002', 'category', '"Backend"', 'string', true, true),
|
|
418
|
+
('task-everpoint-003', 'priority', '"medium"', 'string', true, true),
|
|
419
|
+
('task-everpoint-003', 'category', '"Design"', 'string', true, true),
|
|
420
|
+
('task-everpoint-004', 'priority', '"high"', 'string', true, true),
|
|
421
|
+
('task-everpoint-004', 'category', '"DevOps"', 'string', true, true),
|
|
422
|
+
|
|
423
|
+
-- Ironvale Global task metadata
|
|
424
|
+
('task-ironvale-001', 'priority', '"critical"', 'string', true, true),
|
|
425
|
+
('task-ironvale-001', 'category', '"Strategy"', 'string', true, true),
|
|
426
|
+
('task-ironvale-002', 'priority', '"medium"', 'string', true, true),
|
|
427
|
+
('task-ironvale-002', 'category', '"Operations"', 'string', true, true),
|
|
428
|
+
('task-ironvale-003', 'priority', '"high"', 'string', true, true),
|
|
429
|
+
('task-ironvale-003', 'category', '"Research"', 'string', true, true),
|
|
430
|
+
('task-ironvale-004', 'priority', '"low"', 'string', true, true),
|
|
431
|
+
('task-ironvale-004', 'category', '"Research"', 'string', true, true),
|
|
432
|
+
|
|
433
|
+
-- Riverstone Ventures task metadata
|
|
434
|
+
('task-riverstone-001', 'priority', '"critical"', 'string', true, true),
|
|
435
|
+
('task-riverstone-001', 'category', '"Due Diligence"', 'string', true, true),
|
|
436
|
+
('task-riverstone-002', 'priority', '"high"', 'string', true, true),
|
|
437
|
+
('task-riverstone-002', 'category', '"Portfolio Management"', 'string', true, true),
|
|
438
|
+
('task-riverstone-003', 'priority', '"medium"', 'string', true, true),
|
|
439
|
+
('task-riverstone-003', 'category', '"Process"', 'string', true, true)
|
|
440
|
+
ON CONFLICT ("entityId", "metaKey") DO NOTHING;
|