add feature for sending telegram notifications on expense create, update and delete and group creation. #406
Annotations
8 errors and 1 warning
Check TypeScript types:
src/lib/featureFlags.ts#L10
Property 'NEXT_PUBLIC_ENABLE_NOTIFICATIONS' does not exist on type '{ POSTGRES_URL_NON_POOLING: string; POSTGRES_PRISMA_URL: string; NEXT_PUBLIC_BASE_URL: string; NEXT_PUBLIC_ENABLE_EXPENSE_DOCUMENTS: boolean; NEXT_PUBLIC_ENABLE_RECEIPT_EXTRACT: boolean; ... 6 more ...; OPENAI_API_KEY?: string | undefined; }'.
|
Check TypeScript types:
src/lib/notification.ts#L6
Property 'TELEGRAM_API_URL' does not exist on type '{ POSTGRES_URL_NON_POOLING: string; POSTGRES_PRISMA_URL: string; NEXT_PUBLIC_BASE_URL: string; NEXT_PUBLIC_ENABLE_EXPENSE_DOCUMENTS: boolean; NEXT_PUBLIC_ENABLE_RECEIPT_EXTRACT: boolean; ... 6 more ...; OPENAI_API_KEY?: string | undefined; }'.
|
Check TypeScript types:
src/lib/notification.ts#L6
Property 'TELEGRAM_BOT_TOKEN' does not exist on type '{ POSTGRES_URL_NON_POOLING: string; POSTGRES_PRISMA_URL: string; NEXT_PUBLIC_BASE_URL: string; NEXT_PUBLIC_ENABLE_EXPENSE_DOCUMENTS: boolean; NEXT_PUBLIC_ENABLE_RECEIPT_EXTRACT: boolean; ... 6 more ...; OPENAI_API_KEY?: string | undefined; }'.
|
Check TypeScript types:
src/trpc/routers/groups/create.procedure.ts#L18
Property 'NEXT_PUBLIC_ENABLE_NOTIFICATIONS' does not exist on type '{ POSTGRES_URL_NON_POOLING: string; POSTGRES_PRISMA_URL: string; NEXT_PUBLIC_BASE_URL: string; NEXT_PUBLIC_ENABLE_EXPENSE_DOCUMENTS: boolean; NEXT_PUBLIC_ENABLE_RECEIPT_EXTRACT: boolean; ... 6 more ...; OPENAI_API_KEY?: string | undefined; }'.
|
Check TypeScript types:
src/trpc/routers/groups/expenses/create.procedure.ts#L25
Property 'NEXT_PUBLIC_ENABLE_NOTIFICATIONS' does not exist on type '{ POSTGRES_URL_NON_POOLING: string; POSTGRES_PRISMA_URL: string; NEXT_PUBLIC_BASE_URL: string; NEXT_PUBLIC_ENABLE_EXPENSE_DOCUMENTS: boolean; NEXT_PUBLIC_ENABLE_RECEIPT_EXTRACT: boolean; ... 6 more ...; OPENAI_API_KEY?: string | undefined; }'.
|
Check TypeScript types:
src/trpc/routers/groups/expenses/delete.procedure.ts#L17
Property 'NEXT_PUBLIC_ENABLE_NOTIFICATIONS' does not exist on type '{ POSTGRES_URL_NON_POOLING: string; POSTGRES_PRISMA_URL: string; NEXT_PUBLIC_BASE_URL: string; NEXT_PUBLIC_ENABLE_EXPENSE_DOCUMENTS: boolean; NEXT_PUBLIC_ENABLE_RECEIPT_EXTRACT: boolean; ... 6 more ...; OPENAI_API_KEY?: string | undefined; }'.
|
Check TypeScript types:
src/trpc/routers/groups/expenses/update.procedure.ts#L29
Property 'NEXT_PUBLIC_ENABLE_NOTIFICATIONS' does not exist on type '{ POSTGRES_URL_NON_POOLING: string; POSTGRES_PRISMA_URL: string; NEXT_PUBLIC_BASE_URL: string; NEXT_PUBLIC_ENABLE_EXPENSE_DOCUMENTS: boolean; NEXT_PUBLIC_ENABLE_RECEIPT_EXTRACT: boolean; ... 6 more ...; OPENAI_API_KEY?: string | undefined; }'.
|
Check TypeScript types
Process completed with exit code 2.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading