@exyconn/common 2.1.0 → 2.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +969 -261
- package/dist/client/hooks/index.d.mts +1042 -0
- package/dist/client/hooks/index.d.ts +1042 -0
- package/dist/client/hooks/index.js +2276 -0
- package/dist/client/hooks/index.js.map +1 -0
- package/dist/client/hooks/index.mjs +2217 -0
- package/dist/client/hooks/index.mjs.map +1 -0
- package/dist/client/http/index.d.mts +217 -49
- package/dist/client/http/index.d.ts +217 -49
- package/dist/client/http/index.js +473 -94
- package/dist/client/http/index.js.map +1 -1
- package/dist/client/http/index.mjs +441 -84
- package/dist/client/http/index.mjs.map +1 -1
- package/dist/client/index.d.mts +6 -4
- package/dist/client/index.d.ts +6 -4
- package/dist/client/index.js +481 -319
- package/dist/client/index.js.map +1 -1
- package/dist/client/index.mjs +449 -290
- package/dist/client/index.mjs.map +1 -1
- package/dist/client/utils/index.d.mts +3 -279
- package/dist/client/utils/index.d.ts +3 -279
- package/dist/client/web/index.d.mts +1461 -0
- package/dist/client/web/index.d.ts +1461 -0
- package/dist/client/web/index.js +2681 -0
- package/dist/client/web/index.js.map +1 -0
- package/dist/client/web/index.mjs +2618 -0
- package/dist/client/web/index.mjs.map +1 -0
- package/dist/data/brand-identity.d.mts +149 -0
- package/dist/data/brand-identity.d.ts +149 -0
- package/dist/data/brand-identity.js +235 -0
- package/dist/data/brand-identity.js.map +1 -0
- package/dist/data/brand-identity.mjs +220 -0
- package/dist/data/brand-identity.mjs.map +1 -0
- package/dist/data/countries.d.mts +61 -0
- package/dist/data/countries.d.ts +61 -0
- package/dist/data/countries.js +987 -0
- package/dist/data/countries.js.map +1 -0
- package/dist/data/countries.mjs +971 -0
- package/dist/data/countries.mjs.map +1 -0
- package/dist/data/currencies.d.mts +19 -0
- package/dist/data/currencies.d.ts +19 -0
- package/dist/data/currencies.js +162 -0
- package/dist/data/currencies.js.map +1 -0
- package/dist/data/currencies.mjs +153 -0
- package/dist/data/currencies.mjs.map +1 -0
- package/dist/data/index.d.mts +7 -0
- package/dist/data/index.d.ts +7 -0
- package/dist/data/index.js +2087 -0
- package/dist/data/index.js.map +1 -0
- package/dist/data/index.mjs +1948 -0
- package/dist/data/index.mjs.map +1 -0
- package/dist/data/phone-codes.d.mts +15 -0
- package/dist/data/phone-codes.d.ts +15 -0
- package/dist/data/phone-codes.js +219 -0
- package/dist/data/phone-codes.js.map +1 -0
- package/dist/data/phone-codes.mjs +211 -0
- package/dist/data/phone-codes.mjs.map +1 -0
- package/dist/data/regex.d.mts +287 -0
- package/dist/data/regex.d.ts +287 -0
- package/dist/data/regex.js +306 -0
- package/dist/data/regex.js.map +1 -0
- package/dist/data/regex.mjs +208 -0
- package/dist/data/regex.mjs.map +1 -0
- package/dist/data/timezones.d.mts +16 -0
- package/dist/data/timezones.d.ts +16 -0
- package/dist/data/timezones.js +98 -0
- package/dist/data/timezones.js.map +1 -0
- package/dist/data/timezones.mjs +89 -0
- package/dist/data/timezones.mjs.map +1 -0
- package/dist/index-BZf42T3R.d.mts +305 -0
- package/dist/index-CF0D8PGE.d.ts +305 -0
- package/dist/index-Ckhm_HaX.d.mts +138 -0
- package/dist/index-DKn4raO7.d.ts +222 -0
- package/dist/index-NS8dS0p9.d.mts +222 -0
- package/dist/index-Nqm5_lwT.d.ts +188 -0
- package/dist/index-br6POSyA.d.ts +138 -0
- package/dist/index-jBi3V6e5.d.mts +188 -0
- package/dist/index.d.mts +21 -580
- package/dist/index.d.ts +21 -580
- package/dist/index.js +1839 -347
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1850 -359
- package/dist/index.mjs.map +1 -1
- package/dist/packageCheck-B_qfsD6R.d.ts +280 -0
- package/dist/packageCheck-C2_FT_Rl.d.mts +280 -0
- package/dist/server/configs/index.d.mts +602 -0
- package/dist/server/configs/index.d.ts +602 -0
- package/dist/server/configs/index.js +707 -0
- package/dist/server/configs/index.js.map +1 -0
- package/dist/server/configs/index.mjs +665 -0
- package/dist/server/configs/index.mjs.map +1 -0
- package/dist/server/index.d.mts +4 -1
- package/dist/server/index.d.ts +4 -1
- package/dist/server/index.js +1330 -0
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +1286 -2
- package/dist/server/index.mjs.map +1 -1
- package/dist/server/middleware/index.d.mts +283 -2
- package/dist/server/middleware/index.d.ts +283 -2
- package/dist/server/middleware/index.js +761 -0
- package/dist/server/middleware/index.js.map +1 -1
- package/dist/server/middleware/index.mjs +751 -1
- package/dist/server/middleware/index.mjs.map +1 -1
- package/dist/shared/config/index.d.mts +40 -0
- package/dist/shared/config/index.d.ts +40 -0
- package/dist/shared/config/index.js +58 -0
- package/dist/shared/config/index.js.map +1 -0
- package/dist/shared/config/index.mjs +51 -0
- package/dist/shared/config/index.mjs.map +1 -0
- package/dist/shared/constants/index.d.mts +593 -0
- package/dist/shared/constants/index.d.ts +593 -0
- package/dist/shared/constants/index.js +391 -0
- package/dist/shared/constants/index.js.map +1 -0
- package/dist/shared/constants/index.mjs +360 -0
- package/dist/shared/constants/index.mjs.map +1 -0
- package/dist/shared/index.d.mts +5 -1
- package/dist/shared/index.d.ts +5 -1
- package/dist/shared/types/index.d.mts +140 -0
- package/dist/shared/types/index.d.ts +140 -0
- package/dist/shared/types/index.js +4 -0
- package/dist/shared/types/index.js.map +1 -0
- package/dist/shared/types/index.mjs +3 -0
- package/dist/shared/types/index.mjs.map +1 -0
- package/dist/shared/utils/index.d.mts +255 -0
- package/dist/shared/utils/index.d.ts +255 -0
- package/dist/shared/utils/index.js +623 -0
- package/dist/shared/utils/index.js.map +1 -0
- package/dist/shared/utils/index.mjs +324 -0
- package/dist/shared/utils/index.mjs.map +1 -0
- package/dist/shared/validation/index.d.mts +258 -0
- package/dist/shared/validation/index.d.ts +258 -0
- package/dist/shared/validation/index.js +185 -0
- package/dist/shared/validation/index.js.map +1 -0
- package/dist/shared/validation/index.mjs +172 -0
- package/dist/shared/validation/index.mjs.map +1 -0
- package/package.json +127 -62
- package/dist/index-BcxL4_V4.d.ts +0 -2946
- package/dist/index-DEzgM15j.d.ts +0 -67
- package/dist/index-DNFVgQx8.d.ts +0 -1375
- package/dist/index-DbV04Dx8.d.mts +0 -67
- package/dist/index-DfqEP6Oe.d.mts +0 -1375
- package/dist/index-bvvCev9Q.d.mts +0 -2946
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import countries, { City, Country, CountryWithFlag, State, codeToFlag, getAllCities, getAllCountriesWithFlags, getCitiesByState, getCountriesByContinent, getCountryByCode, getCountryByName, getCountryWithFlag, getFlag, getStatesByCountry, searchCountries } from './data/countries.js';
|
|
2
|
+
import phoneCodes, { PhoneCode, getPhoneCodeByCountry, getPhoneCodesByPrefix, searchPhoneCodes } from './data/phone-codes.js';
|
|
3
|
+
import currencies, { Currency, formatCurrency, formatCurrencyNative, getCurrencyByCode, searchCurrencies } from './data/currencies.js';
|
|
4
|
+
import timezones, { Timezone, getTimezoneByName, getTimezonesByOffset, searchTimezones, sortTimezonesByOffset } from './data/timezones.js';
|
|
5
|
+
import REGEX, { AADHAAR_INDIA, ALPHANUMERIC, AMEX, ARCHIVE_EXT, AUDIO_EXT, BASE64, CARD_EXPIRY, CREDIT_CARD, CUID, CUID2, CVV, DATETIME_ISO, DATE_DMY, DATE_ISO, DATE_MDY, DECIMAL, DISCOVER, DL_INDIA, DOCUMENT_EXT, DOMAIN, EMAIL, EMAIL_COMMON_DOMAINS, EMAIL_RFC5322, EMOJI, GST_INDIA, HANDLE, HASHTAG, HAS_DIGIT, HAS_LOWERCASE, HAS_SPECIAL, HAS_UPPERCASE, HEX_COLOR, HEX_COLOR_ALPHA, HSL_COLOR, HTML_TAG, IFSC_INDIA, IMAGE_EXT, IPV4, IPV6, JSON_STRING, JWT, LATITUDE, LETTERS_ONLY, LOCALHOST, LONGITUDE, MAC_ADDRESS, MASTERCARD, MENTION, MONGO_OBJECT_ID, NANOID, NON_NEGATIVE_INTEGER, NO_SPECIAL_CHARS, NO_WHITESPACE, NUMBERS_ONLY, PAN_INDIA, PASSWORD_ALPHANUMERIC, PASSWORD_MEDIUM, PASSWORD_MIN_8, PASSWORD_STRONG, PASSWORD_VERY_STRONG, PHONE_10_DIGIT, PHONE_INDIA, PHONE_INTERNATIONAL, PHONE_UK, PHONE_US, PHONE_WITH_CODE, PIN_INDIA, PLZ_GERMANY, POSITIVE_INTEGER, POSTAL_CANADA, POSTAL_GENERIC, POSTAL_UK, RGBA_COLOR, RGB_COLOR, SAFE_FILENAME, SEMVER, SLUG, SSN_US, SUBDOMAIN, TIME_12H, TIME_24H, TIME_24H_SECONDS, URL_BASIC, URL_OPTIONAL_PROTOCOL, URL_STRICT, USERNAME, USERNAME_ALPHA_START, UUID, UUID_V4, VEHICLE_INDIA, VIDEO_EXT, VISA, ZIP_US } from './data/regex.js';
|
|
6
|
+
import BRANDS, { APPS, AppConfig, BrandColors, BrandIdentity, ContactInfo, LogoSet, SEOConfig, SocialLinks, createAppConfig, detectCurrentBrand, getAllBrandIds, getAllBrands as getAllBrands$1, getAppConfigByDomain, getBrandByDomain as getBrandByDomain$1, getBrandById, getLogo as getLogo$1, getThemedLogo } from './data/brand-identity.js';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Company Logos for all 5 Exyconn projects
|
|
10
|
+
* Contains light and dark mode variants
|
|
11
|
+
*/
|
|
12
|
+
interface LogoVariants {
|
|
13
|
+
light: string;
|
|
14
|
+
dark: string;
|
|
15
|
+
}
|
|
16
|
+
interface Logo {
|
|
17
|
+
full: LogoVariants;
|
|
18
|
+
icon: LogoVariants;
|
|
19
|
+
favicon: string;
|
|
20
|
+
}
|
|
21
|
+
interface CompanyBrand {
|
|
22
|
+
name: string;
|
|
23
|
+
domain: string;
|
|
24
|
+
tagline: string;
|
|
25
|
+
primaryColor: string;
|
|
26
|
+
secondaryColor: string;
|
|
27
|
+
logo: Logo;
|
|
28
|
+
}
|
|
29
|
+
declare const brands: Record<string, CompanyBrand>;
|
|
30
|
+
declare const getBrand: (key: string) => CompanyBrand | undefined;
|
|
31
|
+
declare const getBrandByDomain: (domain: string) => CompanyBrand | undefined;
|
|
32
|
+
declare const getLogo: (brandKey: string, mode: "light" | "dark", type?: "full" | "icon") => string | undefined;
|
|
33
|
+
declare const getAllBrands: () => CompanyBrand[];
|
|
34
|
+
declare const getAllBrandKeys: () => string[];
|
|
35
|
+
|
|
36
|
+
declare const index_AADHAAR_INDIA: typeof AADHAAR_INDIA;
|
|
37
|
+
declare const index_ALPHANUMERIC: typeof ALPHANUMERIC;
|
|
38
|
+
declare const index_AMEX: typeof AMEX;
|
|
39
|
+
declare const index_APPS: typeof APPS;
|
|
40
|
+
declare const index_ARCHIVE_EXT: typeof ARCHIVE_EXT;
|
|
41
|
+
declare const index_AUDIO_EXT: typeof AUDIO_EXT;
|
|
42
|
+
declare const index_AppConfig: typeof AppConfig;
|
|
43
|
+
declare const index_BASE64: typeof BASE64;
|
|
44
|
+
declare const index_BRANDS: typeof BRANDS;
|
|
45
|
+
declare const index_BrandColors: typeof BrandColors;
|
|
46
|
+
declare const index_BrandIdentity: typeof BrandIdentity;
|
|
47
|
+
declare const index_CARD_EXPIRY: typeof CARD_EXPIRY;
|
|
48
|
+
declare const index_CREDIT_CARD: typeof CREDIT_CARD;
|
|
49
|
+
declare const index_CUID: typeof CUID;
|
|
50
|
+
declare const index_CUID2: typeof CUID2;
|
|
51
|
+
declare const index_CVV: typeof CVV;
|
|
52
|
+
declare const index_City: typeof City;
|
|
53
|
+
type index_CompanyBrand = CompanyBrand;
|
|
54
|
+
declare const index_ContactInfo: typeof ContactInfo;
|
|
55
|
+
declare const index_Country: typeof Country;
|
|
56
|
+
declare const index_CountryWithFlag: typeof CountryWithFlag;
|
|
57
|
+
declare const index_Currency: typeof Currency;
|
|
58
|
+
declare const index_DATETIME_ISO: typeof DATETIME_ISO;
|
|
59
|
+
declare const index_DATE_DMY: typeof DATE_DMY;
|
|
60
|
+
declare const index_DATE_ISO: typeof DATE_ISO;
|
|
61
|
+
declare const index_DATE_MDY: typeof DATE_MDY;
|
|
62
|
+
declare const index_DECIMAL: typeof DECIMAL;
|
|
63
|
+
declare const index_DISCOVER: typeof DISCOVER;
|
|
64
|
+
declare const index_DL_INDIA: typeof DL_INDIA;
|
|
65
|
+
declare const index_DOCUMENT_EXT: typeof DOCUMENT_EXT;
|
|
66
|
+
declare const index_DOMAIN: typeof DOMAIN;
|
|
67
|
+
declare const index_EMAIL: typeof EMAIL;
|
|
68
|
+
declare const index_EMAIL_COMMON_DOMAINS: typeof EMAIL_COMMON_DOMAINS;
|
|
69
|
+
declare const index_EMAIL_RFC5322: typeof EMAIL_RFC5322;
|
|
70
|
+
declare const index_EMOJI: typeof EMOJI;
|
|
71
|
+
declare const index_GST_INDIA: typeof GST_INDIA;
|
|
72
|
+
declare const index_HANDLE: typeof HANDLE;
|
|
73
|
+
declare const index_HASHTAG: typeof HASHTAG;
|
|
74
|
+
declare const index_HAS_DIGIT: typeof HAS_DIGIT;
|
|
75
|
+
declare const index_HAS_LOWERCASE: typeof HAS_LOWERCASE;
|
|
76
|
+
declare const index_HAS_SPECIAL: typeof HAS_SPECIAL;
|
|
77
|
+
declare const index_HAS_UPPERCASE: typeof HAS_UPPERCASE;
|
|
78
|
+
declare const index_HEX_COLOR: typeof HEX_COLOR;
|
|
79
|
+
declare const index_HEX_COLOR_ALPHA: typeof HEX_COLOR_ALPHA;
|
|
80
|
+
declare const index_HSL_COLOR: typeof HSL_COLOR;
|
|
81
|
+
declare const index_HTML_TAG: typeof HTML_TAG;
|
|
82
|
+
declare const index_IFSC_INDIA: typeof IFSC_INDIA;
|
|
83
|
+
declare const index_IMAGE_EXT: typeof IMAGE_EXT;
|
|
84
|
+
declare const index_IPV4: typeof IPV4;
|
|
85
|
+
declare const index_IPV6: typeof IPV6;
|
|
86
|
+
declare const index_JSON_STRING: typeof JSON_STRING;
|
|
87
|
+
declare const index_JWT: typeof JWT;
|
|
88
|
+
declare const index_LATITUDE: typeof LATITUDE;
|
|
89
|
+
declare const index_LETTERS_ONLY: typeof LETTERS_ONLY;
|
|
90
|
+
declare const index_LOCALHOST: typeof LOCALHOST;
|
|
91
|
+
declare const index_LONGITUDE: typeof LONGITUDE;
|
|
92
|
+
type index_Logo = Logo;
|
|
93
|
+
declare const index_LogoSet: typeof LogoSet;
|
|
94
|
+
type index_LogoVariants = LogoVariants;
|
|
95
|
+
declare const index_MAC_ADDRESS: typeof MAC_ADDRESS;
|
|
96
|
+
declare const index_MASTERCARD: typeof MASTERCARD;
|
|
97
|
+
declare const index_MENTION: typeof MENTION;
|
|
98
|
+
declare const index_MONGO_OBJECT_ID: typeof MONGO_OBJECT_ID;
|
|
99
|
+
declare const index_NANOID: typeof NANOID;
|
|
100
|
+
declare const index_NON_NEGATIVE_INTEGER: typeof NON_NEGATIVE_INTEGER;
|
|
101
|
+
declare const index_NO_SPECIAL_CHARS: typeof NO_SPECIAL_CHARS;
|
|
102
|
+
declare const index_NO_WHITESPACE: typeof NO_WHITESPACE;
|
|
103
|
+
declare const index_NUMBERS_ONLY: typeof NUMBERS_ONLY;
|
|
104
|
+
declare const index_PAN_INDIA: typeof PAN_INDIA;
|
|
105
|
+
declare const index_PASSWORD_ALPHANUMERIC: typeof PASSWORD_ALPHANUMERIC;
|
|
106
|
+
declare const index_PASSWORD_MEDIUM: typeof PASSWORD_MEDIUM;
|
|
107
|
+
declare const index_PASSWORD_MIN_8: typeof PASSWORD_MIN_8;
|
|
108
|
+
declare const index_PASSWORD_STRONG: typeof PASSWORD_STRONG;
|
|
109
|
+
declare const index_PASSWORD_VERY_STRONG: typeof PASSWORD_VERY_STRONG;
|
|
110
|
+
declare const index_PHONE_10_DIGIT: typeof PHONE_10_DIGIT;
|
|
111
|
+
declare const index_PHONE_INDIA: typeof PHONE_INDIA;
|
|
112
|
+
declare const index_PHONE_INTERNATIONAL: typeof PHONE_INTERNATIONAL;
|
|
113
|
+
declare const index_PHONE_UK: typeof PHONE_UK;
|
|
114
|
+
declare const index_PHONE_US: typeof PHONE_US;
|
|
115
|
+
declare const index_PHONE_WITH_CODE: typeof PHONE_WITH_CODE;
|
|
116
|
+
declare const index_PIN_INDIA: typeof PIN_INDIA;
|
|
117
|
+
declare const index_PLZ_GERMANY: typeof PLZ_GERMANY;
|
|
118
|
+
declare const index_POSITIVE_INTEGER: typeof POSITIVE_INTEGER;
|
|
119
|
+
declare const index_POSTAL_CANADA: typeof POSTAL_CANADA;
|
|
120
|
+
declare const index_POSTAL_GENERIC: typeof POSTAL_GENERIC;
|
|
121
|
+
declare const index_POSTAL_UK: typeof POSTAL_UK;
|
|
122
|
+
declare const index_PhoneCode: typeof PhoneCode;
|
|
123
|
+
declare const index_REGEX: typeof REGEX;
|
|
124
|
+
declare const index_RGBA_COLOR: typeof RGBA_COLOR;
|
|
125
|
+
declare const index_RGB_COLOR: typeof RGB_COLOR;
|
|
126
|
+
declare const index_SAFE_FILENAME: typeof SAFE_FILENAME;
|
|
127
|
+
declare const index_SEMVER: typeof SEMVER;
|
|
128
|
+
declare const index_SEOConfig: typeof SEOConfig;
|
|
129
|
+
declare const index_SLUG: typeof SLUG;
|
|
130
|
+
declare const index_SSN_US: typeof SSN_US;
|
|
131
|
+
declare const index_SUBDOMAIN: typeof SUBDOMAIN;
|
|
132
|
+
declare const index_SocialLinks: typeof SocialLinks;
|
|
133
|
+
declare const index_State: typeof State;
|
|
134
|
+
declare const index_TIME_12H: typeof TIME_12H;
|
|
135
|
+
declare const index_TIME_24H: typeof TIME_24H;
|
|
136
|
+
declare const index_TIME_24H_SECONDS: typeof TIME_24H_SECONDS;
|
|
137
|
+
declare const index_Timezone: typeof Timezone;
|
|
138
|
+
declare const index_URL_BASIC: typeof URL_BASIC;
|
|
139
|
+
declare const index_URL_OPTIONAL_PROTOCOL: typeof URL_OPTIONAL_PROTOCOL;
|
|
140
|
+
declare const index_URL_STRICT: typeof URL_STRICT;
|
|
141
|
+
declare const index_USERNAME: typeof USERNAME;
|
|
142
|
+
declare const index_USERNAME_ALPHA_START: typeof USERNAME_ALPHA_START;
|
|
143
|
+
declare const index_UUID: typeof UUID;
|
|
144
|
+
declare const index_UUID_V4: typeof UUID_V4;
|
|
145
|
+
declare const index_VEHICLE_INDIA: typeof VEHICLE_INDIA;
|
|
146
|
+
declare const index_VIDEO_EXT: typeof VIDEO_EXT;
|
|
147
|
+
declare const index_VISA: typeof VISA;
|
|
148
|
+
declare const index_ZIP_US: typeof ZIP_US;
|
|
149
|
+
declare const index_brands: typeof brands;
|
|
150
|
+
declare const index_codeToFlag: typeof codeToFlag;
|
|
151
|
+
declare const index_countries: typeof countries;
|
|
152
|
+
declare const index_createAppConfig: typeof createAppConfig;
|
|
153
|
+
declare const index_currencies: typeof currencies;
|
|
154
|
+
declare const index_detectCurrentBrand: typeof detectCurrentBrand;
|
|
155
|
+
declare const index_formatCurrency: typeof formatCurrency;
|
|
156
|
+
declare const index_formatCurrencyNative: typeof formatCurrencyNative;
|
|
157
|
+
declare const index_getAllBrandIds: typeof getAllBrandIds;
|
|
158
|
+
declare const index_getAllBrandKeys: typeof getAllBrandKeys;
|
|
159
|
+
declare const index_getAllCities: typeof getAllCities;
|
|
160
|
+
declare const index_getAllCountriesWithFlags: typeof getAllCountriesWithFlags;
|
|
161
|
+
declare const index_getAppConfigByDomain: typeof getAppConfigByDomain;
|
|
162
|
+
declare const index_getBrand: typeof getBrand;
|
|
163
|
+
declare const index_getBrandById: typeof getBrandById;
|
|
164
|
+
declare const index_getCitiesByState: typeof getCitiesByState;
|
|
165
|
+
declare const index_getCountriesByContinent: typeof getCountriesByContinent;
|
|
166
|
+
declare const index_getCountryByCode: typeof getCountryByCode;
|
|
167
|
+
declare const index_getCountryByName: typeof getCountryByName;
|
|
168
|
+
declare const index_getCountryWithFlag: typeof getCountryWithFlag;
|
|
169
|
+
declare const index_getCurrencyByCode: typeof getCurrencyByCode;
|
|
170
|
+
declare const index_getFlag: typeof getFlag;
|
|
171
|
+
declare const index_getPhoneCodeByCountry: typeof getPhoneCodeByCountry;
|
|
172
|
+
declare const index_getPhoneCodesByPrefix: typeof getPhoneCodesByPrefix;
|
|
173
|
+
declare const index_getStatesByCountry: typeof getStatesByCountry;
|
|
174
|
+
declare const index_getThemedLogo: typeof getThemedLogo;
|
|
175
|
+
declare const index_getTimezoneByName: typeof getTimezoneByName;
|
|
176
|
+
declare const index_getTimezonesByOffset: typeof getTimezonesByOffset;
|
|
177
|
+
declare const index_phoneCodes: typeof phoneCodes;
|
|
178
|
+
declare const index_searchCountries: typeof searchCountries;
|
|
179
|
+
declare const index_searchCurrencies: typeof searchCurrencies;
|
|
180
|
+
declare const index_searchPhoneCodes: typeof searchPhoneCodes;
|
|
181
|
+
declare const index_searchTimezones: typeof searchTimezones;
|
|
182
|
+
declare const index_sortTimezonesByOffset: typeof sortTimezonesByOffset;
|
|
183
|
+
declare const index_timezones: typeof timezones;
|
|
184
|
+
declare namespace index {
|
|
185
|
+
export { index_AADHAAR_INDIA as AADHAAR_INDIA, index_ALPHANUMERIC as ALPHANUMERIC, index_AMEX as AMEX, index_APPS as APPS, index_ARCHIVE_EXT as ARCHIVE_EXT, index_AUDIO_EXT as AUDIO_EXT, index_AppConfig as AppConfig, index_BASE64 as BASE64, index_BRANDS as BRANDS, index_BrandColors as BrandColors, index_BrandIdentity as BrandIdentity, index_CARD_EXPIRY as CARD_EXPIRY, index_CREDIT_CARD as CREDIT_CARD, index_CUID as CUID, index_CUID2 as CUID2, index_CVV as CVV, index_City as City, type index_CompanyBrand as CompanyBrand, index_ContactInfo as ContactInfo, index_Country as Country, index_CountryWithFlag as CountryWithFlag, index_Currency as Currency, index_DATETIME_ISO as DATETIME_ISO, index_DATE_DMY as DATE_DMY, index_DATE_ISO as DATE_ISO, index_DATE_MDY as DATE_MDY, index_DECIMAL as DECIMAL, index_DISCOVER as DISCOVER, index_DL_INDIA as DL_INDIA, index_DOCUMENT_EXT as DOCUMENT_EXT, index_DOMAIN as DOMAIN, index_EMAIL as EMAIL, index_EMAIL_COMMON_DOMAINS as EMAIL_COMMON_DOMAINS, index_EMAIL_RFC5322 as EMAIL_RFC5322, index_EMOJI as EMOJI, index_GST_INDIA as GST_INDIA, index_HANDLE as HANDLE, index_HASHTAG as HASHTAG, index_HAS_DIGIT as HAS_DIGIT, index_HAS_LOWERCASE as HAS_LOWERCASE, index_HAS_SPECIAL as HAS_SPECIAL, index_HAS_UPPERCASE as HAS_UPPERCASE, index_HEX_COLOR as HEX_COLOR, index_HEX_COLOR_ALPHA as HEX_COLOR_ALPHA, index_HSL_COLOR as HSL_COLOR, index_HTML_TAG as HTML_TAG, index_IFSC_INDIA as IFSC_INDIA, index_IMAGE_EXT as IMAGE_EXT, index_IPV4 as IPV4, index_IPV6 as IPV6, index_JSON_STRING as JSON_STRING, index_JWT as JWT, index_LATITUDE as LATITUDE, index_LETTERS_ONLY as LETTERS_ONLY, index_LOCALHOST as LOCALHOST, index_LONGITUDE as LONGITUDE, type index_Logo as Logo, index_LogoSet as LogoSet, type index_LogoVariants as LogoVariants, index_MAC_ADDRESS as MAC_ADDRESS, index_MASTERCARD as MASTERCARD, index_MENTION as MENTION, index_MONGO_OBJECT_ID as MONGO_OBJECT_ID, index_NANOID as NANOID, index_NON_NEGATIVE_INTEGER as NON_NEGATIVE_INTEGER, index_NO_SPECIAL_CHARS as NO_SPECIAL_CHARS, index_NO_WHITESPACE as NO_WHITESPACE, index_NUMBERS_ONLY as NUMBERS_ONLY, index_PAN_INDIA as PAN_INDIA, index_PASSWORD_ALPHANUMERIC as PASSWORD_ALPHANUMERIC, index_PASSWORD_MEDIUM as PASSWORD_MEDIUM, index_PASSWORD_MIN_8 as PASSWORD_MIN_8, index_PASSWORD_STRONG as PASSWORD_STRONG, index_PASSWORD_VERY_STRONG as PASSWORD_VERY_STRONG, index_PHONE_10_DIGIT as PHONE_10_DIGIT, index_PHONE_INDIA as PHONE_INDIA, index_PHONE_INTERNATIONAL as PHONE_INTERNATIONAL, index_PHONE_UK as PHONE_UK, index_PHONE_US as PHONE_US, index_PHONE_WITH_CODE as PHONE_WITH_CODE, index_PIN_INDIA as PIN_INDIA, index_PLZ_GERMANY as PLZ_GERMANY, index_POSITIVE_INTEGER as POSITIVE_INTEGER, index_POSTAL_CANADA as POSTAL_CANADA, index_POSTAL_GENERIC as POSTAL_GENERIC, index_POSTAL_UK as POSTAL_UK, index_PhoneCode as PhoneCode, index_REGEX as REGEX, index_RGBA_COLOR as RGBA_COLOR, index_RGB_COLOR as RGB_COLOR, index_SAFE_FILENAME as SAFE_FILENAME, index_SEMVER as SEMVER, index_SEOConfig as SEOConfig, index_SLUG as SLUG, index_SSN_US as SSN_US, index_SUBDOMAIN as SUBDOMAIN, index_SocialLinks as SocialLinks, index_State as State, index_TIME_12H as TIME_12H, index_TIME_24H as TIME_24H, index_TIME_24H_SECONDS as TIME_24H_SECONDS, index_Timezone as Timezone, index_URL_BASIC as URL_BASIC, index_URL_OPTIONAL_PROTOCOL as URL_OPTIONAL_PROTOCOL, index_URL_STRICT as URL_STRICT, index_USERNAME as USERNAME, index_USERNAME_ALPHA_START as USERNAME_ALPHA_START, index_UUID as UUID, index_UUID_V4 as UUID_V4, index_VEHICLE_INDIA as VEHICLE_INDIA, index_VIDEO_EXT as VIDEO_EXT, index_VISA as VISA, index_ZIP_US as ZIP_US, index_brands as brands, index_codeToFlag as codeToFlag, index_countries as countries, index_createAppConfig as createAppConfig, index_currencies as currencies, index_detectCurrentBrand as detectCurrentBrand, index_formatCurrency as formatCurrency, index_formatCurrencyNative as formatCurrencyNative, index_getAllBrandIds as getAllBrandIds, index_getAllBrandKeys as getAllBrandKeys, getAllBrands$1 as getAllBrands, index_getAllCities as getAllCities, index_getAllCountriesWithFlags as getAllCountriesWithFlags, index_getAppConfigByDomain as getAppConfigByDomain, index_getBrand as getBrand, getBrandByDomain$1 as getBrandByDomain, index_getBrandById as getBrandById, index_getCitiesByState as getCitiesByState, index_getCountriesByContinent as getCountriesByContinent, index_getCountryByCode as getCountryByCode, index_getCountryByName as getCountryByName, index_getCountryWithFlag as getCountryWithFlag, index_getCurrencyByCode as getCurrencyByCode, index_getFlag as getFlag, getAllBrands as getLegacyAllBrands, getBrandByDomain as getLegacyBrandByDomain, getLogo as getLegacyLogo, getLogo$1 as getLogo, index_getPhoneCodeByCountry as getPhoneCodeByCountry, index_getPhoneCodesByPrefix as getPhoneCodesByPrefix, index_getStatesByCountry as getStatesByCountry, index_getThemedLogo as getThemedLogo, index_getTimezoneByName as getTimezoneByName, index_getTimezonesByOffset as getTimezonesByOffset, brands as legacyBrands, index_phoneCodes as phoneCodes, index_searchCountries as searchCountries, index_searchCurrencies as searchCurrencies, index_searchPhoneCodes as searchPhoneCodes, index_searchTimezones as searchTimezones, index_sortTimezonesByOffset as sortTimezonesByOffset, index_timezones as timezones };
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
export { type CompanyBrand as C, type LogoVariants as L, type Logo as a, brands as b, getBrandByDomain as c, getLogo as d, getAllBrands as e, getAllBrandKeys as f, getBrand as g, index as i };
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { ApiResponse, ColumnMetadata, PaginationData, badRequestResponse, conflictResponse, createdResponse, errorResponse, extractColumns, forbiddenResponse, noContentResponse, notFoundResponse, rateLimitResponse, successResponse, successResponseArr, unauthorizedResponse, validationErrorResponse } from './server/response/index.js';
|
|
2
|
+
import { StatusCode, StatusMessage, statusCode, statusMessage } from './server/enums/index.js';
|
|
3
|
+
import { LoggerConfig, createLogger, createMorganStream, logger, simpleLogger, stream } from './server/logger/index.js';
|
|
4
|
+
import { DbConnectionOptions, connectDB, disconnectDB, getConnectionStatus } from './server/db/index.js';
|
|
5
|
+
import { AuthRequest, BulkDeleteRequest, ColumnMeta, CrudConfig, JWTPayload, OrgRequest, PaginatedRequest, PaginatedResponse, PaginatedResult, PaginationMeta, ParsedQuery, SortConfig, SortOrder, authenticateApiKey, authenticateJWT, buildDeleteFilter, createBulkDeleteHandler, createCrudControllers, createPaginationMiddleware, extractOrganization, extractSchemaMeta, optionalAuthenticateJWT, parseBulkDelete, queryPagination, queryParser, requireOrganization } from './server/middleware/index.js';
|
|
6
|
+
import { FilterOptions, PackageCheckResult, PackageJson, PackageVersion, PaginationOptions, PaginationResult, buildFilter, buildPagination, buildPaginationMeta, checkPackageServer, formatPackageCheckResult, generateNcuCommand, omitFields, packageCheckServer, pickFields, printPackageCheckSummary, sanitizeDocument, sanitizeUser } from './server/utils/index.js';
|
|
7
|
+
import { AppConfig, AuthConfig, ConfigBuilder, CorsConfig, CorsOriginsConfig, DEFAULT_AUTH_CONFIG, DEFAULT_CORS_CONFIG, DEFAULT_CORS_ORIGINS, DEFAULT_DATABASE_CONFIG, DEFAULT_LOGGING_CONFIG, DEFAULT_RATE_LIMIT_CONFIG, DEFAULT_RATE_LIMIT_TIERS, DEFAULT_SERVER_CONFIG, DatabaseConfig, EXYCONN_CORS_CONFIG, Environment, LogLevel, LoggingConfig, PERMISSIVE_CORS_CONFIG, RATE_LIMIT_CONFIG, RateLimitConfig, RateLimitResponse, RateLimitTier, RateLimitTierConfig, RateLimiterBuilder, RateLimiterConfig, STRICT_CORS_CONFIG, ServerConfig, buildConfig, corsOptions, createApiKeyGenerator, createApiRateLimiter, createBrandCorsOptions, createConfig, createCorsOptions, createDdosRateLimiter, createMultiBrandCorsOptions, createPrefixedKeyGenerator, createRateLimiter, createStandardRateLimiter, createStrictRateLimiter, createUserKeyGenerator, ddosProtectionLimiter, defaultKeyGenerator, getDatabaseOptions, isDevelopment, isProduction, isTest, rateLimiter, standardRateLimiter, strictRateLimiter } from './server/configs/index.js';
|
|
8
|
+
|
|
9
|
+
declare const index_ApiResponse: typeof ApiResponse;
|
|
10
|
+
declare const index_AppConfig: typeof AppConfig;
|
|
11
|
+
declare const index_AuthConfig: typeof AuthConfig;
|
|
12
|
+
declare const index_AuthRequest: typeof AuthRequest;
|
|
13
|
+
declare const index_BulkDeleteRequest: typeof BulkDeleteRequest;
|
|
14
|
+
declare const index_ColumnMeta: typeof ColumnMeta;
|
|
15
|
+
declare const index_ColumnMetadata: typeof ColumnMetadata;
|
|
16
|
+
declare const index_ConfigBuilder: typeof ConfigBuilder;
|
|
17
|
+
declare const index_CorsConfig: typeof CorsConfig;
|
|
18
|
+
declare const index_CorsOriginsConfig: typeof CorsOriginsConfig;
|
|
19
|
+
declare const index_CrudConfig: typeof CrudConfig;
|
|
20
|
+
declare const index_DEFAULT_AUTH_CONFIG: typeof DEFAULT_AUTH_CONFIG;
|
|
21
|
+
declare const index_DEFAULT_CORS_CONFIG: typeof DEFAULT_CORS_CONFIG;
|
|
22
|
+
declare const index_DEFAULT_CORS_ORIGINS: typeof DEFAULT_CORS_ORIGINS;
|
|
23
|
+
declare const index_DEFAULT_DATABASE_CONFIG: typeof DEFAULT_DATABASE_CONFIG;
|
|
24
|
+
declare const index_DEFAULT_LOGGING_CONFIG: typeof DEFAULT_LOGGING_CONFIG;
|
|
25
|
+
declare const index_DEFAULT_RATE_LIMIT_CONFIG: typeof DEFAULT_RATE_LIMIT_CONFIG;
|
|
26
|
+
declare const index_DEFAULT_RATE_LIMIT_TIERS: typeof DEFAULT_RATE_LIMIT_TIERS;
|
|
27
|
+
declare const index_DEFAULT_SERVER_CONFIG: typeof DEFAULT_SERVER_CONFIG;
|
|
28
|
+
declare const index_DatabaseConfig: typeof DatabaseConfig;
|
|
29
|
+
declare const index_DbConnectionOptions: typeof DbConnectionOptions;
|
|
30
|
+
declare const index_EXYCONN_CORS_CONFIG: typeof EXYCONN_CORS_CONFIG;
|
|
31
|
+
declare const index_Environment: typeof Environment;
|
|
32
|
+
declare const index_FilterOptions: typeof FilterOptions;
|
|
33
|
+
declare const index_JWTPayload: typeof JWTPayload;
|
|
34
|
+
declare const index_LogLevel: typeof LogLevel;
|
|
35
|
+
declare const index_LoggerConfig: typeof LoggerConfig;
|
|
36
|
+
declare const index_LoggingConfig: typeof LoggingConfig;
|
|
37
|
+
declare const index_OrgRequest: typeof OrgRequest;
|
|
38
|
+
declare const index_PERMISSIVE_CORS_CONFIG: typeof PERMISSIVE_CORS_CONFIG;
|
|
39
|
+
declare const index_PackageCheckResult: typeof PackageCheckResult;
|
|
40
|
+
declare const index_PackageJson: typeof PackageJson;
|
|
41
|
+
declare const index_PackageVersion: typeof PackageVersion;
|
|
42
|
+
declare const index_PaginatedRequest: typeof PaginatedRequest;
|
|
43
|
+
declare const index_PaginatedResponse: typeof PaginatedResponse;
|
|
44
|
+
declare const index_PaginatedResult: typeof PaginatedResult;
|
|
45
|
+
declare const index_PaginationData: typeof PaginationData;
|
|
46
|
+
declare const index_PaginationMeta: typeof PaginationMeta;
|
|
47
|
+
declare const index_PaginationOptions: typeof PaginationOptions;
|
|
48
|
+
declare const index_PaginationResult: typeof PaginationResult;
|
|
49
|
+
declare const index_ParsedQuery: typeof ParsedQuery;
|
|
50
|
+
declare const index_RATE_LIMIT_CONFIG: typeof RATE_LIMIT_CONFIG;
|
|
51
|
+
declare const index_RateLimitConfig: typeof RateLimitConfig;
|
|
52
|
+
declare const index_RateLimitResponse: typeof RateLimitResponse;
|
|
53
|
+
declare const index_RateLimitTier: typeof RateLimitTier;
|
|
54
|
+
declare const index_RateLimitTierConfig: typeof RateLimitTierConfig;
|
|
55
|
+
declare const index_RateLimiterBuilder: typeof RateLimiterBuilder;
|
|
56
|
+
declare const index_RateLimiterConfig: typeof RateLimiterConfig;
|
|
57
|
+
declare const index_STRICT_CORS_CONFIG: typeof STRICT_CORS_CONFIG;
|
|
58
|
+
declare const index_ServerConfig: typeof ServerConfig;
|
|
59
|
+
declare const index_SortConfig: typeof SortConfig;
|
|
60
|
+
declare const index_SortOrder: typeof SortOrder;
|
|
61
|
+
declare const index_StatusCode: typeof StatusCode;
|
|
62
|
+
declare const index_StatusMessage: typeof StatusMessage;
|
|
63
|
+
declare const index_authenticateApiKey: typeof authenticateApiKey;
|
|
64
|
+
declare const index_authenticateJWT: typeof authenticateJWT;
|
|
65
|
+
declare const index_badRequestResponse: typeof badRequestResponse;
|
|
66
|
+
declare const index_buildConfig: typeof buildConfig;
|
|
67
|
+
declare const index_buildDeleteFilter: typeof buildDeleteFilter;
|
|
68
|
+
declare const index_buildFilter: typeof buildFilter;
|
|
69
|
+
declare const index_buildPagination: typeof buildPagination;
|
|
70
|
+
declare const index_buildPaginationMeta: typeof buildPaginationMeta;
|
|
71
|
+
declare const index_checkPackageServer: typeof checkPackageServer;
|
|
72
|
+
declare const index_conflictResponse: typeof conflictResponse;
|
|
73
|
+
declare const index_connectDB: typeof connectDB;
|
|
74
|
+
declare const index_corsOptions: typeof corsOptions;
|
|
75
|
+
declare const index_createApiKeyGenerator: typeof createApiKeyGenerator;
|
|
76
|
+
declare const index_createApiRateLimiter: typeof createApiRateLimiter;
|
|
77
|
+
declare const index_createBrandCorsOptions: typeof createBrandCorsOptions;
|
|
78
|
+
declare const index_createBulkDeleteHandler: typeof createBulkDeleteHandler;
|
|
79
|
+
declare const index_createConfig: typeof createConfig;
|
|
80
|
+
declare const index_createCorsOptions: typeof createCorsOptions;
|
|
81
|
+
declare const index_createCrudControllers: typeof createCrudControllers;
|
|
82
|
+
declare const index_createDdosRateLimiter: typeof createDdosRateLimiter;
|
|
83
|
+
declare const index_createLogger: typeof createLogger;
|
|
84
|
+
declare const index_createMorganStream: typeof createMorganStream;
|
|
85
|
+
declare const index_createMultiBrandCorsOptions: typeof createMultiBrandCorsOptions;
|
|
86
|
+
declare const index_createPaginationMiddleware: typeof createPaginationMiddleware;
|
|
87
|
+
declare const index_createPrefixedKeyGenerator: typeof createPrefixedKeyGenerator;
|
|
88
|
+
declare const index_createRateLimiter: typeof createRateLimiter;
|
|
89
|
+
declare const index_createStandardRateLimiter: typeof createStandardRateLimiter;
|
|
90
|
+
declare const index_createStrictRateLimiter: typeof createStrictRateLimiter;
|
|
91
|
+
declare const index_createUserKeyGenerator: typeof createUserKeyGenerator;
|
|
92
|
+
declare const index_createdResponse: typeof createdResponse;
|
|
93
|
+
declare const index_ddosProtectionLimiter: typeof ddosProtectionLimiter;
|
|
94
|
+
declare const index_defaultKeyGenerator: typeof defaultKeyGenerator;
|
|
95
|
+
declare const index_disconnectDB: typeof disconnectDB;
|
|
96
|
+
declare const index_errorResponse: typeof errorResponse;
|
|
97
|
+
declare const index_extractColumns: typeof extractColumns;
|
|
98
|
+
declare const index_extractOrganization: typeof extractOrganization;
|
|
99
|
+
declare const index_extractSchemaMeta: typeof extractSchemaMeta;
|
|
100
|
+
declare const index_forbiddenResponse: typeof forbiddenResponse;
|
|
101
|
+
declare const index_formatPackageCheckResult: typeof formatPackageCheckResult;
|
|
102
|
+
declare const index_generateNcuCommand: typeof generateNcuCommand;
|
|
103
|
+
declare const index_getConnectionStatus: typeof getConnectionStatus;
|
|
104
|
+
declare const index_getDatabaseOptions: typeof getDatabaseOptions;
|
|
105
|
+
declare const index_isDevelopment: typeof isDevelopment;
|
|
106
|
+
declare const index_isProduction: typeof isProduction;
|
|
107
|
+
declare const index_isTest: typeof isTest;
|
|
108
|
+
declare const index_logger: typeof logger;
|
|
109
|
+
declare const index_noContentResponse: typeof noContentResponse;
|
|
110
|
+
declare const index_notFoundResponse: typeof notFoundResponse;
|
|
111
|
+
declare const index_omitFields: typeof omitFields;
|
|
112
|
+
declare const index_optionalAuthenticateJWT: typeof optionalAuthenticateJWT;
|
|
113
|
+
declare const index_packageCheckServer: typeof packageCheckServer;
|
|
114
|
+
declare const index_parseBulkDelete: typeof parseBulkDelete;
|
|
115
|
+
declare const index_pickFields: typeof pickFields;
|
|
116
|
+
declare const index_printPackageCheckSummary: typeof printPackageCheckSummary;
|
|
117
|
+
declare const index_queryPagination: typeof queryPagination;
|
|
118
|
+
declare const index_queryParser: typeof queryParser;
|
|
119
|
+
declare const index_rateLimitResponse: typeof rateLimitResponse;
|
|
120
|
+
declare const index_rateLimiter: typeof rateLimiter;
|
|
121
|
+
declare const index_requireOrganization: typeof requireOrganization;
|
|
122
|
+
declare const index_sanitizeDocument: typeof sanitizeDocument;
|
|
123
|
+
declare const index_sanitizeUser: typeof sanitizeUser;
|
|
124
|
+
declare const index_simpleLogger: typeof simpleLogger;
|
|
125
|
+
declare const index_standardRateLimiter: typeof standardRateLimiter;
|
|
126
|
+
declare const index_statusCode: typeof statusCode;
|
|
127
|
+
declare const index_statusMessage: typeof statusMessage;
|
|
128
|
+
declare const index_stream: typeof stream;
|
|
129
|
+
declare const index_strictRateLimiter: typeof strictRateLimiter;
|
|
130
|
+
declare const index_successResponse: typeof successResponse;
|
|
131
|
+
declare const index_successResponseArr: typeof successResponseArr;
|
|
132
|
+
declare const index_unauthorizedResponse: typeof unauthorizedResponse;
|
|
133
|
+
declare const index_validationErrorResponse: typeof validationErrorResponse;
|
|
134
|
+
declare namespace index {
|
|
135
|
+
export { index_ApiResponse as ApiResponse, index_AppConfig as AppConfig, index_AuthConfig as AuthConfig, index_AuthRequest as AuthRequest, index_BulkDeleteRequest as BulkDeleteRequest, index_ColumnMeta as ColumnMeta, index_ColumnMetadata as ColumnMetadata, index_ConfigBuilder as ConfigBuilder, index_CorsConfig as CorsConfig, index_CorsOriginsConfig as CorsOriginsConfig, index_CrudConfig as CrudConfig, index_DEFAULT_AUTH_CONFIG as DEFAULT_AUTH_CONFIG, index_DEFAULT_CORS_CONFIG as DEFAULT_CORS_CONFIG, index_DEFAULT_CORS_ORIGINS as DEFAULT_CORS_ORIGINS, index_DEFAULT_DATABASE_CONFIG as DEFAULT_DATABASE_CONFIG, index_DEFAULT_LOGGING_CONFIG as DEFAULT_LOGGING_CONFIG, index_DEFAULT_RATE_LIMIT_CONFIG as DEFAULT_RATE_LIMIT_CONFIG, index_DEFAULT_RATE_LIMIT_TIERS as DEFAULT_RATE_LIMIT_TIERS, index_DEFAULT_SERVER_CONFIG as DEFAULT_SERVER_CONFIG, index_DatabaseConfig as DatabaseConfig, index_DbConnectionOptions as DbConnectionOptions, index_EXYCONN_CORS_CONFIG as EXYCONN_CORS_CONFIG, index_Environment as Environment, index_FilterOptions as FilterOptions, index_JWTPayload as JWTPayload, index_LogLevel as LogLevel, index_LoggerConfig as LoggerConfig, index_LoggingConfig as LoggingConfig, index_OrgRequest as OrgRequest, index_PERMISSIVE_CORS_CONFIG as PERMISSIVE_CORS_CONFIG, index_PackageCheckResult as PackageCheckResult, index_PackageJson as PackageJson, index_PackageVersion as PackageVersion, index_PaginatedRequest as PaginatedRequest, index_PaginatedResponse as PaginatedResponse, index_PaginatedResult as PaginatedResult, index_PaginationData as PaginationData, index_PaginationMeta as PaginationMeta, index_PaginationOptions as PaginationOptions, index_PaginationResult as PaginationResult, index_ParsedQuery as ParsedQuery, index_RATE_LIMIT_CONFIG as RATE_LIMIT_CONFIG, index_RateLimitConfig as RateLimitConfig, index_RateLimitResponse as RateLimitResponse, index_RateLimitTier as RateLimitTier, index_RateLimitTierConfig as RateLimitTierConfig, index_RateLimiterBuilder as RateLimiterBuilder, index_RateLimiterConfig as RateLimiterConfig, index_STRICT_CORS_CONFIG as STRICT_CORS_CONFIG, index_ServerConfig as ServerConfig, index_SortConfig as SortConfig, index_SortOrder as SortOrder, index_StatusCode as StatusCode, index_StatusMessage as StatusMessage, index_authenticateApiKey as authenticateApiKey, index_authenticateJWT as authenticateJWT, index_badRequestResponse as badRequestResponse, index_buildConfig as buildConfig, index_buildDeleteFilter as buildDeleteFilter, index_buildFilter as buildFilter, index_buildPagination as buildPagination, index_buildPaginationMeta as buildPaginationMeta, index_checkPackageServer as checkPackageServer, index_conflictResponse as conflictResponse, index_connectDB as connectDB, index_corsOptions as corsOptions, index_createApiKeyGenerator as createApiKeyGenerator, index_createApiRateLimiter as createApiRateLimiter, index_createBrandCorsOptions as createBrandCorsOptions, index_createBulkDeleteHandler as createBulkDeleteHandler, index_createConfig as createConfig, index_createCorsOptions as createCorsOptions, index_createCrudControllers as createCrudControllers, index_createDdosRateLimiter as createDdosRateLimiter, index_createLogger as createLogger, index_createMorganStream as createMorganStream, index_createMultiBrandCorsOptions as createMultiBrandCorsOptions, index_createPaginationMiddleware as createPaginationMiddleware, index_createPrefixedKeyGenerator as createPrefixedKeyGenerator, index_createRateLimiter as createRateLimiter, index_createStandardRateLimiter as createStandardRateLimiter, index_createStrictRateLimiter as createStrictRateLimiter, index_createUserKeyGenerator as createUserKeyGenerator, index_createdResponse as createdResponse, index_ddosProtectionLimiter as ddosProtectionLimiter, index_defaultKeyGenerator as defaultKeyGenerator, index_disconnectDB as disconnectDB, index_errorResponse as errorResponse, index_extractColumns as extractColumns, index_extractOrganization as extractOrganization, index_extractSchemaMeta as extractSchemaMeta, index_forbiddenResponse as forbiddenResponse, index_formatPackageCheckResult as formatPackageCheckResult, index_generateNcuCommand as generateNcuCommand, index_getConnectionStatus as getConnectionStatus, index_getDatabaseOptions as getDatabaseOptions, index_isDevelopment as isDevelopment, index_isProduction as isProduction, index_isTest as isTest, index_logger as logger, index_noContentResponse as noContentResponse, index_notFoundResponse as notFoundResponse, index_omitFields as omitFields, index_optionalAuthenticateJWT as optionalAuthenticateJWT, index_packageCheckServer as packageCheckServer, index_parseBulkDelete as parseBulkDelete, index_pickFields as pickFields, index_printPackageCheckSummary as printPackageCheckSummary, index_queryPagination as queryPagination, index_queryParser as queryParser, index_rateLimitResponse as rateLimitResponse, index_rateLimiter as rateLimiter, index_requireOrganization as requireOrganization, index_sanitizeDocument as sanitizeDocument, index_sanitizeUser as sanitizeUser, index_simpleLogger as simpleLogger, index_standardRateLimiter as standardRateLimiter, index_statusCode as statusCode, index_statusMessage as statusMessage, index_stream as stream, index_strictRateLimiter as strictRateLimiter, index_successResponse as successResponse, index_successResponseArr as successResponseArr, index_unauthorizedResponse as unauthorizedResponse, index_validationErrorResponse as validationErrorResponse };
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export { index as i };
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import countries, { City, Country, CountryWithFlag, State, codeToFlag, getAllCities, getAllCountriesWithFlags, getCitiesByState, getCountriesByContinent, getCountryByCode, getCountryByName, getCountryWithFlag, getFlag, getStatesByCountry, searchCountries } from './data/countries.mjs';
|
|
2
|
+
import phoneCodes, { PhoneCode, getPhoneCodeByCountry, getPhoneCodesByPrefix, searchPhoneCodes } from './data/phone-codes.mjs';
|
|
3
|
+
import currencies, { Currency, formatCurrency, formatCurrencyNative, getCurrencyByCode, searchCurrencies } from './data/currencies.mjs';
|
|
4
|
+
import timezones, { Timezone, getTimezoneByName, getTimezonesByOffset, searchTimezones, sortTimezonesByOffset } from './data/timezones.mjs';
|
|
5
|
+
import REGEX, { AADHAAR_INDIA, ALPHANUMERIC, AMEX, ARCHIVE_EXT, AUDIO_EXT, BASE64, CARD_EXPIRY, CREDIT_CARD, CUID, CUID2, CVV, DATETIME_ISO, DATE_DMY, DATE_ISO, DATE_MDY, DECIMAL, DISCOVER, DL_INDIA, DOCUMENT_EXT, DOMAIN, EMAIL, EMAIL_COMMON_DOMAINS, EMAIL_RFC5322, EMOJI, GST_INDIA, HANDLE, HASHTAG, HAS_DIGIT, HAS_LOWERCASE, HAS_SPECIAL, HAS_UPPERCASE, HEX_COLOR, HEX_COLOR_ALPHA, HSL_COLOR, HTML_TAG, IFSC_INDIA, IMAGE_EXT, IPV4, IPV6, JSON_STRING, JWT, LATITUDE, LETTERS_ONLY, LOCALHOST, LONGITUDE, MAC_ADDRESS, MASTERCARD, MENTION, MONGO_OBJECT_ID, NANOID, NON_NEGATIVE_INTEGER, NO_SPECIAL_CHARS, NO_WHITESPACE, NUMBERS_ONLY, PAN_INDIA, PASSWORD_ALPHANUMERIC, PASSWORD_MEDIUM, PASSWORD_MIN_8, PASSWORD_STRONG, PASSWORD_VERY_STRONG, PHONE_10_DIGIT, PHONE_INDIA, PHONE_INTERNATIONAL, PHONE_UK, PHONE_US, PHONE_WITH_CODE, PIN_INDIA, PLZ_GERMANY, POSITIVE_INTEGER, POSTAL_CANADA, POSTAL_GENERIC, POSTAL_UK, RGBA_COLOR, RGB_COLOR, SAFE_FILENAME, SEMVER, SLUG, SSN_US, SUBDOMAIN, TIME_12H, TIME_24H, TIME_24H_SECONDS, URL_BASIC, URL_OPTIONAL_PROTOCOL, URL_STRICT, USERNAME, USERNAME_ALPHA_START, UUID, UUID_V4, VEHICLE_INDIA, VIDEO_EXT, VISA, ZIP_US } from './data/regex.mjs';
|
|
6
|
+
import BRANDS, { APPS, AppConfig, BrandColors, BrandIdentity, ContactInfo, LogoSet, SEOConfig, SocialLinks, createAppConfig, detectCurrentBrand, getAllBrandIds, getAllBrands as getAllBrands$1, getAppConfigByDomain, getBrandByDomain as getBrandByDomain$1, getBrandById, getLogo as getLogo$1, getThemedLogo } from './data/brand-identity.mjs';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Company Logos for all 5 Exyconn projects
|
|
10
|
+
* Contains light and dark mode variants
|
|
11
|
+
*/
|
|
12
|
+
interface LogoVariants {
|
|
13
|
+
light: string;
|
|
14
|
+
dark: string;
|
|
15
|
+
}
|
|
16
|
+
interface Logo {
|
|
17
|
+
full: LogoVariants;
|
|
18
|
+
icon: LogoVariants;
|
|
19
|
+
favicon: string;
|
|
20
|
+
}
|
|
21
|
+
interface CompanyBrand {
|
|
22
|
+
name: string;
|
|
23
|
+
domain: string;
|
|
24
|
+
tagline: string;
|
|
25
|
+
primaryColor: string;
|
|
26
|
+
secondaryColor: string;
|
|
27
|
+
logo: Logo;
|
|
28
|
+
}
|
|
29
|
+
declare const brands: Record<string, CompanyBrand>;
|
|
30
|
+
declare const getBrand: (key: string) => CompanyBrand | undefined;
|
|
31
|
+
declare const getBrandByDomain: (domain: string) => CompanyBrand | undefined;
|
|
32
|
+
declare const getLogo: (brandKey: string, mode: "light" | "dark", type?: "full" | "icon") => string | undefined;
|
|
33
|
+
declare const getAllBrands: () => CompanyBrand[];
|
|
34
|
+
declare const getAllBrandKeys: () => string[];
|
|
35
|
+
|
|
36
|
+
declare const index_AADHAAR_INDIA: typeof AADHAAR_INDIA;
|
|
37
|
+
declare const index_ALPHANUMERIC: typeof ALPHANUMERIC;
|
|
38
|
+
declare const index_AMEX: typeof AMEX;
|
|
39
|
+
declare const index_APPS: typeof APPS;
|
|
40
|
+
declare const index_ARCHIVE_EXT: typeof ARCHIVE_EXT;
|
|
41
|
+
declare const index_AUDIO_EXT: typeof AUDIO_EXT;
|
|
42
|
+
declare const index_AppConfig: typeof AppConfig;
|
|
43
|
+
declare const index_BASE64: typeof BASE64;
|
|
44
|
+
declare const index_BRANDS: typeof BRANDS;
|
|
45
|
+
declare const index_BrandColors: typeof BrandColors;
|
|
46
|
+
declare const index_BrandIdentity: typeof BrandIdentity;
|
|
47
|
+
declare const index_CARD_EXPIRY: typeof CARD_EXPIRY;
|
|
48
|
+
declare const index_CREDIT_CARD: typeof CREDIT_CARD;
|
|
49
|
+
declare const index_CUID: typeof CUID;
|
|
50
|
+
declare const index_CUID2: typeof CUID2;
|
|
51
|
+
declare const index_CVV: typeof CVV;
|
|
52
|
+
declare const index_City: typeof City;
|
|
53
|
+
type index_CompanyBrand = CompanyBrand;
|
|
54
|
+
declare const index_ContactInfo: typeof ContactInfo;
|
|
55
|
+
declare const index_Country: typeof Country;
|
|
56
|
+
declare const index_CountryWithFlag: typeof CountryWithFlag;
|
|
57
|
+
declare const index_Currency: typeof Currency;
|
|
58
|
+
declare const index_DATETIME_ISO: typeof DATETIME_ISO;
|
|
59
|
+
declare const index_DATE_DMY: typeof DATE_DMY;
|
|
60
|
+
declare const index_DATE_ISO: typeof DATE_ISO;
|
|
61
|
+
declare const index_DATE_MDY: typeof DATE_MDY;
|
|
62
|
+
declare const index_DECIMAL: typeof DECIMAL;
|
|
63
|
+
declare const index_DISCOVER: typeof DISCOVER;
|
|
64
|
+
declare const index_DL_INDIA: typeof DL_INDIA;
|
|
65
|
+
declare const index_DOCUMENT_EXT: typeof DOCUMENT_EXT;
|
|
66
|
+
declare const index_DOMAIN: typeof DOMAIN;
|
|
67
|
+
declare const index_EMAIL: typeof EMAIL;
|
|
68
|
+
declare const index_EMAIL_COMMON_DOMAINS: typeof EMAIL_COMMON_DOMAINS;
|
|
69
|
+
declare const index_EMAIL_RFC5322: typeof EMAIL_RFC5322;
|
|
70
|
+
declare const index_EMOJI: typeof EMOJI;
|
|
71
|
+
declare const index_GST_INDIA: typeof GST_INDIA;
|
|
72
|
+
declare const index_HANDLE: typeof HANDLE;
|
|
73
|
+
declare const index_HASHTAG: typeof HASHTAG;
|
|
74
|
+
declare const index_HAS_DIGIT: typeof HAS_DIGIT;
|
|
75
|
+
declare const index_HAS_LOWERCASE: typeof HAS_LOWERCASE;
|
|
76
|
+
declare const index_HAS_SPECIAL: typeof HAS_SPECIAL;
|
|
77
|
+
declare const index_HAS_UPPERCASE: typeof HAS_UPPERCASE;
|
|
78
|
+
declare const index_HEX_COLOR: typeof HEX_COLOR;
|
|
79
|
+
declare const index_HEX_COLOR_ALPHA: typeof HEX_COLOR_ALPHA;
|
|
80
|
+
declare const index_HSL_COLOR: typeof HSL_COLOR;
|
|
81
|
+
declare const index_HTML_TAG: typeof HTML_TAG;
|
|
82
|
+
declare const index_IFSC_INDIA: typeof IFSC_INDIA;
|
|
83
|
+
declare const index_IMAGE_EXT: typeof IMAGE_EXT;
|
|
84
|
+
declare const index_IPV4: typeof IPV4;
|
|
85
|
+
declare const index_IPV6: typeof IPV6;
|
|
86
|
+
declare const index_JSON_STRING: typeof JSON_STRING;
|
|
87
|
+
declare const index_JWT: typeof JWT;
|
|
88
|
+
declare const index_LATITUDE: typeof LATITUDE;
|
|
89
|
+
declare const index_LETTERS_ONLY: typeof LETTERS_ONLY;
|
|
90
|
+
declare const index_LOCALHOST: typeof LOCALHOST;
|
|
91
|
+
declare const index_LONGITUDE: typeof LONGITUDE;
|
|
92
|
+
type index_Logo = Logo;
|
|
93
|
+
declare const index_LogoSet: typeof LogoSet;
|
|
94
|
+
type index_LogoVariants = LogoVariants;
|
|
95
|
+
declare const index_MAC_ADDRESS: typeof MAC_ADDRESS;
|
|
96
|
+
declare const index_MASTERCARD: typeof MASTERCARD;
|
|
97
|
+
declare const index_MENTION: typeof MENTION;
|
|
98
|
+
declare const index_MONGO_OBJECT_ID: typeof MONGO_OBJECT_ID;
|
|
99
|
+
declare const index_NANOID: typeof NANOID;
|
|
100
|
+
declare const index_NON_NEGATIVE_INTEGER: typeof NON_NEGATIVE_INTEGER;
|
|
101
|
+
declare const index_NO_SPECIAL_CHARS: typeof NO_SPECIAL_CHARS;
|
|
102
|
+
declare const index_NO_WHITESPACE: typeof NO_WHITESPACE;
|
|
103
|
+
declare const index_NUMBERS_ONLY: typeof NUMBERS_ONLY;
|
|
104
|
+
declare const index_PAN_INDIA: typeof PAN_INDIA;
|
|
105
|
+
declare const index_PASSWORD_ALPHANUMERIC: typeof PASSWORD_ALPHANUMERIC;
|
|
106
|
+
declare const index_PASSWORD_MEDIUM: typeof PASSWORD_MEDIUM;
|
|
107
|
+
declare const index_PASSWORD_MIN_8: typeof PASSWORD_MIN_8;
|
|
108
|
+
declare const index_PASSWORD_STRONG: typeof PASSWORD_STRONG;
|
|
109
|
+
declare const index_PASSWORD_VERY_STRONG: typeof PASSWORD_VERY_STRONG;
|
|
110
|
+
declare const index_PHONE_10_DIGIT: typeof PHONE_10_DIGIT;
|
|
111
|
+
declare const index_PHONE_INDIA: typeof PHONE_INDIA;
|
|
112
|
+
declare const index_PHONE_INTERNATIONAL: typeof PHONE_INTERNATIONAL;
|
|
113
|
+
declare const index_PHONE_UK: typeof PHONE_UK;
|
|
114
|
+
declare const index_PHONE_US: typeof PHONE_US;
|
|
115
|
+
declare const index_PHONE_WITH_CODE: typeof PHONE_WITH_CODE;
|
|
116
|
+
declare const index_PIN_INDIA: typeof PIN_INDIA;
|
|
117
|
+
declare const index_PLZ_GERMANY: typeof PLZ_GERMANY;
|
|
118
|
+
declare const index_POSITIVE_INTEGER: typeof POSITIVE_INTEGER;
|
|
119
|
+
declare const index_POSTAL_CANADA: typeof POSTAL_CANADA;
|
|
120
|
+
declare const index_POSTAL_GENERIC: typeof POSTAL_GENERIC;
|
|
121
|
+
declare const index_POSTAL_UK: typeof POSTAL_UK;
|
|
122
|
+
declare const index_PhoneCode: typeof PhoneCode;
|
|
123
|
+
declare const index_REGEX: typeof REGEX;
|
|
124
|
+
declare const index_RGBA_COLOR: typeof RGBA_COLOR;
|
|
125
|
+
declare const index_RGB_COLOR: typeof RGB_COLOR;
|
|
126
|
+
declare const index_SAFE_FILENAME: typeof SAFE_FILENAME;
|
|
127
|
+
declare const index_SEMVER: typeof SEMVER;
|
|
128
|
+
declare const index_SEOConfig: typeof SEOConfig;
|
|
129
|
+
declare const index_SLUG: typeof SLUG;
|
|
130
|
+
declare const index_SSN_US: typeof SSN_US;
|
|
131
|
+
declare const index_SUBDOMAIN: typeof SUBDOMAIN;
|
|
132
|
+
declare const index_SocialLinks: typeof SocialLinks;
|
|
133
|
+
declare const index_State: typeof State;
|
|
134
|
+
declare const index_TIME_12H: typeof TIME_12H;
|
|
135
|
+
declare const index_TIME_24H: typeof TIME_24H;
|
|
136
|
+
declare const index_TIME_24H_SECONDS: typeof TIME_24H_SECONDS;
|
|
137
|
+
declare const index_Timezone: typeof Timezone;
|
|
138
|
+
declare const index_URL_BASIC: typeof URL_BASIC;
|
|
139
|
+
declare const index_URL_OPTIONAL_PROTOCOL: typeof URL_OPTIONAL_PROTOCOL;
|
|
140
|
+
declare const index_URL_STRICT: typeof URL_STRICT;
|
|
141
|
+
declare const index_USERNAME: typeof USERNAME;
|
|
142
|
+
declare const index_USERNAME_ALPHA_START: typeof USERNAME_ALPHA_START;
|
|
143
|
+
declare const index_UUID: typeof UUID;
|
|
144
|
+
declare const index_UUID_V4: typeof UUID_V4;
|
|
145
|
+
declare const index_VEHICLE_INDIA: typeof VEHICLE_INDIA;
|
|
146
|
+
declare const index_VIDEO_EXT: typeof VIDEO_EXT;
|
|
147
|
+
declare const index_VISA: typeof VISA;
|
|
148
|
+
declare const index_ZIP_US: typeof ZIP_US;
|
|
149
|
+
declare const index_brands: typeof brands;
|
|
150
|
+
declare const index_codeToFlag: typeof codeToFlag;
|
|
151
|
+
declare const index_countries: typeof countries;
|
|
152
|
+
declare const index_createAppConfig: typeof createAppConfig;
|
|
153
|
+
declare const index_currencies: typeof currencies;
|
|
154
|
+
declare const index_detectCurrentBrand: typeof detectCurrentBrand;
|
|
155
|
+
declare const index_formatCurrency: typeof formatCurrency;
|
|
156
|
+
declare const index_formatCurrencyNative: typeof formatCurrencyNative;
|
|
157
|
+
declare const index_getAllBrandIds: typeof getAllBrandIds;
|
|
158
|
+
declare const index_getAllBrandKeys: typeof getAllBrandKeys;
|
|
159
|
+
declare const index_getAllCities: typeof getAllCities;
|
|
160
|
+
declare const index_getAllCountriesWithFlags: typeof getAllCountriesWithFlags;
|
|
161
|
+
declare const index_getAppConfigByDomain: typeof getAppConfigByDomain;
|
|
162
|
+
declare const index_getBrand: typeof getBrand;
|
|
163
|
+
declare const index_getBrandById: typeof getBrandById;
|
|
164
|
+
declare const index_getCitiesByState: typeof getCitiesByState;
|
|
165
|
+
declare const index_getCountriesByContinent: typeof getCountriesByContinent;
|
|
166
|
+
declare const index_getCountryByCode: typeof getCountryByCode;
|
|
167
|
+
declare const index_getCountryByName: typeof getCountryByName;
|
|
168
|
+
declare const index_getCountryWithFlag: typeof getCountryWithFlag;
|
|
169
|
+
declare const index_getCurrencyByCode: typeof getCurrencyByCode;
|
|
170
|
+
declare const index_getFlag: typeof getFlag;
|
|
171
|
+
declare const index_getPhoneCodeByCountry: typeof getPhoneCodeByCountry;
|
|
172
|
+
declare const index_getPhoneCodesByPrefix: typeof getPhoneCodesByPrefix;
|
|
173
|
+
declare const index_getStatesByCountry: typeof getStatesByCountry;
|
|
174
|
+
declare const index_getThemedLogo: typeof getThemedLogo;
|
|
175
|
+
declare const index_getTimezoneByName: typeof getTimezoneByName;
|
|
176
|
+
declare const index_getTimezonesByOffset: typeof getTimezonesByOffset;
|
|
177
|
+
declare const index_phoneCodes: typeof phoneCodes;
|
|
178
|
+
declare const index_searchCountries: typeof searchCountries;
|
|
179
|
+
declare const index_searchCurrencies: typeof searchCurrencies;
|
|
180
|
+
declare const index_searchPhoneCodes: typeof searchPhoneCodes;
|
|
181
|
+
declare const index_searchTimezones: typeof searchTimezones;
|
|
182
|
+
declare const index_sortTimezonesByOffset: typeof sortTimezonesByOffset;
|
|
183
|
+
declare const index_timezones: typeof timezones;
|
|
184
|
+
declare namespace index {
|
|
185
|
+
export { index_AADHAAR_INDIA as AADHAAR_INDIA, index_ALPHANUMERIC as ALPHANUMERIC, index_AMEX as AMEX, index_APPS as APPS, index_ARCHIVE_EXT as ARCHIVE_EXT, index_AUDIO_EXT as AUDIO_EXT, index_AppConfig as AppConfig, index_BASE64 as BASE64, index_BRANDS as BRANDS, index_BrandColors as BrandColors, index_BrandIdentity as BrandIdentity, index_CARD_EXPIRY as CARD_EXPIRY, index_CREDIT_CARD as CREDIT_CARD, index_CUID as CUID, index_CUID2 as CUID2, index_CVV as CVV, index_City as City, type index_CompanyBrand as CompanyBrand, index_ContactInfo as ContactInfo, index_Country as Country, index_CountryWithFlag as CountryWithFlag, index_Currency as Currency, index_DATETIME_ISO as DATETIME_ISO, index_DATE_DMY as DATE_DMY, index_DATE_ISO as DATE_ISO, index_DATE_MDY as DATE_MDY, index_DECIMAL as DECIMAL, index_DISCOVER as DISCOVER, index_DL_INDIA as DL_INDIA, index_DOCUMENT_EXT as DOCUMENT_EXT, index_DOMAIN as DOMAIN, index_EMAIL as EMAIL, index_EMAIL_COMMON_DOMAINS as EMAIL_COMMON_DOMAINS, index_EMAIL_RFC5322 as EMAIL_RFC5322, index_EMOJI as EMOJI, index_GST_INDIA as GST_INDIA, index_HANDLE as HANDLE, index_HASHTAG as HASHTAG, index_HAS_DIGIT as HAS_DIGIT, index_HAS_LOWERCASE as HAS_LOWERCASE, index_HAS_SPECIAL as HAS_SPECIAL, index_HAS_UPPERCASE as HAS_UPPERCASE, index_HEX_COLOR as HEX_COLOR, index_HEX_COLOR_ALPHA as HEX_COLOR_ALPHA, index_HSL_COLOR as HSL_COLOR, index_HTML_TAG as HTML_TAG, index_IFSC_INDIA as IFSC_INDIA, index_IMAGE_EXT as IMAGE_EXT, index_IPV4 as IPV4, index_IPV6 as IPV6, index_JSON_STRING as JSON_STRING, index_JWT as JWT, index_LATITUDE as LATITUDE, index_LETTERS_ONLY as LETTERS_ONLY, index_LOCALHOST as LOCALHOST, index_LONGITUDE as LONGITUDE, type index_Logo as Logo, index_LogoSet as LogoSet, type index_LogoVariants as LogoVariants, index_MAC_ADDRESS as MAC_ADDRESS, index_MASTERCARD as MASTERCARD, index_MENTION as MENTION, index_MONGO_OBJECT_ID as MONGO_OBJECT_ID, index_NANOID as NANOID, index_NON_NEGATIVE_INTEGER as NON_NEGATIVE_INTEGER, index_NO_SPECIAL_CHARS as NO_SPECIAL_CHARS, index_NO_WHITESPACE as NO_WHITESPACE, index_NUMBERS_ONLY as NUMBERS_ONLY, index_PAN_INDIA as PAN_INDIA, index_PASSWORD_ALPHANUMERIC as PASSWORD_ALPHANUMERIC, index_PASSWORD_MEDIUM as PASSWORD_MEDIUM, index_PASSWORD_MIN_8 as PASSWORD_MIN_8, index_PASSWORD_STRONG as PASSWORD_STRONG, index_PASSWORD_VERY_STRONG as PASSWORD_VERY_STRONG, index_PHONE_10_DIGIT as PHONE_10_DIGIT, index_PHONE_INDIA as PHONE_INDIA, index_PHONE_INTERNATIONAL as PHONE_INTERNATIONAL, index_PHONE_UK as PHONE_UK, index_PHONE_US as PHONE_US, index_PHONE_WITH_CODE as PHONE_WITH_CODE, index_PIN_INDIA as PIN_INDIA, index_PLZ_GERMANY as PLZ_GERMANY, index_POSITIVE_INTEGER as POSITIVE_INTEGER, index_POSTAL_CANADA as POSTAL_CANADA, index_POSTAL_GENERIC as POSTAL_GENERIC, index_POSTAL_UK as POSTAL_UK, index_PhoneCode as PhoneCode, index_REGEX as REGEX, index_RGBA_COLOR as RGBA_COLOR, index_RGB_COLOR as RGB_COLOR, index_SAFE_FILENAME as SAFE_FILENAME, index_SEMVER as SEMVER, index_SEOConfig as SEOConfig, index_SLUG as SLUG, index_SSN_US as SSN_US, index_SUBDOMAIN as SUBDOMAIN, index_SocialLinks as SocialLinks, index_State as State, index_TIME_12H as TIME_12H, index_TIME_24H as TIME_24H, index_TIME_24H_SECONDS as TIME_24H_SECONDS, index_Timezone as Timezone, index_URL_BASIC as URL_BASIC, index_URL_OPTIONAL_PROTOCOL as URL_OPTIONAL_PROTOCOL, index_URL_STRICT as URL_STRICT, index_USERNAME as USERNAME, index_USERNAME_ALPHA_START as USERNAME_ALPHA_START, index_UUID as UUID, index_UUID_V4 as UUID_V4, index_VEHICLE_INDIA as VEHICLE_INDIA, index_VIDEO_EXT as VIDEO_EXT, index_VISA as VISA, index_ZIP_US as ZIP_US, index_brands as brands, index_codeToFlag as codeToFlag, index_countries as countries, index_createAppConfig as createAppConfig, index_currencies as currencies, index_detectCurrentBrand as detectCurrentBrand, index_formatCurrency as formatCurrency, index_formatCurrencyNative as formatCurrencyNative, index_getAllBrandIds as getAllBrandIds, index_getAllBrandKeys as getAllBrandKeys, getAllBrands$1 as getAllBrands, index_getAllCities as getAllCities, index_getAllCountriesWithFlags as getAllCountriesWithFlags, index_getAppConfigByDomain as getAppConfigByDomain, index_getBrand as getBrand, getBrandByDomain$1 as getBrandByDomain, index_getBrandById as getBrandById, index_getCitiesByState as getCitiesByState, index_getCountriesByContinent as getCountriesByContinent, index_getCountryByCode as getCountryByCode, index_getCountryByName as getCountryByName, index_getCountryWithFlag as getCountryWithFlag, index_getCurrencyByCode as getCurrencyByCode, index_getFlag as getFlag, getAllBrands as getLegacyAllBrands, getBrandByDomain as getLegacyBrandByDomain, getLogo as getLegacyLogo, getLogo$1 as getLogo, index_getPhoneCodeByCountry as getPhoneCodeByCountry, index_getPhoneCodesByPrefix as getPhoneCodesByPrefix, index_getStatesByCountry as getStatesByCountry, index_getThemedLogo as getThemedLogo, index_getTimezoneByName as getTimezoneByName, index_getTimezonesByOffset as getTimezonesByOffset, brands as legacyBrands, index_phoneCodes as phoneCodes, index_searchCountries as searchCountries, index_searchCurrencies as searchCurrencies, index_searchPhoneCodes as searchPhoneCodes, index_searchTimezones as searchTimezones, index_sortTimezonesByOffset as sortTimezonesByOffset, index_timezones as timezones };
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
export { type CompanyBrand as C, type LogoVariants as L, type Logo as a, brands as b, getBrandByDomain as c, getLogo as d, getAllBrands as e, getAllBrandKeys as f, getBrand as g, index as i };
|