提交
This commit is contained in:
1 parent
6dc8cfb2c1
commit
d26fb23fcf
181 files changed
+25727
-24557
No files matched your search
@@ -0,0 +1,12 @@
|
||||
export const DICT_ENSURE_WHITELIST = [
|
||||
'crm_product_gg',
|
||||
'crm_shfs',
|
||||
'crm_product_unit',
|
||||
'crm_customer_park'
|
||||
] as const
|
||||
|
||||
export type DictEnsureType = (typeof DICT_ENSURE_WHITELIST)[number]
|
||||
|
||||
export function isDictEnsureType(dictType: string): dictType is DictEnsureType {
|
||||
return (DICT_ENSURE_WHITELIST as readonly string[]).includes(dictType)
|
||||
}
|
||||
Reference in new issue
Block a user