Skip to content

cohort calendar#46

Closed
Vayras wants to merge 4 commits intomainfrom
feat/cohort-calendar
Closed

cohort calendar#46
Vayras wants to merge 4 commits intomainfrom
feat/cohort-calendar

Conversation

@Vayras
Copy link
Copy Markdown
Collaborator

@Vayras Vayras commented Jan 21, 2026

can be used to create a specific calendar for each cohort , can do all CRUD on the said calendar , add events, update events, delete events , share via email

needs a google workspace account
in your dev config

google:
  serviceAccountJson: 
  adminEmail: 

@Vayras Vayras marked this pull request as ready for review January 21, 2026 13:28
@Vayras Vayras requested a review from theanmolsharma January 21, 2026 13:29
endDate!: Date;

@Column({ nullable: true })
googleCalendarId?: string;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: change type to string | null instead of string | undefined

Suggested change
googleCalendarId?: string;
googleCalendarId: string | null;

Comment thread package.json
"axios": "^1.7.2",
"currency.js": "^2.0.4",
"eta": "^3.5.0",
"googleapis": "^170.1.0",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of this, we should just install what we need ie @googleapis/calendar and maybe google-auth-library

serviceAccountJson: string;

@IsEmail()
adminEmail: string;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: rename to clientEmail

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update config/dev.config.example.yaml as well

@theanmolsharma
Copy link
Copy Markdown
Collaborator

Closing in favour of #68

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants