founder-schema 0.15.0 → 0.17.0
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 +197 -5
- package/dist/core/common.d.ts +103 -20
- package/dist/core/common.d.ts.map +1 -1
- package/dist/core/common.js +104 -16
- package/dist/core/common.js.map +1 -1
- package/dist/core/limits.d.ts +7 -0
- package/dist/core/limits.d.ts.map +1 -1
- package/dist/core/limits.js +7 -0
- package/dist/core/limits.js.map +1 -1
- package/dist/core/validation.d.ts +26 -0
- package/dist/core/validation.d.ts.map +1 -1
- package/dist/core/validation.js +26 -0
- package/dist/core/validation.js.map +1 -1
- package/dist/domains/communities/communities.d.ts +9 -9
- package/dist/domains/discover/discover.d.ts +7 -0
- package/dist/domains/discover/discover.d.ts.map +1 -1
- package/dist/domains/feed/feed.d.ts +11 -11
- package/dist/domains/location/india.d.ts +205 -0
- package/dist/domains/location/india.d.ts.map +1 -0
- package/dist/domains/location/india.js +1175 -0
- package/dist/domains/location/india.js.map +1 -0
- package/dist/domains/onboarding/onboarding-answers.d.ts +81 -0
- package/dist/domains/onboarding/onboarding-answers.d.ts.map +1 -0
- package/dist/domains/onboarding/onboarding-answers.js +141 -0
- package/dist/domains/onboarding/onboarding-answers.js.map +1 -0
- package/dist/domains/onboarding/onboarding.d.ts +422 -34
- package/dist/domains/onboarding/onboarding.d.ts.map +1 -1
- package/dist/domains/onboarding/onboarding.js +314 -58
- package/dist/domains/onboarding/onboarding.js.map +1 -1
- package/dist/domains/products/products.d.ts +3 -3
- package/dist/domains/profile/founder-profile.d.ts +122 -6
- package/dist/domains/profile/founder-profile.d.ts.map +1 -1
- package/dist/domains/profile/founder-profile.js +29 -9
- package/dist/domains/profile/founder-profile.js.map +1 -1
- package/dist/domains/profile/my-profile.d.ts +386 -0
- package/dist/domains/profile/my-profile.d.ts.map +1 -0
- package/dist/domains/profile/my-profile.js +52 -0
- package/dist/domains/profile/my-profile.js.map +1 -0
- package/dist/index.d.ts +7 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -472,6 +472,7 @@ export declare const feedPostSchema: z.ZodObject<{
|
|
|
472
472
|
marketing: "marketing";
|
|
473
473
|
supply_chain: "supply_chain";
|
|
474
474
|
fundraising: "fundraising";
|
|
475
|
+
social_enterprise: "social_enterprise";
|
|
475
476
|
mentoring: "mentoring";
|
|
476
477
|
leadership: "leadership";
|
|
477
478
|
networking: "networking";
|
|
@@ -530,7 +531,6 @@ export declare const feedPostSchema: z.ZodObject<{
|
|
|
530
531
|
environmental: "environmental";
|
|
531
532
|
women_empowerment: "women_empowerment";
|
|
532
533
|
community_service: "community_service";
|
|
533
|
-
social_enterprise: "social_enterprise";
|
|
534
534
|
education_access: "education_access";
|
|
535
535
|
}>>;
|
|
536
536
|
product: z.ZodOptional<z.ZodObject<{
|
|
@@ -694,6 +694,7 @@ export declare const feedPollSchema: z.ZodObject<{
|
|
|
694
694
|
marketing: "marketing";
|
|
695
695
|
supply_chain: "supply_chain";
|
|
696
696
|
fundraising: "fundraising";
|
|
697
|
+
social_enterprise: "social_enterprise";
|
|
697
698
|
mentoring: "mentoring";
|
|
698
699
|
leadership: "leadership";
|
|
699
700
|
networking: "networking";
|
|
@@ -752,7 +753,6 @@ export declare const feedPollSchema: z.ZodObject<{
|
|
|
752
753
|
environmental: "environmental";
|
|
753
754
|
women_empowerment: "women_empowerment";
|
|
754
755
|
community_service: "community_service";
|
|
755
|
-
social_enterprise: "social_enterprise";
|
|
756
756
|
education_access: "education_access";
|
|
757
757
|
}>>;
|
|
758
758
|
product: z.ZodOptional<z.ZodObject<{
|
|
@@ -870,6 +870,7 @@ export declare const feedItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
870
870
|
marketing: "marketing";
|
|
871
871
|
supply_chain: "supply_chain";
|
|
872
872
|
fundraising: "fundraising";
|
|
873
|
+
social_enterprise: "social_enterprise";
|
|
873
874
|
mentoring: "mentoring";
|
|
874
875
|
leadership: "leadership";
|
|
875
876
|
networking: "networking";
|
|
@@ -928,7 +929,6 @@ export declare const feedItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
928
929
|
environmental: "environmental";
|
|
929
930
|
women_empowerment: "women_empowerment";
|
|
930
931
|
community_service: "community_service";
|
|
931
|
-
social_enterprise: "social_enterprise";
|
|
932
932
|
education_access: "education_access";
|
|
933
933
|
}>>;
|
|
934
934
|
product: z.ZodOptional<z.ZodObject<{
|
|
@@ -1071,6 +1071,7 @@ export declare const feedItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1071
1071
|
marketing: "marketing";
|
|
1072
1072
|
supply_chain: "supply_chain";
|
|
1073
1073
|
fundraising: "fundraising";
|
|
1074
|
+
social_enterprise: "social_enterprise";
|
|
1074
1075
|
mentoring: "mentoring";
|
|
1075
1076
|
leadership: "leadership";
|
|
1076
1077
|
networking: "networking";
|
|
@@ -1129,7 +1130,6 @@ export declare const feedItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1129
1130
|
environmental: "environmental";
|
|
1130
1131
|
women_empowerment: "women_empowerment";
|
|
1131
1132
|
community_service: "community_service";
|
|
1132
|
-
social_enterprise: "social_enterprise";
|
|
1133
1133
|
education_access: "education_access";
|
|
1134
1134
|
}>>;
|
|
1135
1135
|
product: z.ZodOptional<z.ZodObject<{
|
|
@@ -1402,6 +1402,7 @@ export declare const feedPageSchema: z.ZodObject<{
|
|
|
1402
1402
|
marketing: "marketing";
|
|
1403
1403
|
supply_chain: "supply_chain";
|
|
1404
1404
|
fundraising: "fundraising";
|
|
1405
|
+
social_enterprise: "social_enterprise";
|
|
1405
1406
|
mentoring: "mentoring";
|
|
1406
1407
|
leadership: "leadership";
|
|
1407
1408
|
networking: "networking";
|
|
@@ -1460,7 +1461,6 @@ export declare const feedPageSchema: z.ZodObject<{
|
|
|
1460
1461
|
environmental: "environmental";
|
|
1461
1462
|
women_empowerment: "women_empowerment";
|
|
1462
1463
|
community_service: "community_service";
|
|
1463
|
-
social_enterprise: "social_enterprise";
|
|
1464
1464
|
education_access: "education_access";
|
|
1465
1465
|
}>>;
|
|
1466
1466
|
product: z.ZodOptional<z.ZodObject<{
|
|
@@ -1603,6 +1603,7 @@ export declare const feedPageSchema: z.ZodObject<{
|
|
|
1603
1603
|
marketing: "marketing";
|
|
1604
1604
|
supply_chain: "supply_chain";
|
|
1605
1605
|
fundraising: "fundraising";
|
|
1606
|
+
social_enterprise: "social_enterprise";
|
|
1606
1607
|
mentoring: "mentoring";
|
|
1607
1608
|
leadership: "leadership";
|
|
1608
1609
|
networking: "networking";
|
|
@@ -1661,7 +1662,6 @@ export declare const feedPageSchema: z.ZodObject<{
|
|
|
1661
1662
|
environmental: "environmental";
|
|
1662
1663
|
women_empowerment: "women_empowerment";
|
|
1663
1664
|
community_service: "community_service";
|
|
1664
|
-
social_enterprise: "social_enterprise";
|
|
1665
1665
|
education_access: "education_access";
|
|
1666
1666
|
}>>;
|
|
1667
1667
|
product: z.ZodOptional<z.ZodObject<{
|
|
@@ -1781,6 +1781,7 @@ export declare const pinnedItemsSchema: z.ZodObject<{
|
|
|
1781
1781
|
marketing: "marketing";
|
|
1782
1782
|
supply_chain: "supply_chain";
|
|
1783
1783
|
fundraising: "fundraising";
|
|
1784
|
+
social_enterprise: "social_enterprise";
|
|
1784
1785
|
mentoring: "mentoring";
|
|
1785
1786
|
leadership: "leadership";
|
|
1786
1787
|
networking: "networking";
|
|
@@ -1839,7 +1840,6 @@ export declare const pinnedItemsSchema: z.ZodObject<{
|
|
|
1839
1840
|
environmental: "environmental";
|
|
1840
1841
|
women_empowerment: "women_empowerment";
|
|
1841
1842
|
community_service: "community_service";
|
|
1842
|
-
social_enterprise: "social_enterprise";
|
|
1843
1843
|
education_access: "education_access";
|
|
1844
1844
|
}>>;
|
|
1845
1845
|
product: z.ZodOptional<z.ZodObject<{
|
|
@@ -1982,6 +1982,7 @@ export declare const pinnedItemsSchema: z.ZodObject<{
|
|
|
1982
1982
|
marketing: "marketing";
|
|
1983
1983
|
supply_chain: "supply_chain";
|
|
1984
1984
|
fundraising: "fundraising";
|
|
1985
|
+
social_enterprise: "social_enterprise";
|
|
1985
1986
|
mentoring: "mentoring";
|
|
1986
1987
|
leadership: "leadership";
|
|
1987
1988
|
networking: "networking";
|
|
@@ -2040,7 +2041,6 @@ export declare const pinnedItemsSchema: z.ZodObject<{
|
|
|
2040
2041
|
environmental: "environmental";
|
|
2041
2042
|
women_empowerment: "women_empowerment";
|
|
2042
2043
|
community_service: "community_service";
|
|
2043
|
-
social_enterprise: "social_enterprise";
|
|
2044
2044
|
education_access: "education_access";
|
|
2045
2045
|
}>>;
|
|
2046
2046
|
product: z.ZodOptional<z.ZodObject<{
|
|
@@ -2376,6 +2376,7 @@ export declare const createPostBodySchema: z.ZodObject<{
|
|
|
2376
2376
|
marketing: "marketing";
|
|
2377
2377
|
supply_chain: "supply_chain";
|
|
2378
2378
|
fundraising: "fundraising";
|
|
2379
|
+
social_enterprise: "social_enterprise";
|
|
2379
2380
|
mentoring: "mentoring";
|
|
2380
2381
|
leadership: "leadership";
|
|
2381
2382
|
networking: "networking";
|
|
@@ -2434,7 +2435,6 @@ export declare const createPostBodySchema: z.ZodObject<{
|
|
|
2434
2435
|
environmental: "environmental";
|
|
2435
2436
|
women_empowerment: "women_empowerment";
|
|
2436
2437
|
community_service: "community_service";
|
|
2437
|
-
social_enterprise: "social_enterprise";
|
|
2438
2438
|
education_access: "education_access";
|
|
2439
2439
|
}>>>;
|
|
2440
2440
|
}, z.core.$strip>;
|
|
@@ -2471,6 +2471,7 @@ export declare const createPollBodySchema: z.ZodObject<{
|
|
|
2471
2471
|
marketing: "marketing";
|
|
2472
2472
|
supply_chain: "supply_chain";
|
|
2473
2473
|
fundraising: "fundraising";
|
|
2474
|
+
social_enterprise: "social_enterprise";
|
|
2474
2475
|
mentoring: "mentoring";
|
|
2475
2476
|
leadership: "leadership";
|
|
2476
2477
|
networking: "networking";
|
|
@@ -2529,7 +2530,6 @@ export declare const createPollBodySchema: z.ZodObject<{
|
|
|
2529
2530
|
environmental: "environmental";
|
|
2530
2531
|
women_empowerment: "women_empowerment";
|
|
2531
2532
|
community_service: "community_service";
|
|
2532
|
-
social_enterprise: "social_enterprise";
|
|
2533
2533
|
education_access: "education_access";
|
|
2534
2534
|
}>>>;
|
|
2535
2535
|
}, z.core.$strip>;
|
|
@@ -2745,6 +2745,7 @@ export declare const castVoteResponseSchema: z.ZodObject<{
|
|
|
2745
2745
|
marketing: "marketing";
|
|
2746
2746
|
supply_chain: "supply_chain";
|
|
2747
2747
|
fundraising: "fundraising";
|
|
2748
|
+
social_enterprise: "social_enterprise";
|
|
2748
2749
|
mentoring: "mentoring";
|
|
2749
2750
|
leadership: "leadership";
|
|
2750
2751
|
networking: "networking";
|
|
@@ -2803,7 +2804,6 @@ export declare const castVoteResponseSchema: z.ZodObject<{
|
|
|
2803
2804
|
environmental: "environmental";
|
|
2804
2805
|
women_empowerment: "women_empowerment";
|
|
2805
2806
|
community_service: "community_service";
|
|
2806
|
-
social_enterprise: "social_enterprise";
|
|
2807
2807
|
education_access: "education_access";
|
|
2808
2808
|
}>>;
|
|
2809
2809
|
product: z.ZodOptional<z.ZodObject<{
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* founder-schema — Where a founder is based: India's states, union territories
|
|
3
|
+
* and cities (0.17.0, moved here from the web client, where the location step's
|
|
4
|
+
* lists lived in the screen).
|
|
5
|
+
*
|
|
6
|
+
* Founder Circle is in India for now (the user, 2026-10-18: the country is
|
|
7
|
+
* shown locked to India and a state and city are chosen from lists). The RULE
|
|
8
|
+
* is `indiaLocationSchema` below; this file is its data, read by every side:
|
|
9
|
+
*
|
|
10
|
+
* states all 28 states and 8 union territories, by their current names: a
|
|
11
|
+
* CLOSED list, so a state is one of these or refused (`stateUnknown`)
|
|
12
|
+
* cities per state, the larger cities first, the rest A to Z. A HELP, NOT A
|
|
13
|
+
* RULE: the profile stores the city as text and Discover matches
|
|
14
|
+
* text, so the list spares members the typing and the spelling
|
|
15
|
+
* variants, and the picker also takes a town it does not hold
|
|
16
|
+
* aliases older or other names a member may search by ("Bangalore" finds
|
|
17
|
+
* Bengaluru), and the district names the location lookup answers
|
|
18
|
+
* with ("Bengaluru Urban"), so the server's suggestion and a member's
|
|
19
|
+
* search land on the list's own spelling
|
|
20
|
+
*
|
|
21
|
+
* Written for this product from public knowledge of India's cities; no
|
|
22
|
+
* third-party dataset is copied in.
|
|
23
|
+
*
|
|
24
|
+
* @module founder-schema/domains/location/india
|
|
25
|
+
*/
|
|
26
|
+
import { z } from 'zod';
|
|
27
|
+
import type { GST_STATES } from '../billing/gst.js';
|
|
28
|
+
/**
|
|
29
|
+
* A state or union territory, by the ONE list of their names: GST's
|
|
30
|
+
* (`GST_STATES`, billing), which already held all 36. This module adds each
|
|
31
|
+
* one's cities and other names; it never spells a state on its own, and a
|
|
32
|
+
* test holds the two sets equal.
|
|
33
|
+
*/
|
|
34
|
+
export type IndiaStateName = (typeof GST_STATES)[number]['name'];
|
|
35
|
+
export interface IndiaState {
|
|
36
|
+
name: IndiaStateName;
|
|
37
|
+
/** Other names the state is searched or answered by. */
|
|
38
|
+
aliases?: readonly string[];
|
|
39
|
+
cities: readonly string[];
|
|
40
|
+
}
|
|
41
|
+
/** The one country a location may be in, for now. */
|
|
42
|
+
export declare const INDIA: "India";
|
|
43
|
+
/** India's international dialing code: what a phone number is shown with (the stored number has none). */
|
|
44
|
+
export declare const INDIA_DIALING_CODE: "+91";
|
|
45
|
+
export declare const INDIA_STATES: readonly IndiaState[];
|
|
46
|
+
/**
|
|
47
|
+
* Other names a city is searched by, keyed by the list's name: the older name,
|
|
48
|
+
* the district name the location lookup answers with, or both. A search for
|
|
49
|
+
* any of them shows the city as the list writes it.
|
|
50
|
+
*/
|
|
51
|
+
export declare const CITY_ALIASES: Readonly<Record<string, readonly string[]>>;
|
|
52
|
+
/**
|
|
53
|
+
* The state a name means, by its own name or an alias, ignoring case, dots,
|
|
54
|
+
* "&" and "and" ("JAMMU AND KASHMIR", "Jammu & Kashmir"). `undefined` when it
|
|
55
|
+
* is not an Indian state or union territory this list knows.
|
|
56
|
+
*/
|
|
57
|
+
export declare function findIndiaState(name: string | null | undefined): IndiaState | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* The names the state picker lists, in its order (states A to Z, then union
|
|
60
|
+
* territories A to Z): the closed list a written state is checked against.
|
|
61
|
+
*/
|
|
62
|
+
export declare const INDIA_STATE_NAMES: readonly [IndiaStateName, ...IndiaStateName[]];
|
|
63
|
+
/** The state pickers' other names, by the list's name: "Orissa" finds Odisha. */
|
|
64
|
+
export declare const STATE_ALIASES: Readonly<Record<string, readonly string[]>>;
|
|
65
|
+
/**
|
|
66
|
+
* A city as the list writes it, when `name` is one of the state's cities or
|
|
67
|
+
* another name of one ("Bengaluru Urban", the location lookup's district, is
|
|
68
|
+
* Bengaluru). Anything else comes back as it was given: never guessed.
|
|
69
|
+
*/
|
|
70
|
+
export declare function listedCityName(state: IndiaState | undefined, name: string): string;
|
|
71
|
+
/**
|
|
72
|
+
* A place as the list writes it, from however it arrived: a member's older
|
|
73
|
+
* draft ("karnataka"), the location lookup ("Bengaluru Urban" in "KARNATAKA"),
|
|
74
|
+
* or another client. The state becomes the list's name when the list knows it
|
|
75
|
+
* (else stays as given, trimmed, for the rule to refuse); the city becomes the
|
|
76
|
+
* list's spelling when it is one of that state's cities or another name of
|
|
77
|
+
* one, and is never guessed otherwise; the country is India.
|
|
78
|
+
*
|
|
79
|
+
* The SERVER applies it to every location it stores, so Discover's exact match
|
|
80
|
+
* finds "Bengaluru" however a client spelled it; a client applies it when it
|
|
81
|
+
* restores or suggests a place, so the member sees the spelling they will get.
|
|
82
|
+
*/
|
|
83
|
+
export declare function canonicalIndiaLocation(place: {
|
|
84
|
+
city: string;
|
|
85
|
+
state?: string | null;
|
|
86
|
+
}): {
|
|
87
|
+
city: string;
|
|
88
|
+
state: string;
|
|
89
|
+
country: typeof INDIA;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* A location as it is WRITTEN (0.17.0): onboarding's finish, the Me tab's
|
|
93
|
+
* personal details, and the server's own suggestion. India only, one of its
|
|
94
|
+
* states and union territories, and a city of any name within it.
|
|
95
|
+
*
|
|
96
|
+
* Until 0.17.0 the schema took any country and any state text while the web
|
|
97
|
+
* locked the country to India and chose the state from this list, so another
|
|
98
|
+
* client could store what no screen can show. The read side keeps
|
|
99
|
+
* `locationSchema`: a location stored before this rule is still read as it is.
|
|
100
|
+
*
|
|
101
|
+
* The STATE is required: every Indian city has one, and the picker lists a
|
|
102
|
+
* state's cities only once it is chosen. It is read the way people and the
|
|
103
|
+
* location lookup write it ("KARNATAKA", "Orissa", "Jammu & Kashmir" are the
|
|
104
|
+
* list's Karnataka, Odisha, Jammu and Kashmir: `findIndiaState`), so any client
|
|
105
|
+
* may send another spelling and the list's name is what is kept. Left empty it
|
|
106
|
+
* is `stateRequired`; one the list does not know is `stateUnknown`.
|
|
107
|
+
*/
|
|
108
|
+
export declare const indiaLocationSchema: z.ZodObject<{
|
|
109
|
+
city: z.ZodString;
|
|
110
|
+
state: z.ZodPreprocess<z.ZodEnum<{
|
|
111
|
+
"Jammu and Kashmir": "Jammu and Kashmir";
|
|
112
|
+
"Himachal Pradesh": "Himachal Pradesh";
|
|
113
|
+
Punjab: "Punjab";
|
|
114
|
+
Chandigarh: "Chandigarh";
|
|
115
|
+
Uttarakhand: "Uttarakhand";
|
|
116
|
+
Haryana: "Haryana";
|
|
117
|
+
Delhi: "Delhi";
|
|
118
|
+
Rajasthan: "Rajasthan";
|
|
119
|
+
"Uttar Pradesh": "Uttar Pradesh";
|
|
120
|
+
Bihar: "Bihar";
|
|
121
|
+
Sikkim: "Sikkim";
|
|
122
|
+
"Arunachal Pradesh": "Arunachal Pradesh";
|
|
123
|
+
Nagaland: "Nagaland";
|
|
124
|
+
Manipur: "Manipur";
|
|
125
|
+
Mizoram: "Mizoram";
|
|
126
|
+
Tripura: "Tripura";
|
|
127
|
+
Meghalaya: "Meghalaya";
|
|
128
|
+
Assam: "Assam";
|
|
129
|
+
"West Bengal": "West Bengal";
|
|
130
|
+
Jharkhand: "Jharkhand";
|
|
131
|
+
Odisha: "Odisha";
|
|
132
|
+
Chhattisgarh: "Chhattisgarh";
|
|
133
|
+
"Madhya Pradesh": "Madhya Pradesh";
|
|
134
|
+
Gujarat: "Gujarat";
|
|
135
|
+
"Dadra and Nagar Haveli and Daman and Diu": "Dadra and Nagar Haveli and Daman and Diu";
|
|
136
|
+
Maharashtra: "Maharashtra";
|
|
137
|
+
Karnataka: "Karnataka";
|
|
138
|
+
Goa: "Goa";
|
|
139
|
+
Lakshadweep: "Lakshadweep";
|
|
140
|
+
Kerala: "Kerala";
|
|
141
|
+
"Tamil Nadu": "Tamil Nadu";
|
|
142
|
+
Puducherry: "Puducherry";
|
|
143
|
+
"Andaman and Nicobar Islands": "Andaman and Nicobar Islands";
|
|
144
|
+
Telangana: "Telangana";
|
|
145
|
+
"Andhra Pradesh": "Andhra Pradesh";
|
|
146
|
+
Ladakh: "Ladakh";
|
|
147
|
+
}>, unknown>;
|
|
148
|
+
country: z.ZodLiteral<"India">;
|
|
149
|
+
}, z.core.$strip>;
|
|
150
|
+
export type IndiaLocation = z.infer<typeof indiaLocationSchema>;
|
|
151
|
+
/**
|
|
152
|
+
* The city these coordinates look like, for the member to CONFIRM, or `null`
|
|
153
|
+
* when the lookup could not place them confidently (or they are outside India,
|
|
154
|
+
* whose area data is all there is). A suggestion, never a write: only what the
|
|
155
|
+
* member then submits becomes their location.
|
|
156
|
+
*
|
|
157
|
+
* In the WRITE shape (0.17.0): the server names the state and city the way
|
|
158
|
+
* this list does (`findIndiaState`, `listedCityName`: the lookup's "Bengaluru
|
|
159
|
+
* Urban" is Bengaluru), so what it suggests is what the member could have
|
|
160
|
+
* picked, and saving it unchanged can never be refused.
|
|
161
|
+
*/
|
|
162
|
+
export declare const suggestedLocationSchema: z.ZodNullable<z.ZodObject<{
|
|
163
|
+
city: z.ZodString;
|
|
164
|
+
state: z.ZodPreprocess<z.ZodEnum<{
|
|
165
|
+
"Jammu and Kashmir": "Jammu and Kashmir";
|
|
166
|
+
"Himachal Pradesh": "Himachal Pradesh";
|
|
167
|
+
Punjab: "Punjab";
|
|
168
|
+
Chandigarh: "Chandigarh";
|
|
169
|
+
Uttarakhand: "Uttarakhand";
|
|
170
|
+
Haryana: "Haryana";
|
|
171
|
+
Delhi: "Delhi";
|
|
172
|
+
Rajasthan: "Rajasthan";
|
|
173
|
+
"Uttar Pradesh": "Uttar Pradesh";
|
|
174
|
+
Bihar: "Bihar";
|
|
175
|
+
Sikkim: "Sikkim";
|
|
176
|
+
"Arunachal Pradesh": "Arunachal Pradesh";
|
|
177
|
+
Nagaland: "Nagaland";
|
|
178
|
+
Manipur: "Manipur";
|
|
179
|
+
Mizoram: "Mizoram";
|
|
180
|
+
Tripura: "Tripura";
|
|
181
|
+
Meghalaya: "Meghalaya";
|
|
182
|
+
Assam: "Assam";
|
|
183
|
+
"West Bengal": "West Bengal";
|
|
184
|
+
Jharkhand: "Jharkhand";
|
|
185
|
+
Odisha: "Odisha";
|
|
186
|
+
Chhattisgarh: "Chhattisgarh";
|
|
187
|
+
"Madhya Pradesh": "Madhya Pradesh";
|
|
188
|
+
Gujarat: "Gujarat";
|
|
189
|
+
"Dadra and Nagar Haveli and Daman and Diu": "Dadra and Nagar Haveli and Daman and Diu";
|
|
190
|
+
Maharashtra: "Maharashtra";
|
|
191
|
+
Karnataka: "Karnataka";
|
|
192
|
+
Goa: "Goa";
|
|
193
|
+
Lakshadweep: "Lakshadweep";
|
|
194
|
+
Kerala: "Kerala";
|
|
195
|
+
"Tamil Nadu": "Tamil Nadu";
|
|
196
|
+
Puducherry: "Puducherry";
|
|
197
|
+
"Andaman and Nicobar Islands": "Andaman and Nicobar Islands";
|
|
198
|
+
Telangana: "Telangana";
|
|
199
|
+
"Andhra Pradesh": "Andhra Pradesh";
|
|
200
|
+
Ladakh: "Ladakh";
|
|
201
|
+
}>, unknown>;
|
|
202
|
+
country: z.ZodLiteral<"India">;
|
|
203
|
+
}, z.core.$strip>>;
|
|
204
|
+
export type SuggestedLocation = z.infer<typeof suggestedLocationSchema>;
|
|
205
|
+
//# sourceMappingURL=india.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"india.d.ts","sourceRoot":"","sources":["../../../src/domains/location/india.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;AAEjE,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,cAAc,CAAC;IACrB,wDAAwD;IACxD,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;CAC3B;AAED,qDAAqD;AACrD,eAAO,MAAM,KAAK,EAAG,OAAgB,CAAC;AAEtC,0GAA0G;AAC1G,eAAO,MAAM,kBAAkB,EAAG,KAAc,CAAC;AAEjD,eAAO,MAAM,YAAY,EAAE,SAAS,UAAU,EAw6B7C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CAkGpE,CAAC;AAUF;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAOtF;AAED;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAyD,SAAS,CAC9F,cAAc,EACd,GAAG,cAAc,EAAE,CACpB,CAAC;AAEF,iFAAiF;AACjF,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CAErE,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,UAAU,GAAG,SAAS,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAOlF;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,GAAG;IACtF,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,KAAK,CAAC;CACvB,CAOA;AAID;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAe9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAAiC,CAAC;AACtE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|