Changed quote styles

This commit is contained in:
Alexis
2024-08-25 14:14:40 +02:00
parent 07e97873ef
commit 5a47cb3563
180 changed files with 949 additions and 948 deletions

View File

@@ -1,4 +1,4 @@
import { z } from 'zod'
import { z } from "zod"
import type { CalendarEvent } from "./CalendarEvent"
import { calendarMonthSchema, type CalendarMonth } from "./CalendarMonth"
import { dateSchema, type RPGDate } from "./Date"

View File

@@ -1,6 +1,6 @@
import { z } from 'zod'
import { categorySchema, type Category } from './Category'
import { dateSchema, type RPGDate } from './Date'
import { z } from "zod"
import { categorySchema, type Category } from "./Category"
import { dateSchema, type RPGDate } from "./Date"
export interface CalendarEvent {
id?: number
@@ -33,5 +33,5 @@ export const postEventBodySchema = z.object({
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export function isCalendarEvent(object: any): object is CalendarEvent {
return 'startDate' in object
return "startDate" in object
}

View File

@@ -1,4 +1,4 @@
import { z } from 'zod'
import { z } from "zod"
export interface CalendarMonth {
id?: number

View File

@@ -1,5 +1,5 @@
import { z } from 'zod'
import type { RPGColor } from './Color'
import { z } from "zod"
import type { RPGColor } from "./Color"
export interface Category {
id: number

View File

@@ -1,5 +1,5 @@
import type { Category } from './Category'
import type { RPGDate } from './Date'
import type { Category } from "./Category"
import type { RPGDate } from "./Date"
export interface Character {
name: string
@@ -15,5 +15,5 @@ export interface Character {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export function isCharacter(object: any): object is Character {
return 'birth' in object
return "birth" in object
}

View File

@@ -6,7 +6,7 @@ export interface RPGDate {
year: number
}
export type RPGDateOrder = 'asc' | 'desc'
export type RPGDateOrder = "asc" | "desc"
export const dateSchema = z.object({
day: z.number().int().positive(),