mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 22:30:23 +00:00
style: import from paths
This commit is contained in:
parent
41931f9b24
commit
4c3621f77c
@ -1,8 +1,8 @@
|
|||||||
import * as Yup from 'yup'
|
import * as Yup from 'yup'
|
||||||
import YupKorean from 'yup-locales-ko'
|
import YupKorean from 'yup-locales-ko'
|
||||||
import { ListType } from '../types'
|
import { ListType } from '@types'
|
||||||
import { categories, library, reportCats } from './Constants'
|
import { categories, library, reportCats } from '@utils/Constants'
|
||||||
import { HTTPProtocol, ID, Prefix, Url, Vanity } from './Regex'
|
import { HTTPProtocol, ID, Prefix, Url, Vanity } from '@utils/Regex'
|
||||||
|
|
||||||
Yup.setLocale(YupKorean)
|
Yup.setLocale(YupKorean)
|
||||||
Yup.addMethod(Yup.array, 'unique', function(message, mapper = a => a) {
|
Yup.addMethod(Yup.array, 'unique', function(message, mapper = a => a) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user