@confed/db-types 0.3.0 → 0.5.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +248 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -252,6 +252,254 @@ export interface NewCeCourseDeptMap {
252
252
  createdAt?: string | null;
253
253
  updatedAt?: string | null;
254
254
  }
255
+ export interface McTerm {
256
+ objectId: string;
257
+ code: string;
258
+ name: string | null;
259
+ termCode: string | null;
260
+ contentHash: string;
261
+ isActive: number | null;
262
+ createdAt: string | null;
263
+ updatedAt: string | null;
264
+ }
265
+ export interface NewMcTerm {
266
+ objectId: string;
267
+ code: string;
268
+ name?: string | null;
269
+ termCode?: string | null;
270
+ contentHash: string;
271
+ isActive?: number | null;
272
+ createdAt?: string | null;
273
+ updatedAt?: string | null;
274
+ }
275
+ export interface McProgramArea {
276
+ objectId: string;
277
+ code: string;
278
+ name: string | null;
279
+ descriptionHtml: string | null;
280
+ contentHash: string;
281
+ isActive: number | null;
282
+ createdAt: string | null;
283
+ updatedAt: string | null;
284
+ }
285
+ export interface NewMcProgramArea {
286
+ objectId: string;
287
+ code: string;
288
+ name?: string | null;
289
+ descriptionHtml?: string | null;
290
+ contentHash: string;
291
+ isActive?: number | null;
292
+ createdAt?: string | null;
293
+ updatedAt?: string | null;
294
+ }
295
+ export interface McCourseCategory {
296
+ objectId: string;
297
+ code: string;
298
+ name: string | null;
299
+ contentHash: string;
300
+ isActive: number | null;
301
+ createdAt: string | null;
302
+ updatedAt: string | null;
303
+ }
304
+ export interface NewMcCourseCategory {
305
+ objectId: string;
306
+ code: string;
307
+ name?: string | null;
308
+ contentHash: string;
309
+ isActive?: number | null;
310
+ createdAt?: string | null;
311
+ updatedAt?: string | null;
312
+ }
313
+ export interface McCourse {
314
+ objectId: string;
315
+ code: string;
316
+ subj: string | null;
317
+ courseNumber: string;
318
+ title: string;
319
+ descriptionHtml: string | null;
320
+ learningGoalsHtml: string | null;
321
+ outlineHtml: string | null;
322
+ prerequisitesHtml: string | null;
323
+ targetAudienceHtml: string | null;
324
+ additionalInfoHtml: string | null;
325
+ metaDescription: string | null;
326
+ programOfficeCode: string | null;
327
+ programOfficeName: string | null;
328
+ imageUrl: string | null;
329
+ videoUrl: string | null;
330
+ videoCaption: string | null;
331
+ pageUrl: string | null;
332
+ notifyUrl: string | null;
333
+ contentHash: string;
334
+ isActive: number | null;
335
+ createdAt: string | null;
336
+ updatedAt: string | null;
337
+ }
338
+ export interface NewMcCourse {
339
+ objectId: string;
340
+ code: string;
341
+ subj?: string | null;
342
+ courseNumber: string;
343
+ title: string;
344
+ descriptionHtml?: string | null;
345
+ learningGoalsHtml?: string | null;
346
+ outlineHtml?: string | null;
347
+ prerequisitesHtml?: string | null;
348
+ targetAudienceHtml?: string | null;
349
+ additionalInfoHtml?: string | null;
350
+ metaDescription?: string | null;
351
+ programOfficeCode?: string | null;
352
+ programOfficeName?: string | null;
353
+ imageUrl?: string | null;
354
+ videoUrl?: string | null;
355
+ videoCaption?: string | null;
356
+ pageUrl?: string | null;
357
+ notifyUrl?: string | null;
358
+ contentHash: string;
359
+ isActive?: number | null;
360
+ createdAt?: string | null;
361
+ updatedAt?: string | null;
362
+ }
363
+ export interface McCourseProgramArea {
364
+ courseObjectId: string;
365
+ programAreaCode: string;
366
+ }
367
+ export interface NewMcCourseProgramArea {
368
+ courseObjectId: string;
369
+ programAreaCode: string;
370
+ }
371
+ export interface McCourseCategoryMap {
372
+ courseObjectId: string;
373
+ categoryCode: string;
374
+ }
375
+ export interface NewMcCourseCategoryMap {
376
+ courseObjectId: string;
377
+ categoryCode: string;
378
+ }
379
+ export interface McSection {
380
+ objectId: string;
381
+ courseObjectId: string;
382
+ code: string | null;
383
+ title: string | null;
384
+ termCode: string | null;
385
+ termName: string | null;
386
+ startDate: string | null;
387
+ endDate: string | null;
388
+ enrollmentOpens: string | null;
389
+ enrollmentCloses: string | null;
390
+ contactHours: number | null;
391
+ feeCents: number | null;
392
+ capacity: number | null;
393
+ waitlistCapacity: number | null;
394
+ enrollUrl: string | null;
395
+ contentHash: string;
396
+ availability: string | null;
397
+ availabilityText: string | null;
398
+ action: string | null;
399
+ actionText: string | null;
400
+ enrolled: number | null;
401
+ waitlisted: number | null;
402
+ isActive: number | null;
403
+ createdAt: string | null;
404
+ updatedAt: string | null;
405
+ }
406
+ export interface NewMcSection {
407
+ objectId: string;
408
+ courseObjectId: string;
409
+ code?: string | null;
410
+ title?: string | null;
411
+ termCode?: string | null;
412
+ termName?: string | null;
413
+ startDate?: string | null;
414
+ endDate?: string | null;
415
+ enrollmentOpens?: string | null;
416
+ enrollmentCloses?: string | null;
417
+ contactHours?: number | null;
418
+ feeCents?: number | null;
419
+ capacity?: number | null;
420
+ waitlistCapacity?: number | null;
421
+ enrollUrl?: string | null;
422
+ contentHash: string;
423
+ availability?: string | null;
424
+ availabilityText?: string | null;
425
+ action?: string | null;
426
+ actionText?: string | null;
427
+ enrolled?: number | null;
428
+ waitlisted?: number | null;
429
+ isActive?: number | null;
430
+ createdAt?: string | null;
431
+ updatedAt?: string | null;
432
+ }
433
+ export interface McSectionSchedule {
434
+ objectId: string;
435
+ sectionObjectId: string;
436
+ scheduleType: string | null;
437
+ days: string | null;
438
+ startTime: string | null;
439
+ endTime: string | null;
440
+ startDate: string | null;
441
+ endDate: string | null;
442
+ sessions: number | null;
443
+ building: string | null;
444
+ room: string | null;
445
+ campusCode: string | null;
446
+ campusName: string | null;
447
+ frequency: number | null;
448
+ skipDates: string | null;
449
+ }
450
+ export interface NewMcSectionSchedule {
451
+ objectId: string;
452
+ sectionObjectId: string;
453
+ scheduleType?: string | null;
454
+ days?: string | null;
455
+ startTime?: string | null;
456
+ endTime?: string | null;
457
+ startDate?: string | null;
458
+ endDate?: string | null;
459
+ sessions?: number | null;
460
+ building?: string | null;
461
+ room?: string | null;
462
+ campusCode?: string | null;
463
+ campusName?: string | null;
464
+ frequency?: number | null;
465
+ skipDates?: string | null;
466
+ }
467
+ export interface McSectionMeeting {
468
+ sectionObjectId: string;
469
+ seq: number;
470
+ date: string | null;
471
+ startTime: string | null;
472
+ endTime: string | null;
473
+ scheduleType: string | null;
474
+ location: string | null;
475
+ instructors: string | null;
476
+ notes: string | null;
477
+ }
478
+ export interface NewMcSectionMeeting {
479
+ sectionObjectId: string;
480
+ seq: number;
481
+ date?: string | null;
482
+ startTime?: string | null;
483
+ endTime?: string | null;
484
+ scheduleType?: string | null;
485
+ location?: string | null;
486
+ instructors?: string | null;
487
+ notes?: string | null;
488
+ }
489
+ export interface McSectionFee {
490
+ objectId: string;
491
+ sectionObjectId: string;
492
+ label: string | null;
493
+ creditType: string | null;
494
+ amountCents: number;
495
+ }
496
+ export interface NewMcSectionFee {
497
+ objectId: string;
498
+ sectionObjectId: string;
499
+ label?: string | null;
500
+ creditType?: string | null;
501
+ amountCents: number;
502
+ }
255
503
  export interface OlTextbook {
256
504
  id: number;
257
505
  courseId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@confed/db-types",
3
- "version": "0.3.0",
3
+ "version": "0.5.0",
4
4
  "description": "TypeScript types for the CC Courses Sync D1 database",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",