prettier fix
This commit is contained in:
@@ -43,4 +43,4 @@
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
'use server';
|
||||
|
||||
import { getLogger } from '@kit/shared/logger';
|
||||
|
||||
import {
|
||||
getOpenResponses,
|
||||
getOtherResponses,
|
||||
getUserDoneResponses,
|
||||
getUserInProgressResponses,
|
||||
} from '@kit/doctor/services/doctor-analysis.service';
|
||||
import { getLogger } from '@kit/shared/logger';
|
||||
|
||||
import { doctorAction } from '../utils/doctor-action';
|
||||
|
||||
export const getUserDoneResponsesAction = doctorAction(
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import z from 'zod';
|
||||
|
||||
import { Database } from '@kit/supabase/database';
|
||||
import z from 'zod';
|
||||
|
||||
export const doctorJobSelectSchema = z.object({
|
||||
userId: z.uuid(),
|
||||
|
||||
@@ -9,9 +9,7 @@ import { Database } from '@kit/supabase/database';
|
||||
*/
|
||||
export async function isDoctor(client: SupabaseClient<Database>) {
|
||||
try {
|
||||
const { data, error } = await client
|
||||
.schema('medreport')
|
||||
.rpc('is_doctor');
|
||||
const { data, error } = await client.schema('medreport').rpc('is_doctor');
|
||||
|
||||
if (error) {
|
||||
throw error;
|
||||
|
||||
@@ -9,17 +9,9 @@
|
||||
"./services/*": "./src/lib/server/services/*.ts",
|
||||
"./actions/*": "./src/lib/server/actions/*.ts"
|
||||
},
|
||||
"include": [
|
||||
"*.ts",
|
||||
"src",
|
||||
"app"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
],
|
||||
"include": ["*.ts", "src", "app"],
|
||||
"exclude": ["node_modules"],
|
||||
"paths": {
|
||||
"@components/*": [
|
||||
"./src/lib/*"
|
||||
],
|
||||
"@components/*": ["./src/lib/*"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user