Skip to Content

Folder: utils/

this folder is one drawer in the backend filing cabinet.

ca-local-datetime.ts

Path: src/utils/ca-local-datetime.ts

Header from code: ca-local-datetime.ts

Current Affairs: local date/time without extra libraries


current-affairs-date.ts

Path: src/utils/current-affairs-date.ts

Header from code: current-affairs-date.ts

Current Affairs date string validation


current-affairs-search-expand.ts

Path: src/utils/current-affairs-search-expand.ts

Header from code: current-affairs-search-expand.ts

Current Affairs global search: query expansion


dto.ts

Path: src/utils/dto.ts

Header from code: dto.ts — DATA TRANSFER OBJECTS (API-safe user shapes)

“DTO” = Data Transfer Object = the JSON shape we send to clients.


india-study-calendar.ts

Path: src/utils/india-study-calendar.ts

Header from code: india-study-calendar.ts

India study calendar (single timezone for CA + PYQ week boards)


localized-display-title.ts

Path: src/utils/localized-display-title.ts

Header from code: localized-display-title.ts

Localized display titles (English + Hindi)


nexus-entity-status.ts

Path: src/utils/nexus-entity-status.ts

Header from code: nexus-entity-status.ts

Nexus entity status & MongoDB filters


yt-solution-stored.ts

Path: src/utils/yt-solution-stored.ts

Header from code: yt-solution-stored.ts

Practice YT: yt_solution field normalization


yt-solution-url.ts

Path: src/utils/yt-solution-url.ts

Header from code: yt-solution-url.ts

YouTube solution URL validation (Practice YT bulk import)


Last updated on