-
Notifications
You must be signed in to change notification settings - Fork 56
/
index.ts
43 lines (39 loc) · 924 Bytes
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import { z } from 'zod'
export const ArtiMimpiSchema = z.string()
export type ArtiMimpi = z.infer<typeof ArtiMimpiSchema>
export const ArtiNamaSchema = z.string()
export type ArtiNama = z.infer<typeof ArtiNamaSchema>
export const NomerHokiSchema = z.object({
nomer: z.union([z.string(), z.number()]),
angka_bagua_shuzi: z.number(),
positif: z.object({
kekayaan: z.number(),
kesehatan: z.number(),
cinta: z.number(),
kestabilan: z.number(),
positif: z.number(),
}),
negatif: z.object({
perselisihan: z.number(),
kehilangan: z.number(),
malapetaka: z.number(),
Kehancuran: z.number(),
negatif: z.number(),
}),
})
export type NomerHoki = z.infer<typeof NomerHokiSchema>
export const ZodiacSchema = z.enum([
'capricorn',
'aquarius',
'pisces',
'aries',
'taurus',
'gemini',
'cancer',
'leo',
'virgo',
'libra',
'scorpio',
'sagitarius',
]);
export type Zodiac = z.infer<typeof ZodiacSchema>