Suggestion: let prettier sort imports order (#673)
* Suggestion: let prettier sort imports order # Conflicts: # yarn.lock * AUTO SORT ALL THE IMPORTS * Linting * Fixes test
This commit is contained in:
1 parent
3add84a279
commit
d194878bb2
192 files changed
+921
-577
No files matched your search
@@ -1,6 +1,7 @@
|
||||
import { EventType } from "@prisma/client";
|
||||
|
||||
import * as fetch from "@lib/core/http/fetch-wrapper";
|
||||
import { CreateEventType } from "@lib/types/event-type";
|
||||
import { EventType } from "@prisma/client";
|
||||
|
||||
const createEventType = async (data: CreateEventType) => {
|
||||
const response = await fetch.post<CreateEventType, EventType>("/api/availability/eventtype", data);
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { EventType } from "@prisma/client";
|
||||
|
||||
import * as fetch from "@lib/core/http/fetch-wrapper";
|
||||
import { EventTypeInput } from "@lib/types/event-type";
|
||||
import { EventType } from "@prisma/client";
|
||||
|
||||
const updateEventType = async (data: EventTypeInput) => {
|
||||
const response = await fetch.patch<EventTypeInput, EventType>("/api/availability/eventtype", data);
|
||||
|
||||
Reference in new issue
Block a user