const rolldeep: Developer & Daddy = {
dev: {
coding: 'with my not smart π§ ',
favorite: {
language: 'TypeScript',
framework: 'NestJS',
orm: 'Prisma',
},
},
family: {
wife: 'β€οΈ'.repeat(Number.MAX_SAFE_INTEGER),
baby: {
name: 'βοΈνμ΄',
gender: EGender.MALE,
isBorn: false,
getBirthDate: () => dayjs('2025-04-05'),
},
},
hobby: {
bass: 'practicing diligently πΈ',
},
lifeStatus: async () => {
const { baby } = rolldeep.family;
const birthDate = baby.getBirthDate();
const now = dayjs();
const timeUntilBirth = birthDate.diff(now, 'millisecond');
const messages: readonly string[] = [
`${baby.name}μ ν루 빨리 λ³΄κ³ μΆλ€ π₯°`,
'건κ°νκ² μ μλΌκ³ μμ§? π',
'μλ§λ μ¬μ΄μ’κ² μ§λ΄κ³ μμ΄ π',
'μλΉ κ° λ λ νκ² μ§μΌμ€κ² πͺ',
];
const waitForBaby = () => {
return new Promise<string>((resolve) => {
let messageIndex = 0;
const messageInterval = setInterval(() => {
console.log(messages[messageIndex]);
messageIndex = (messageIndex + 1) % messages.length;
}, 2000);
setTimeout(
() => {
baby.isBorn = true;
clearInterval(messageInterval);
resolve(`${baby.name}μ΄κ° νμ΄λ¬μ΄μ! πΆ`);
},
Math.max(0, timeUntilBirth),
);
});
};
return await waitForBaby();
},
};
export default rolldeep;
rolldeep-stepmerrily
Follow
πΈ
playing mega ukulele
Pinned Loading
-
-
-
-
-
-
rolldeep-nestjs-starter
rolldeep-nestjs-starter Public templatenestjs restful api server template just for me
TypeScript 1
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.