Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeenciu committed Jul 8, 2023
1 parent 8dff940 commit e7ebd81
Show file tree
Hide file tree
Showing 4 changed files with 1,196 additions and 247 deletions.
4 changes: 3 additions & 1 deletion libs/training-events/src/actions/emit-training-event.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import { v4 as uuidv4 } from 'uuid';
import { TrainingEvent, TrainingEventData } from '../types';
import { TrainingEvent, TrainingEventData, Training } from '@rovacc/training-events-types';
import {
SYSTEM_ID,
TRAINING_COLLECTION,
TRAINING_EVENTS_SUBCOLLECTION,
} from '../config';
import { getFirestore } from 'firebase-admin/firestore';
import { FirestoreNotInitialzedException } from '../exception/firestore-not-initialized';
import { getDate } from '../helpers/get-date';
import { isEmitted, reduceEvent } from '../events';

export const emitTrainingEvent = async (
eventData: TrainingEventData,
Expand Down
158 changes: 0 additions & 158 deletions libs/training-events/src/types.ts

This file was deleted.

Loading

0 comments on commit e7ebd81

Please sign in to comment.