fix: resolve typescript build errors
Publish Docker Images / Smoke test (api) (push) Canceled after 0s
Publish Docker Images / Smoke test (dashboard) (push) Canceled after 0s
Publish Docker Images / Smoke test (jobs) (push) Canceled after 0s
Publish Docker Images / build-and-push (./docker/Dockerfile.api, api, api) (push) Canceled after 0s
Publish Docker Images / build-and-push (./docker/Dockerfile.dashboard, dashboard, dashboard) (push) Canceled after 0s
Publish Docker Images / build-and-push (./docker/Dockerfile.jobs, jobs, jobs) (push) Canceled after 0s
Package build check / build (push) Canceled after 0s

This commit is contained in:
Ulises Vargas
2026-08-24 12:23:04 -07:00
parent 4348e89860
commit af133c2abe
2 changed files with 10 additions and 15 deletions
+9 -14
View File
@@ -21,7 +21,7 @@ import { seedUsers } from '@db/utils/seed/users';
import usersData from '../../users.json';
// Constants for IDs used across multiple seed functions
const ENTERPRISE_ORG_ID = '1a1dcddd-1abc-4f72-b644-0bd18191a289';
const TEST_ORG_ID = '1a1dcddd-1abc-4f72-b644-0bd18191a289';
const ADMIN_USER_ID = '7ac00503-8519-43c8-a5ea-b79aeca900b1';
const MVC_GROUP_ID = 'c6b022fd-fff3-4f09-8960-c9cb06819761';
const REACT_GROUP_ID = '04a250f1-bcb9-4e0d-a3d4-a01096e7a105';
@@ -39,7 +39,7 @@ const STUDENT_USER_ID = '0c256e75-aa40-4f62-8d30-0217ca1c60d9';
const ENTERPRISE_ORG_ID = '2b8f4a1c-6d3e-4b2a-9f7e-1c4d8a6e9b0f';
const ENTERPRISE_ADMIN_USER_ID = '3c9052de-7e4f-4c3a-8d8e-2d5e9b7f1a3c';
const ENTERPRISE_STUDENT_USER_ID = '4da163ef-8050-4d4b-9c9f-3e6fac802b4d';
const ENTERPRISE_ORG_ID = '5c7d4b2e-8f5a-4c3b-ae8f-2d6e9c1b0f5a';
const EARLY_ADOPTER_ORG_ID = '5c7d4b2e-8f5a-4c3b-ae8f-2d6e9c1b0f5a';
const EARLY_ADOPTER_ADMIN_USER_ID = '6e0163ff-9161-4d4b-be9f-3e7fbd913c5e';
const EARLY_ADOPTER_STUDENT_USER_ID = '7fb274aa-a272-4e5c-cf0a-4f8cce024d6f';
const EARLY_ADOPTER_GROUP_ID = '8ac385bb-b383-4f6d-d01b-5a9ddf135e7a';
@@ -126,27 +126,23 @@ const seedFunctions = {
organizations: async () => {
console.log('📝 Seeding organizations...');
await seedOrganization({
testOrgId: ENTERPRISE_ORG_ID,
prof2GroupId: PROF2_GROUP_ID,
testOrgId: TEST_ORG_ID,
enterpriseOrgId: ENTERPRISE_ORG_ID,
earlyAdopterOrgId: ENTERPRISE_ORG_ID,
prof2GroupId: PROF2_GROUP_ID
earlyAdopterOrgId: EARLY_ADOPTER_ORG_ID
});
},
'organization-members': async () => {
console.log('📝 Seeding organization members...');
await seedOrganizationMember({
testOrgId: ENTERPRISE_ORG_ID,
testOrgId: TEST_ORG_ID,
adminUserId: ADMIN_USER_ID,
prof2GroupId: PROF2_GROUP_ID,
tutorUserId: TUTOR_USER_ID,
tutor2UserId: TUTOR2_USER_ID,
tutor2UserId: TUTOR2_USER_ID,
studentUserId: STUDENT_USER_ID,
enterpriseOrgId: ENTERPRISE_ORG_ID,
enterpriseAdminUserId: ENTERPRISE_ADMIN_USER_ID,
enterpriseStudentUserId: ENTERPRISE_STUDENT_USER_ID,
earlyAdopterOrgId: ENTERPRISE_ORG_ID,
earlyAdopterOrgId: EARLY_ADOPTER_ORG_ID,
earlyAdopterAdminUserId: EARLY_ADOPTER_ADMIN_USER_ID,
earlyAdopterStudentUserId: EARLY_ADOPTER_STUDENT_USER_ID
});
@@ -155,7 +151,7 @@ const seedFunctions = {
console.log('📝 Seeding enterprise organization plan...');
await seedEnterpriseOrganizationPlan({ enterpriseOrgId: ENTERPRISE_ORG_ID });
console.log('📝 Seeding early adopter organization plan...');
await seedEarlyAdopterOrganizationPlan({ earlyAdopterOrgId: ENTERPRISE_ORG_ID });
await seedEarlyAdopterOrganizationPlan({ earlyAdopterOrgId: EARLY_ADOPTER_ORG_ID });
},
groups: async () => {
console.log('📝 Seeding groups...');
@@ -164,10 +160,9 @@ const seedFunctions = {
reactGroupId: REACT_GROUP_ID,
pandasGroupId: PANDAS_GROUP_ID,
prof2GroupId: PROF2_GROUP_ID,
testOrgId: ENTERPRISE_ORG_ID,
testOrgId: TEST_ORG_ID,
earlyAdopterGroupId: EARLY_ADOPTER_GROUP_ID,
prof2CourseId: PROF2_COURSE_ID,
earlyAdopterOrgId: ENTERPRISE_ORG_ID
earlyAdopterOrgId: EARLY_ADOPTER_ORG_ID
});
},
'group-members': async () => {