mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-04-30 12:40:10 +00:00
22 lines
649 B
TypeScript
22 lines
649 B
TypeScript
import * as yup from 'yup';
|
|
|
|
declare const geoInfoSchema: yup.ObjectSchema<{
|
|
ip: string;
|
|
countryCode: string | null | undefined;
|
|
regionCode: string | null | undefined;
|
|
cityName: string | null | undefined;
|
|
latitude: number | null | undefined;
|
|
longitude: number | null | undefined;
|
|
tzIdentifier: string | null | undefined;
|
|
}, yup.AnyObject, {
|
|
ip: undefined;
|
|
countryCode: undefined;
|
|
regionCode: undefined;
|
|
cityName: undefined;
|
|
latitude: undefined;
|
|
longitude: undefined;
|
|
tzIdentifier: undefined;
|
|
}, "">;
|
|
type GeoInfo = yup.InferType<typeof geoInfoSchema>;
|
|
|
|
export { type GeoInfo, geoInfoSchema };
|