Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
466 changes: 466 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.4",
"main": "dist/index.js",
"scripts": {
"build": "rm -rf dist && tsc",
"build": "rm -rf dist && tsc && tsc-alias",
"lint": "echo TODO",
"lint:fix": "echo TODO",
"prettier": "prettier . --check",
Expand Down Expand Up @@ -38,6 +38,7 @@
"@types/node": "^22.10.10",
"eslint": "^9.19.0",
"prettier": "^3.4.2",
"tsc-alias": "^1.8.10",
"typescript": "^5.7.3",
"zod": "^3.24.1"
}
Expand Down
10 changes: 5 additions & 5 deletions src/types/api/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export * from './authentication.js';
export * from './calendar.js';
export * from './reminder-config.js';
export * from './responses.js';
export * from './user.js';
export * from './authentication';
export * from './calendar';
export * from './reminder-config';
export * from './responses';
export * from './user';
2 changes: 1 addition & 1 deletion src/types/api/reminder-config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { z } from 'zod';
import { calendarSchema } from './calendar.js';
import { calendarSchema } from './calendar';

export const reminderConfigSchema = z.object({
calendars: z.array(calendarSchema).min(1),
Expand Down
2 changes: 1 addition & 1 deletion src/types/api/responses.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AuthenticationResponse } from './authentication.js';
import { AuthenticationResponse } from './authentication';

// eslint-disable-next-line @typescript-eslint/no-explicit-any
export type BodyContent = Record<string, any> | Array<unknown>;
Expand Down
2 changes: 1 addition & 1 deletion src/types/api/user.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Email, IdpId, UnixTimestamp, UserId } from '../common.js';
import { Email, IdpId, UnixTimestamp, UserId } from '../common';

// When time comes, append IdpName with | 'idpName2'
export type IdpName = 'google.com';
Expand Down
4 changes: 2 additions & 2 deletions src/types/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from './api/index.js';
export * from './common.js';
export * from './api/index';
export * from './common';
4 changes: 4 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@
"skipLibCheck": true /* Skip type checking all .d.ts files. */
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
},
"tsc-alias": {
"resolveFullPaths": true,
"verbose": false
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"]
}