@studious-lms/server 1.13.0 → 1.15.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/.dockerignore +28 -0
- package/.env.example +5 -0
- package/.github/workflows/deploy.yml +123 -0
- package/Dockerfile +54 -0
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/instrument.js +3 -3
- package/dist/instrument.js.map +1 -1
- package/dist/lib/config/cors.d.ts.map +1 -1
- package/dist/lib/config/cors.js +31 -11
- package/dist/lib/config/cors.js.map +1 -1
- package/dist/lib/config/env.d.ts +17 -0
- package/dist/lib/config/env.d.ts.map +1 -1
- package/dist/lib/config/env.js +8 -2
- package/dist/lib/config/env.js.map +1 -1
- package/dist/lib/googleCloudStorage.d.ts +10 -0
- package/dist/lib/googleCloudStorage.d.ts.map +1 -1
- package/dist/lib/googleCloudStorage.js +22 -2
- package/dist/lib/googleCloudStorage.js.map +1 -1
- package/dist/lib/inferDocumentFormat.d.ts +10 -0
- package/dist/lib/inferDocumentFormat.d.ts.map +1 -0
- package/dist/lib/inferDocumentFormat.js +48 -0
- package/dist/lib/inferDocumentFormat.js.map +1 -0
- package/dist/lib/legal.d.ts +3 -0
- package/dist/lib/legal.d.ts.map +1 -0
- package/dist/lib/legal.js +6 -0
- package/dist/lib/legal.js.map +1 -0
- package/dist/lib/prisma.d.ts +104 -5
- package/dist/lib/prisma.d.ts.map +1 -1
- package/dist/lib/prisma.js +33 -2
- package/dist/lib/prisma.js.map +1 -1
- package/dist/models/agenda.d.ts +20 -20
- package/dist/models/announcement.d.ts +211 -101
- package/dist/models/announcement.d.ts.map +1 -1
- package/dist/models/assignment.d.ts +560 -362
- package/dist/models/assignment.d.ts.map +1 -1
- package/dist/models/attendance.d.ts +197 -71
- package/dist/models/attendance.d.ts.map +1 -1
- package/dist/models/auth.d.ts +356 -114
- package/dist/models/auth.d.ts.map +1 -1
- package/dist/models/auth.js +4 -2
- package/dist/models/auth.js.map +1 -1
- package/dist/models/class.d.ts +327 -201
- package/dist/models/class.d.ts.map +1 -1
- package/dist/models/class.js +2 -2
- package/dist/models/class.js.map +1 -1
- package/dist/models/cloudStorage.d.ts +146 -56
- package/dist/models/cloudStorage.d.ts.map +1 -1
- package/dist/models/comment.d.ts +262 -110
- package/dist/models/comment.d.ts.map +1 -1
- package/dist/models/conversation.d.ts +206 -80
- package/dist/models/conversation.d.ts.map +1 -1
- package/dist/models/department.d.ts +196 -70
- package/dist/models/department.d.ts.map +1 -1
- package/dist/models/event.d.ts +305 -141
- package/dist/models/event.d.ts.map +1 -1
- package/dist/models/file.d.ts +422 -272
- package/dist/models/file.d.ts.map +1 -1
- package/dist/models/folder.d.ts +433 -181
- package/dist/models/folder.d.ts.map +1 -1
- package/dist/models/labChat.d.ts +205 -79
- package/dist/models/labChat.d.ts.map +1 -1
- package/dist/models/marketing.d.ts +79 -38
- package/dist/models/marketing.d.ts.map +1 -1
- package/dist/models/marketing.js +12 -4
- package/dist/models/marketing.js.map +1 -1
- package/dist/models/message.d.ts +97 -43
- package/dist/models/message.d.ts.map +1 -1
- package/dist/models/newtonChat.d.ts +84 -30
- package/dist/models/newtonChat.d.ts.map +1 -1
- package/dist/models/notification.d.ts +57 -21
- package/dist/models/notification.d.ts.map +1 -1
- package/dist/models/school.d.ts +349 -133
- package/dist/models/school.d.ts.map +1 -1
- package/dist/models/section.d.ts +216 -72
- package/dist/models/section.d.ts.map +1 -1
- package/dist/models/tag.d.ts +156 -48
- package/dist/models/tag.d.ts.map +1 -1
- package/dist/models/user.d.ts +82 -28
- package/dist/models/user.d.ts.map +1 -1
- package/dist/models/worksheet.d.ts +1032 -423
- package/dist/models/worksheet.d.ts.map +1 -1
- package/dist/models/worksheet.js +8 -2
- package/dist/models/worksheet.js.map +1 -1
- package/dist/pipelines/aiLabChat.d.ts +7 -9
- package/dist/pipelines/aiLabChat.d.ts.map +1 -1
- package/dist/pipelines/aiLabChat.js +194 -125
- package/dist/pipelines/aiLabChat.js.map +1 -1
- package/dist/pipelines/aiLabChatContract.d.ts +233 -389
- package/dist/pipelines/aiLabChatContract.d.ts.map +1 -1
- package/dist/pipelines/aiLabChatContract.js +54 -70
- package/dist/pipelines/aiLabChatContract.js.map +1 -1
- package/dist/pipelines/aiNewtonChat.d.ts.map +1 -1
- package/dist/pipelines/aiNewtonChat.js +41 -41
- package/dist/pipelines/aiNewtonChat.js.map +1 -1
- package/dist/pipelines/gradeWorksheet.d.ts +8 -8
- package/dist/pipelines/labChatPrompt.d.ts +18 -11
- package/dist/pipelines/labChatPrompt.d.ts.map +1 -1
- package/dist/pipelines/labChatPrompt.js +93 -75
- package/dist/pipelines/labChatPrompt.js.map +1 -1
- package/dist/pipelines/pdfToWorksheet.d.ts +1 -1
- package/dist/routers/_app.d.ts +2601 -2151
- package/dist/routers/_app.d.ts.map +1 -1
- package/dist/routers/_app.js +4 -2
- package/dist/routers/_app.js.map +1 -1
- package/dist/routers/admin.d.ts +13 -13
- package/dist/routers/agenda.d.ts +18 -18
- package/dist/routers/announcement.d.ts +60 -60
- package/dist/routers/assignment.d.ts +393 -383
- package/dist/routers/assignment.d.ts.map +1 -1
- package/dist/routers/attendance.d.ts +10 -10
- package/dist/routers/auth.d.ts +4 -2
- package/dist/routers/auth.d.ts.map +1 -1
- package/dist/routers/auth.js +15 -2
- package/dist/routers/auth.js.map +1 -1
- package/dist/routers/class.d.ts +157 -153
- package/dist/routers/class.d.ts.map +1 -1
- package/dist/routers/comment.d.ts +18 -18
- package/dist/routers/conversation.d.ts +11 -11
- package/dist/routers/department.d.ts +34 -34
- package/dist/routers/discussion.d.ts +68 -56
- package/dist/routers/discussion.d.ts.map +1 -1
- package/dist/routers/discussion.js +6 -2
- package/dist/routers/discussion.js.map +1 -1
- package/dist/routers/embedding.d.ts +73 -0
- package/dist/routers/embedding.d.ts.map +1 -0
- package/dist/routers/embedding.js +151 -0
- package/dist/routers/embedding.js.map +1 -0
- package/dist/routers/event.d.ts +57 -55
- package/dist/routers/event.d.ts.map +1 -1
- package/dist/routers/file.d.ts +14 -14
- package/dist/routers/folder.d.ts +38 -38
- package/dist/routers/labChat.d.ts +16 -16
- package/dist/routers/marketing.d.ts +1 -14
- package/dist/routers/marketing.d.ts.map +1 -1
- package/dist/routers/message.d.ts +13 -13
- package/dist/routers/newtonChat.d.ts +4 -4
- package/dist/routers/notifications.d.ts +5 -5
- package/dist/routers/permissions.d.ts +14 -14
- package/dist/routers/school.d.ts +59 -55
- package/dist/routers/school.d.ts.map +1 -1
- package/dist/routers/search.d.ts +22 -1
- package/dist/routers/search.d.ts.map +1 -1
- package/dist/routers/search.js +9 -3
- package/dist/routers/search.js.map +1 -1
- package/dist/routers/section.d.ts +4 -4
- package/dist/routers/studentProgress.d.ts +1 -1
- package/dist/routers/tag.d.ts +7 -7
- package/dist/routers/user.d.ts +99 -10
- package/dist/routers/user.d.ts.map +1 -1
- package/dist/routers/user.js +19 -2
- package/dist/routers/user.js.map +1 -1
- package/dist/routers/worksheet.d.ts +93 -55
- package/dist/routers/worksheet.d.ts.map +1 -1
- package/dist/routers/worksheet.js +26 -2
- package/dist/routers/worksheet.js.map +1 -1
- package/dist/routes/aiStream.d.ts +2 -0
- package/dist/routes/aiStream.d.ts.map +1 -0
- package/dist/routes/aiStream.js +726 -0
- package/dist/routes/aiStream.js.map +1 -0
- package/dist/seedDatabase.d.ts +3 -1
- package/dist/seedDatabase.d.ts.map +1 -1
- package/dist/seedDatabase.js +6 -6
- package/dist/seedDatabase.js.map +1 -1
- package/dist/services/adminInstitution.d.ts +8 -8
- package/dist/services/adminRunJob.d.ts +4 -4
- package/dist/services/agenda.d.ts +18 -18
- package/dist/services/aiChatStream.d.ts +88 -0
- package/dist/services/aiChatStream.d.ts.map +1 -0
- package/dist/services/aiChatStream.js +254 -0
- package/dist/services/aiChatStream.js.map +1 -0
- package/dist/services/aiModifierTools.d.ts +16 -0
- package/dist/services/aiModifierTools.d.ts.map +1 -0
- package/dist/services/aiModifierTools.js +274 -0
- package/dist/services/aiModifierTools.js.map +1 -0
- package/dist/services/aiProposalTools.d.ts +32 -0
- package/dist/services/aiProposalTools.d.ts.map +1 -0
- package/dist/services/aiProposalTools.js +207 -0
- package/dist/services/aiProposalTools.js.map +1 -0
- package/dist/services/aiStream.d.ts +22 -0
- package/dist/services/aiStream.d.ts.map +1 -0
- package/dist/services/aiStream.js +142 -0
- package/dist/services/aiStream.js.map +1 -0
- package/dist/services/aiTools.d.ts +16 -0
- package/dist/services/aiTools.d.ts.map +1 -0
- package/dist/services/aiTools.js +271 -0
- package/dist/services/aiTools.js.map +1 -0
- package/dist/services/announcement.d.ts +42 -42
- package/dist/services/announcement.d.ts.map +1 -1
- package/dist/services/announcement.js +7 -2
- package/dist/services/announcement.js.map +1 -1
- package/dist/services/assignment.d.ts +355 -345
- package/dist/services/assignment.d.ts.map +1 -1
- package/dist/services/assignment.js +30 -9
- package/dist/services/assignment.js.map +1 -1
- package/dist/services/attendance.d.ts +10 -10
- package/dist/services/auth.d.ts +4 -2
- package/dist/services/auth.d.ts.map +1 -1
- package/dist/services/auth.js +13 -4
- package/dist/services/auth.js.map +1 -1
- package/dist/services/class.d.ts +146 -142
- package/dist/services/class.d.ts.map +1 -1
- package/dist/services/class.js +24 -4
- package/dist/services/class.js.map +1 -1
- package/dist/services/comment.d.ts +18 -18
- package/dist/services/conversation.d.ts +11 -11
- package/dist/services/department.d.ts +33 -33
- package/dist/services/discussion.d.ts +58 -58
- package/dist/services/discussion.d.ts.map +1 -1
- package/dist/services/discussion.js +15 -8
- package/dist/services/discussion.js.map +1 -1
- package/dist/services/discussionSummary.d.ts +21 -0
- package/dist/services/discussionSummary.d.ts.map +1 -0
- package/dist/services/discussionSummary.js +179 -0
- package/dist/services/discussionSummary.js.map +1 -0
- package/dist/services/embedding.d.ts +85 -0
- package/dist/services/embedding.d.ts.map +1 -0
- package/dist/services/embedding.js +372 -0
- package/dist/services/embedding.js.map +1 -0
- package/dist/services/event.d.ts +55 -53
- package/dist/services/event.d.ts.map +1 -1
- package/dist/services/file.d.ts +28 -28
- package/dist/services/folder.d.ts +36 -36
- package/dist/services/folder.d.ts.map +1 -1
- package/dist/services/folder.js +32 -2
- package/dist/services/folder.js.map +1 -1
- package/dist/services/labChat.d.ts +16 -16
- package/dist/services/marketing.d.ts +2 -15
- package/dist/services/marketing.d.ts.map +1 -1
- package/dist/services/marketing.js +5 -5
- package/dist/services/marketing.js.map +1 -1
- package/dist/services/message.d.ts +11 -11
- package/dist/services/message.d.ts.map +1 -1
- package/dist/services/message.js +2 -2
- package/dist/services/message.js.map +1 -1
- package/dist/services/newtonChat.d.ts +4 -4
- package/dist/services/notification.d.ts +5 -5
- package/dist/services/notification.d.ts.map +1 -1
- package/dist/services/openaiDocumentGen.d.ts +37 -0
- package/dist/services/openaiDocumentGen.d.ts.map +1 -0
- package/dist/services/openaiDocumentGen.js +262 -0
- package/dist/services/openaiDocumentGen.js.map +1 -0
- package/dist/services/permissions.d.ts +14 -14
- package/dist/services/school.d.ts +54 -50
- package/dist/services/school.d.ts.map +1 -1
- package/dist/services/search.d.ts +13 -1
- package/dist/services/search.d.ts.map +1 -1
- package/dist/services/search.js +145 -2
- package/dist/services/search.js.map +1 -1
- package/dist/services/section.d.ts +3 -3
- package/dist/services/tag.d.ts +4 -4
- package/dist/services/user.d.ts +4 -4
- package/dist/services/user.d.ts.map +1 -1
- package/dist/services/user.js +10 -15
- package/dist/services/user.js.map +1 -1
- package/dist/services/userPrivacy.d.ts +86 -0
- package/dist/services/userPrivacy.d.ts.map +1 -0
- package/dist/services/userPrivacy.js +184 -0
- package/dist/services/userPrivacy.js.map +1 -0
- package/dist/services/worksheet.d.ts +86 -57
- package/dist/services/worksheet.d.ts.map +1 -1
- package/dist/services/worksheet.js +57 -5
- package/dist/services/worksheet.js.map +1 -1
- package/dist/utils/email.d.ts.map +1 -1
- package/dist/utils/email.js +7 -3
- package/dist/utils/email.js.map +1 -1
- package/dist/utils/streamBroadcast.d.ts +11 -0
- package/dist/utils/streamBroadcast.d.ts.map +1 -0
- package/dist/utils/streamBroadcast.js +32 -0
- package/dist/utils/streamBroadcast.js.map +1 -0
- package/dist/workers/connection.d.ts +15 -0
- package/dist/workers/connection.d.ts.map +1 -1
- package/dist/workers/connection.js +20 -2
- package/dist/workers/connection.js.map +1 -1
- package/dist/workers/index.js +4 -2
- package/dist/workers/index.js.map +1 -1
- package/dist/workers/processors/createRunJobWorker.d.ts.map +1 -1
- package/dist/workers/processors/createRunJobWorker.js +31 -8
- package/dist/workers/processors/createRunJobWorker.js.map +1 -1
- package/dist/workers/processors/embedContent.d.ts +8 -0
- package/dist/workers/processors/embedContent.d.ts.map +1 -0
- package/dist/workers/processors/embedContent.js +67 -0
- package/dist/workers/processors/embedContent.js.map +1 -0
- package/dist/workers/queues.d.ts +6 -0
- package/dist/workers/queues.d.ts.map +1 -1
- package/dist/workers/queues.js +5 -3
- package/dist/workers/queues.js.map +1 -1
- package/package.json +5 -1
- package/prisma/migrations/20260609215135_init/migration.sql +1412 -0
- package/prisma/migrations/20260610130000_add_worksheet_tags/migration.sql +13 -0
- package/prisma/migrations/20260610140000_expand_embedding_source_types/migration.sql +4 -0
- package/prisma/migrations/20260611120000_add_user_terms_acceptance/migration.sql +3 -0
- package/prisma/schema.prisma +44 -7
- package/src/index.ts +4 -0
- package/src/instrument.ts +1 -1
- package/src/lib/config/cors.ts +32 -9
- package/src/lib/config/env.ts +6 -0
- package/src/lib/googleCloudStorage.ts +21 -0
- package/src/lib/inferDocumentFormat.ts +58 -0
- package/src/lib/legal.ts +2 -0
- package/src/lib/prisma.ts +40 -1
- package/src/models/auth.ts +4 -0
- package/src/models/class.ts +3 -2
- package/src/models/marketing.ts +10 -2
- package/src/models/worksheet.ts +5 -2
- package/src/pipelines/aiLabChat.ts +245 -146
- package/src/pipelines/aiLabChatContract.ts +59 -69
- package/src/pipelines/aiNewtonChat.ts +46 -43
- package/src/pipelines/labChatPrompt.ts +115 -90
- package/src/routers/_app.ts +2 -0
- package/src/routers/auth.ts +13 -0
- package/src/routers/discussion.ts +7 -0
- package/src/routers/embedding.ts +164 -0
- package/src/routers/search.ts +10 -1
- package/src/routers/user.ts +26 -0
- package/src/routers/worksheet.ts +27 -0
- package/src/routes/aiStream.ts +827 -0
- package/src/seedDatabase.ts +4 -4
- package/src/services/aiChatStream.ts +341 -0
- package/src/services/aiModifierTools.ts +341 -0
- package/src/services/aiProposalTools.ts +274 -0
- package/src/services/aiStream.ts +175 -0
- package/src/services/aiTools.ts +290 -0
- package/src/services/announcement.ts +7 -0
- package/src/services/assignment.ts +31 -7
- package/src/services/auth.ts +14 -2
- package/src/services/class.ts +27 -2
- package/src/services/discussion.ts +22 -8
- package/src/services/discussionSummary.ts +226 -0
- package/src/services/embedding.ts +446 -0
- package/src/services/folder.ts +31 -0
- package/src/services/marketing.ts +3 -3
- package/src/services/message.ts +2 -2
- package/src/services/openaiDocumentGen.ts +319 -0
- package/src/services/search.ts +163 -1
- package/src/services/user.ts +9 -17
- package/src/services/userPrivacy.ts +196 -0
- package/src/services/worksheet.ts +77 -3
- package/src/utils/email.ts +5 -1
- package/src/utils/streamBroadcast.ts +48 -0
- package/src/workers/connection.ts +19 -0
- package/src/workers/index.ts +2 -0
- package/src/workers/processors/createRunJobWorker.ts +32 -6
- package/src/workers/processors/embedContent.ts +86 -0
- package/src/workers/queues.ts +5 -1
- package/tests/helpers/registerInput.ts +20 -0
- package/tests/integration/globalSetup.ts +10 -18
- package/tests/integration/routers/auth.test.ts +13 -18
- package/tests/unit/lib/inferDocumentFormat.test.ts +33 -0
- package/tests/unit/pipelines/aiLabChatContract.test.ts +38 -21
- package/tests/unit/pipelines/labChatPrompt.test.ts +23 -36
- package/tests/unit/services/aiChatStream.test.ts +92 -0
- package/tests/unit/services/openaiDocumentGen.test.ts +65 -0
- package/prisma/migrations/20250807062924_init/migration.sql +0 -436
- package/prisma/migrations/20250919063704_init2/migration.sql +0 -24
- package/prisma/migrations/20250920143543_add_profile_fields/migration.sql +0 -15
- package/prisma/migrations/20250922165147_add_chat_models/migration.sql +0 -68
- package/prisma/migrations/20250922165314_add_chat_roles/migration.sql +0 -5
- package/prisma/migrations/20250922171242_refactor_notification_system/migration.sql +0 -20
- package/prisma/migrations/20250922172208_add_mentions_system/migration.sql +0 -21
- package/prisma/migrations/20250925072732_add_lab_chat_system/migration.sql +0 -25
- package/prisma/migrations/20251020151505_add_upload_tracking_fields/migration.sql +0 -57
- package/prisma/migrations/20251109122857_annuoncements_comments/migration.sql +0 -30
- package/prisma/migrations/20251109135555_reactions_announcements_comments/migration.sql +0 -35
- package/prisma/migrations/20260410124000_add_submission_recommendation_state/migration.sql +0 -14
- package/prisma/migrations/20260415103500_add_session_type/migration.sql +0 -33
- package/prisma/migrations/20260415133000_add_ai_usage_logs/migration.sql +0 -19
- package/prisma/migrations/20260417083000_add_conversation_member_hidden_at/migration.sql +0 -2
- package/prisma/migrations/20260502230500_assignment_submission_comments/migration.sql +0 -60
- package/prisma/migrations/20260504071500_school_memberships/migration.sql +0 -81
- package/prisma/migrations/20260506162500_consolidate_run_job_and_unify_job_status/migration.sql +0 -166
- package/prisma/migrations/20260509220000_institution_overhaul/migration.sql +0 -184
- package/prisma/migrations/20260510170000_add_folder_permissions/migration.sql +0 -93
- package/prisma/migrations/20260510183000_add_discussions/migration.sql +0 -151
- /package/.github/workflows/{npm.yml → npm-publish.yml} +0 -0
package/dist/models/agenda.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/** @returns Personal events (no class) for user in date range. */
|
|
2
|
-
export declare function findPersonalEvents(userId: string, rangeStart: Date, rangeEnd: Date): import("
|
|
2
|
+
export declare function findPersonalEvents(userId: string, rangeStart: Date, rangeEnd: Date): import("@prisma/client/runtime/library.js").PrismaPromise<({
|
|
3
3
|
class: {
|
|
4
|
-
|
|
4
|
+
section: string;
|
|
5
5
|
id: string;
|
|
6
|
+
name: string;
|
|
6
7
|
schoolId: string | null;
|
|
7
|
-
subject: string;
|
|
8
8
|
color: string | null;
|
|
9
|
-
|
|
9
|
+
subject: string;
|
|
10
10
|
syllabus: string | null;
|
|
11
11
|
departmentId: string | null;
|
|
12
12
|
discussionsEnabled: boolean;
|
|
@@ -18,10 +18,12 @@ export declare function findPersonalEvents(userId: string, rangeStart: Date, ran
|
|
|
18
18
|
id: string;
|
|
19
19
|
createdAt: Date | null;
|
|
20
20
|
classId: string;
|
|
21
|
-
modifiedAt: Date | null;
|
|
22
21
|
title: string;
|
|
23
|
-
instructions: string;
|
|
24
22
|
dueDate: Date;
|
|
23
|
+
maxGrade: number | null;
|
|
24
|
+
eventId: string | null;
|
|
25
|
+
instructions: string;
|
|
26
|
+
modifiedAt: Date | null;
|
|
25
27
|
teacherId: string;
|
|
26
28
|
acceptFiles: boolean;
|
|
27
29
|
acceptExtendedResponse: boolean;
|
|
@@ -30,35 +32,33 @@ export declare function findPersonalEvents(userId: string, rangeStart: Date, ran
|
|
|
30
32
|
aiPolicyLevel: number;
|
|
31
33
|
sectionId: string | null;
|
|
32
34
|
graded: boolean;
|
|
33
|
-
maxGrade: number | null;
|
|
34
35
|
weight: number;
|
|
35
36
|
inProgress: boolean;
|
|
36
37
|
template: boolean;
|
|
37
|
-
eventId: string | null;
|
|
38
38
|
markSchemeId: string | null;
|
|
39
39
|
order: number | null;
|
|
40
40
|
gradingBoundaryId: string | null;
|
|
41
41
|
}[];
|
|
42
42
|
} & {
|
|
43
|
-
name: string | null;
|
|
44
43
|
id: string;
|
|
45
44
|
userId: string | null;
|
|
45
|
+
location: string | null;
|
|
46
|
+
name: string | null;
|
|
46
47
|
color: string | null;
|
|
47
48
|
classId: string | null;
|
|
48
49
|
startTime: Date;
|
|
49
50
|
endTime: Date;
|
|
50
|
-
location: string | null;
|
|
51
51
|
remarks: string | null;
|
|
52
52
|
})[]>;
|
|
53
53
|
/** @returns Class events for user's classes in date range. */
|
|
54
|
-
export declare function findClassEvents(userId: string, rangeStart: Date, rangeEnd: Date): import("
|
|
54
|
+
export declare function findClassEvents(userId: string, rangeStart: Date, rangeEnd: Date): import("@prisma/client/runtime/library.js").PrismaPromise<({
|
|
55
55
|
class: {
|
|
56
|
-
|
|
56
|
+
section: string;
|
|
57
57
|
id: string;
|
|
58
|
+
name: string;
|
|
58
59
|
schoolId: string | null;
|
|
59
|
-
subject: string;
|
|
60
60
|
color: string | null;
|
|
61
|
-
|
|
61
|
+
subject: string;
|
|
62
62
|
syllabus: string | null;
|
|
63
63
|
departmentId: string | null;
|
|
64
64
|
discussionsEnabled: boolean;
|
|
@@ -70,10 +70,12 @@ export declare function findClassEvents(userId: string, rangeStart: Date, rangeE
|
|
|
70
70
|
id: string;
|
|
71
71
|
createdAt: Date | null;
|
|
72
72
|
classId: string;
|
|
73
|
-
modifiedAt: Date | null;
|
|
74
73
|
title: string;
|
|
75
|
-
instructions: string;
|
|
76
74
|
dueDate: Date;
|
|
75
|
+
maxGrade: number | null;
|
|
76
|
+
eventId: string | null;
|
|
77
|
+
instructions: string;
|
|
78
|
+
modifiedAt: Date | null;
|
|
77
79
|
teacherId: string;
|
|
78
80
|
acceptFiles: boolean;
|
|
79
81
|
acceptExtendedResponse: boolean;
|
|
@@ -82,24 +84,22 @@ export declare function findClassEvents(userId: string, rangeStart: Date, rangeE
|
|
|
82
84
|
aiPolicyLevel: number;
|
|
83
85
|
sectionId: string | null;
|
|
84
86
|
graded: boolean;
|
|
85
|
-
maxGrade: number | null;
|
|
86
87
|
weight: number;
|
|
87
88
|
inProgress: boolean;
|
|
88
89
|
template: boolean;
|
|
89
|
-
eventId: string | null;
|
|
90
90
|
markSchemeId: string | null;
|
|
91
91
|
order: number | null;
|
|
92
92
|
gradingBoundaryId: string | null;
|
|
93
93
|
}[];
|
|
94
94
|
} & {
|
|
95
|
-
name: string | null;
|
|
96
95
|
id: string;
|
|
97
96
|
userId: string | null;
|
|
97
|
+
location: string | null;
|
|
98
|
+
name: string | null;
|
|
98
99
|
color: string | null;
|
|
99
100
|
classId: string | null;
|
|
100
101
|
startTime: Date;
|
|
101
102
|
endTime: Date;
|
|
102
|
-
location: string | null;
|
|
103
103
|
remarks: string | null;
|
|
104
104
|
})[]>;
|
|
105
105
|
//# sourceMappingURL=agenda.d.ts.map
|
|
@@ -29,66 +29,108 @@ export declare const announcementSelect: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/** @returns Announcements for a class. */
|
|
32
|
-
export declare function findAnnouncementsByClassId(classId: string): import("
|
|
32
|
+
export declare function findAnnouncementsByClassId(classId: string): import("@prisma/client/runtime/library.js").PrismaPromise<{
|
|
33
33
|
id: string;
|
|
34
34
|
createdAt: Date;
|
|
35
35
|
_count: {
|
|
36
36
|
comments: number;
|
|
37
37
|
};
|
|
38
|
-
modifiedAt: Date | null;
|
|
39
38
|
remarks: string;
|
|
40
|
-
teacher: {
|
|
41
|
-
id: string;
|
|
42
|
-
username: string;
|
|
43
|
-
profile: {
|
|
44
|
-
displayName: string | null;
|
|
45
|
-
profilePicture: string | null;
|
|
46
|
-
profilePictureThumbnail: string | null;
|
|
47
|
-
} | null;
|
|
48
|
-
};
|
|
49
39
|
attachments: {
|
|
50
40
|
path: string;
|
|
51
41
|
type: string;
|
|
52
|
-
name: string;
|
|
53
42
|
id: string;
|
|
43
|
+
name: string;
|
|
54
44
|
size: number | null;
|
|
55
45
|
uploadedAt: Date | null;
|
|
56
46
|
thumbnailId: string | null;
|
|
57
47
|
}[];
|
|
58
|
-
}[]>;
|
|
59
|
-
/** @returns Announcement by ID and class. */
|
|
60
|
-
export declare function findAnnouncementByIdAndClass(id: string, classId: string): import(".prisma/client").Prisma.Prisma__AnnouncementClient<{
|
|
61
|
-
id: string;
|
|
62
|
-
createdAt: Date;
|
|
63
48
|
modifiedAt: Date | null;
|
|
64
|
-
remarks: string;
|
|
65
49
|
teacher: {
|
|
66
50
|
id: string;
|
|
67
51
|
username: string;
|
|
68
52
|
profile: {
|
|
69
|
-
displayName: string | null;
|
|
70
53
|
profilePicture: string | null;
|
|
54
|
+
displayName: string | null;
|
|
71
55
|
profilePictureThumbnail: string | null;
|
|
72
56
|
} | null;
|
|
73
57
|
};
|
|
58
|
+
}[]>;
|
|
59
|
+
/** @returns Announcement by ID and class. */
|
|
60
|
+
export declare function findAnnouncementByIdAndClass(id: string, classId: string): import("@prisma/client/runtime/library.js").DynamicModelExtensionFluentApi<import(".prisma/client").Prisma.TypeMap<import("@prisma/client/runtime/library.js").InternalArgs & {
|
|
61
|
+
result: {
|
|
62
|
+
userProfile: {
|
|
63
|
+
profilePicture: () => {
|
|
64
|
+
needs: {
|
|
65
|
+
profilePicture: true;
|
|
66
|
+
};
|
|
67
|
+
compute(profile: {
|
|
68
|
+
profilePicture: string | null;
|
|
69
|
+
}): string | null;
|
|
70
|
+
};
|
|
71
|
+
profilePictureThumbnail: () => {
|
|
72
|
+
needs: {
|
|
73
|
+
profilePictureThumbnail: true;
|
|
74
|
+
};
|
|
75
|
+
compute(profile: {
|
|
76
|
+
profilePictureThumbnail: string | null;
|
|
77
|
+
}): string | null;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
model: {};
|
|
82
|
+
query: {};
|
|
83
|
+
client: {};
|
|
84
|
+
}, {}>, "Announcement", "findFirst", null> & import("@prisma/client/runtime/library.js").PrismaPromise<{
|
|
85
|
+
id: string;
|
|
86
|
+
createdAt: Date;
|
|
87
|
+
remarks: string;
|
|
74
88
|
attachments: {
|
|
75
89
|
path: string;
|
|
76
90
|
type: string;
|
|
77
|
-
name: string;
|
|
78
91
|
id: string;
|
|
92
|
+
name: string;
|
|
79
93
|
size: number | null;
|
|
80
94
|
uploadedAt: Date | null;
|
|
81
95
|
thumbnailId: string | null;
|
|
82
96
|
}[];
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
97
|
+
modifiedAt: Date | null;
|
|
98
|
+
teacher: {
|
|
99
|
+
id: string;
|
|
100
|
+
username: string;
|
|
101
|
+
profile: {
|
|
102
|
+
profilePicture: string | null;
|
|
103
|
+
displayName: string | null;
|
|
104
|
+
profilePictureThumbnail: string | null;
|
|
105
|
+
} | null;
|
|
88
106
|
};
|
|
89
|
-
}>;
|
|
107
|
+
} | null>;
|
|
90
108
|
/** @returns Announcement by ID with class teachers and school admins. */
|
|
91
|
-
export declare function findAnnouncementWithClass(id: string): import(".prisma/client").Prisma.
|
|
109
|
+
export declare function findAnnouncementWithClass(id: string): import("@prisma/client/runtime/library.js").DynamicModelExtensionFluentApi<import(".prisma/client").Prisma.TypeMap<import("@prisma/client/runtime/library.js").InternalArgs & {
|
|
110
|
+
result: {
|
|
111
|
+
userProfile: {
|
|
112
|
+
profilePicture: () => {
|
|
113
|
+
needs: {
|
|
114
|
+
profilePicture: true;
|
|
115
|
+
};
|
|
116
|
+
compute(profile: {
|
|
117
|
+
profilePicture: string | null;
|
|
118
|
+
}): string | null;
|
|
119
|
+
};
|
|
120
|
+
profilePictureThumbnail: () => {
|
|
121
|
+
needs: {
|
|
122
|
+
profilePictureThumbnail: true;
|
|
123
|
+
};
|
|
124
|
+
compute(profile: {
|
|
125
|
+
profilePictureThumbnail: string | null;
|
|
126
|
+
}): string | null;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
model: {};
|
|
131
|
+
query: {};
|
|
132
|
+
client: {};
|
|
133
|
+
}, {}>, "Announcement", "findUnique", null> & import("@prisma/client/runtime/library.js").PrismaPromise<({
|
|
92
134
|
class: {
|
|
93
135
|
school: ({
|
|
94
136
|
users: {
|
|
@@ -98,13 +140,13 @@ export declare function findAnnouncementWithClass(id: string): import(".prisma/c
|
|
|
98
140
|
userId: string;
|
|
99
141
|
}[];
|
|
100
142
|
} & {
|
|
101
|
-
name: string;
|
|
102
143
|
id: string;
|
|
144
|
+
createdAt: Date;
|
|
145
|
+
updatedAt: Date;
|
|
146
|
+
name: string;
|
|
103
147
|
description: string | null;
|
|
104
148
|
logoId: string | null;
|
|
105
149
|
subdomain: string | null;
|
|
106
|
-
createdAt: Date;
|
|
107
|
-
updatedAt: Date;
|
|
108
150
|
}) | null;
|
|
109
151
|
teachers: {
|
|
110
152
|
id: string;
|
|
@@ -112,15 +154,17 @@ export declare function findAnnouncementWithClass(id: string): import(".prisma/c
|
|
|
112
154
|
email: string;
|
|
113
155
|
password: string;
|
|
114
156
|
verified: boolean;
|
|
157
|
+
termsAcceptedAt: Date | null;
|
|
158
|
+
termsVersion: string | null;
|
|
115
159
|
schoolId: string | null;
|
|
116
160
|
}[];
|
|
117
161
|
} & {
|
|
118
|
-
|
|
162
|
+
section: string;
|
|
119
163
|
id: string;
|
|
164
|
+
name: string;
|
|
120
165
|
schoolId: string | null;
|
|
121
|
-
subject: string;
|
|
122
166
|
color: string | null;
|
|
123
|
-
|
|
167
|
+
subject: string;
|
|
124
168
|
syllabus: string | null;
|
|
125
169
|
departmentId: string | null;
|
|
126
170
|
discussionsEnabled: boolean;
|
|
@@ -130,61 +174,73 @@ export declare function findAnnouncementWithClass(id: string): import(".prisma/c
|
|
|
130
174
|
attachments: {
|
|
131
175
|
path: string;
|
|
132
176
|
type: string;
|
|
133
|
-
name: string;
|
|
134
177
|
id: string;
|
|
178
|
+
name: string;
|
|
135
179
|
size: number | null;
|
|
136
|
-
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
137
180
|
thumbnail: {
|
|
138
181
|
path: string;
|
|
139
182
|
} | null;
|
|
183
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
140
184
|
}[];
|
|
141
185
|
} & {
|
|
142
186
|
id: string;
|
|
143
187
|
createdAt: Date;
|
|
144
188
|
classId: string;
|
|
189
|
+
remarks: string;
|
|
145
190
|
modifiedAt: Date | null;
|
|
146
191
|
teacherId: string;
|
|
147
|
-
|
|
148
|
-
}) | null, null, import("@prisma/client/runtime/library.js").DefaultArgs, {
|
|
149
|
-
datasources: {
|
|
150
|
-
db: {
|
|
151
|
-
url: string;
|
|
152
|
-
};
|
|
153
|
-
};
|
|
154
|
-
}>;
|
|
192
|
+
}) | null>;
|
|
155
193
|
/** Create an announcement. */
|
|
156
194
|
export declare function createAnnouncement(data: {
|
|
157
195
|
remarks: string;
|
|
158
196
|
teacherId: string;
|
|
159
197
|
classId: string;
|
|
160
|
-
}): import(".prisma/client").Prisma.
|
|
198
|
+
}): import("@prisma/client/runtime/library.js").DynamicModelExtensionFluentApi<import(".prisma/client").Prisma.TypeMap<import("@prisma/client/runtime/library.js").InternalArgs & {
|
|
199
|
+
result: {
|
|
200
|
+
userProfile: {
|
|
201
|
+
profilePicture: () => {
|
|
202
|
+
needs: {
|
|
203
|
+
profilePicture: true;
|
|
204
|
+
};
|
|
205
|
+
compute(profile: {
|
|
206
|
+
profilePicture: string | null;
|
|
207
|
+
}): string | null;
|
|
208
|
+
};
|
|
209
|
+
profilePictureThumbnail: () => {
|
|
210
|
+
needs: {
|
|
211
|
+
profilePictureThumbnail: true;
|
|
212
|
+
};
|
|
213
|
+
compute(profile: {
|
|
214
|
+
profilePictureThumbnail: string | null;
|
|
215
|
+
}): string | null;
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
model: {};
|
|
220
|
+
query: {};
|
|
221
|
+
client: {};
|
|
222
|
+
}, {}>, "Announcement", "create", never> & import("@prisma/client/runtime/library.js").PrismaPromise<{
|
|
161
223
|
id: string;
|
|
162
224
|
createdAt: Date;
|
|
163
|
-
modifiedAt: Date | null;
|
|
164
225
|
remarks: string;
|
|
165
|
-
teacher: {
|
|
166
|
-
id: string;
|
|
167
|
-
username: string;
|
|
168
|
-
profile: {
|
|
169
|
-
displayName: string | null;
|
|
170
|
-
profilePicture: string | null;
|
|
171
|
-
profilePictureThumbnail: string | null;
|
|
172
|
-
} | null;
|
|
173
|
-
};
|
|
174
226
|
attachments: {
|
|
175
227
|
path: string;
|
|
176
228
|
type: string;
|
|
177
|
-
name: string;
|
|
178
229
|
id: string;
|
|
230
|
+
name: string;
|
|
179
231
|
size: number | null;
|
|
180
232
|
uploadedAt: Date | null;
|
|
181
233
|
thumbnailId: string | null;
|
|
182
234
|
}[];
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
235
|
+
modifiedAt: Date | null;
|
|
236
|
+
teacher: {
|
|
237
|
+
id: string;
|
|
238
|
+
username: string;
|
|
239
|
+
profile: {
|
|
240
|
+
profilePicture: string | null;
|
|
241
|
+
displayName: string | null;
|
|
242
|
+
profilePictureThumbnail: string | null;
|
|
243
|
+
} | null;
|
|
188
244
|
};
|
|
189
245
|
}>;
|
|
190
246
|
/** Update announcement attachments. */
|
|
@@ -197,82 +253,136 @@ export declare function updateAnnouncementAttachments(id: string, data: {
|
|
|
197
253
|
in: string[];
|
|
198
254
|
};
|
|
199
255
|
};
|
|
200
|
-
}): import(".prisma/client").Prisma.
|
|
256
|
+
}): import("@prisma/client/runtime/library.js").DynamicModelExtensionFluentApi<import(".prisma/client").Prisma.TypeMap<import("@prisma/client/runtime/library.js").InternalArgs & {
|
|
257
|
+
result: {
|
|
258
|
+
userProfile: {
|
|
259
|
+
profilePicture: () => {
|
|
260
|
+
needs: {
|
|
261
|
+
profilePicture: true;
|
|
262
|
+
};
|
|
263
|
+
compute(profile: {
|
|
264
|
+
profilePicture: string | null;
|
|
265
|
+
}): string | null;
|
|
266
|
+
};
|
|
267
|
+
profilePictureThumbnail: () => {
|
|
268
|
+
needs: {
|
|
269
|
+
profilePictureThumbnail: true;
|
|
270
|
+
};
|
|
271
|
+
compute(profile: {
|
|
272
|
+
profilePictureThumbnail: string | null;
|
|
273
|
+
}): string | null;
|
|
274
|
+
};
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
model: {};
|
|
278
|
+
query: {};
|
|
279
|
+
client: {};
|
|
280
|
+
}, {}>, "Announcement", "update", never> & import("@prisma/client/runtime/library.js").PrismaPromise<{
|
|
201
281
|
id: string;
|
|
202
282
|
createdAt: Date;
|
|
203
|
-
modifiedAt: Date | null;
|
|
204
283
|
remarks: string;
|
|
205
|
-
teacher: {
|
|
206
|
-
id: string;
|
|
207
|
-
username: string;
|
|
208
|
-
profile: {
|
|
209
|
-
displayName: string | null;
|
|
210
|
-
profilePicture: string | null;
|
|
211
|
-
profilePictureThumbnail: string | null;
|
|
212
|
-
} | null;
|
|
213
|
-
};
|
|
214
284
|
attachments: {
|
|
215
285
|
path: string;
|
|
216
286
|
type: string;
|
|
217
|
-
name: string;
|
|
218
287
|
id: string;
|
|
288
|
+
name: string;
|
|
219
289
|
size: number | null;
|
|
220
290
|
uploadedAt: Date | null;
|
|
221
291
|
thumbnailId: string | null;
|
|
222
292
|
}[];
|
|
223
|
-
}, never, import("@prisma/client/runtime/library.js").DefaultArgs, {
|
|
224
|
-
datasources: {
|
|
225
|
-
db: {
|
|
226
|
-
url: string;
|
|
227
|
-
};
|
|
228
|
-
};
|
|
229
|
-
}>;
|
|
230
|
-
/** Update announcement remarks. */
|
|
231
|
-
export declare function updateAnnouncement(id: string, data: {
|
|
232
|
-
remarks?: string;
|
|
233
|
-
}): import(".prisma/client").Prisma.Prisma__AnnouncementClient<{
|
|
234
|
-
id: string;
|
|
235
|
-
createdAt: Date;
|
|
236
293
|
modifiedAt: Date | null;
|
|
237
|
-
remarks: string;
|
|
238
294
|
teacher: {
|
|
239
295
|
id: string;
|
|
240
296
|
username: string;
|
|
241
297
|
profile: {
|
|
242
|
-
displayName: string | null;
|
|
243
298
|
profilePicture: string | null;
|
|
299
|
+
displayName: string | null;
|
|
244
300
|
profilePictureThumbnail: string | null;
|
|
245
301
|
} | null;
|
|
246
302
|
};
|
|
303
|
+
}>;
|
|
304
|
+
/** Update announcement remarks. */
|
|
305
|
+
export declare function updateAnnouncement(id: string, data: {
|
|
306
|
+
remarks?: string;
|
|
307
|
+
}): import("@prisma/client/runtime/library.js").DynamicModelExtensionFluentApi<import(".prisma/client").Prisma.TypeMap<import("@prisma/client/runtime/library.js").InternalArgs & {
|
|
308
|
+
result: {
|
|
309
|
+
userProfile: {
|
|
310
|
+
profilePicture: () => {
|
|
311
|
+
needs: {
|
|
312
|
+
profilePicture: true;
|
|
313
|
+
};
|
|
314
|
+
compute(profile: {
|
|
315
|
+
profilePicture: string | null;
|
|
316
|
+
}): string | null;
|
|
317
|
+
};
|
|
318
|
+
profilePictureThumbnail: () => {
|
|
319
|
+
needs: {
|
|
320
|
+
profilePictureThumbnail: true;
|
|
321
|
+
};
|
|
322
|
+
compute(profile: {
|
|
323
|
+
profilePictureThumbnail: string | null;
|
|
324
|
+
}): string | null;
|
|
325
|
+
};
|
|
326
|
+
};
|
|
327
|
+
};
|
|
328
|
+
model: {};
|
|
329
|
+
query: {};
|
|
330
|
+
client: {};
|
|
331
|
+
}, {}>, "Announcement", "update", never> & import("@prisma/client/runtime/library.js").PrismaPromise<{
|
|
332
|
+
id: string;
|
|
333
|
+
createdAt: Date;
|
|
334
|
+
remarks: string;
|
|
247
335
|
attachments: {
|
|
248
336
|
path: string;
|
|
249
337
|
type: string;
|
|
250
|
-
name: string;
|
|
251
338
|
id: string;
|
|
339
|
+
name: string;
|
|
252
340
|
size: number | null;
|
|
253
341
|
uploadedAt: Date | null;
|
|
254
342
|
thumbnailId: string | null;
|
|
255
343
|
}[];
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
344
|
+
modifiedAt: Date | null;
|
|
345
|
+
teacher: {
|
|
346
|
+
id: string;
|
|
347
|
+
username: string;
|
|
348
|
+
profile: {
|
|
349
|
+
profilePicture: string | null;
|
|
350
|
+
displayName: string | null;
|
|
351
|
+
profilePictureThumbnail: string | null;
|
|
352
|
+
} | null;
|
|
261
353
|
};
|
|
262
354
|
}>;
|
|
263
355
|
/** Delete an announcement. */
|
|
264
|
-
export declare function deleteAnnouncement(id: string): import(".prisma/client").Prisma.
|
|
356
|
+
export declare function deleteAnnouncement(id: string): import("@prisma/client/runtime/library.js").DynamicModelExtensionFluentApi<import(".prisma/client").Prisma.TypeMap<import("@prisma/client/runtime/library.js").InternalArgs & {
|
|
357
|
+
result: {
|
|
358
|
+
userProfile: {
|
|
359
|
+
profilePicture: () => {
|
|
360
|
+
needs: {
|
|
361
|
+
profilePicture: true;
|
|
362
|
+
};
|
|
363
|
+
compute(profile: {
|
|
364
|
+
profilePicture: string | null;
|
|
365
|
+
}): string | null;
|
|
366
|
+
};
|
|
367
|
+
profilePictureThumbnail: () => {
|
|
368
|
+
needs: {
|
|
369
|
+
profilePictureThumbnail: true;
|
|
370
|
+
};
|
|
371
|
+
compute(profile: {
|
|
372
|
+
profilePictureThumbnail: string | null;
|
|
373
|
+
}): string | null;
|
|
374
|
+
};
|
|
375
|
+
};
|
|
376
|
+
};
|
|
377
|
+
model: {};
|
|
378
|
+
query: {};
|
|
379
|
+
client: {};
|
|
380
|
+
}, {}>, "Announcement", "delete", never> & import("@prisma/client/runtime/library.js").PrismaPromise<{
|
|
265
381
|
id: string;
|
|
266
382
|
createdAt: Date;
|
|
267
383
|
classId: string;
|
|
384
|
+
remarks: string;
|
|
268
385
|
modifiedAt: Date | null;
|
|
269
386
|
teacherId: string;
|
|
270
|
-
remarks: string;
|
|
271
|
-
}, never, import("@prisma/client/runtime/library.js").DefaultArgs, {
|
|
272
|
-
datasources: {
|
|
273
|
-
db: {
|
|
274
|
-
url: string;
|
|
275
|
-
};
|
|
276
|
-
};
|
|
277
387
|
}>;
|
|
278
388
|
//# sourceMappingURL=announcement.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"announcement.d.ts","sourceRoot":"/","sources":["models/announcement.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6B9B,CAAC;AAEF,0CAA0C;AAC1C,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;KAWzD;AAED,6CAA6C;AAC7C,wBAAgB,4BAA4B,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"announcement.d.ts","sourceRoot":"/","sources":["models/announcement.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6B9B,CAAC;AAEF,0CAA0C;AAC1C,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;KAWzD;AAED,6CAA6C;AAC7C,wBAAgB,4BAA4B,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAKvE;AAED,yEAAyE;AACzE,wBAAgB,yBAAyB,CAAC,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAoCnD;AAED,8BAA8B;AAC9B,wBAAgB,kBAAkB,CAAC,IAAI,EAAE;IACvC,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GASA;AAED,uCAAuC;AACvC,wBAAgB,6BAA6B,CAC3C,EAAE,EAAE,MAAM,EACV,IAAI,EAAE;IACJ,OAAO,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC3B,UAAU,CAAC,EAAE;QAAE,EAAE,EAAE;YAAE,EAAE,EAAE,MAAM,EAAE,CAAA;SAAE,CAAA;KAAE,CAAC;CACvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAcF;AAED,mCAAmC;AACnC,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAMxE;AAED,8BAA8B;AAC9B,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAI5C"}
|