@inyur/links 1.0.107 → 1.0.109
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/dist/cjs/links.d.ts +74 -25
- package/dist/cjs/links.js +97 -176
- package/dist/cjs/links.js.map +1 -1
- package/dist/mjs/links.d.ts +74 -25
- package/dist/mjs/links.js +97 -176
- package/dist/mjs/links.js.map +1 -1
- package/dist/types/links.d.ts +74 -25
- package/package.json +2 -1
package/dist/types/links.d.ts
CHANGED
|
@@ -1,50 +1,99 @@
|
|
|
1
1
|
type GetLink<T extends object = object> = (params: {
|
|
2
|
-
MAIN_DOMAIN: string;
|
|
3
2
|
lang?: string;
|
|
4
3
|
} & T) => string;
|
|
5
4
|
/**
|
|
6
5
|
* @deprecated Use `getMainSiteHomePageUrl()` instead.
|
|
7
6
|
*/
|
|
8
|
-
export declare const getLinkToMainSite: GetLink
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
export declare const getLinkToMainSite: GetLink<{
|
|
8
|
+
MAIN_DOMAIN: string;
|
|
9
|
+
}>;
|
|
10
|
+
export declare const getMainSiteHomePageUrl: GetLink<{
|
|
11
|
+
MAIN_DOMAIN: string;
|
|
12
|
+
}>;
|
|
13
|
+
export declare const getLinkHelpOnAuthPageWhenAccessRestricted: GetLink<{
|
|
14
|
+
MAIN_DOMAIN: string;
|
|
15
|
+
}>;
|
|
11
16
|
export declare const getLinkToBusinessPortal: GetLink<{
|
|
12
17
|
userId?: string;
|
|
18
|
+
MAIN_DOMAIN: string;
|
|
13
19
|
}>;
|
|
14
20
|
export declare const getLinkToPersonalCabinet: GetLink<{
|
|
15
21
|
userId?: string;
|
|
22
|
+
MAIN_DOMAIN: string;
|
|
16
23
|
}>;
|
|
17
24
|
export declare const getLinkToUserNotifications: GetLink<{
|
|
18
25
|
userId?: string;
|
|
26
|
+
MAIN_DOMAIN: string;
|
|
27
|
+
}>;
|
|
28
|
+
export declare const getTermsOfUseUrl: GetLink<{
|
|
29
|
+
MAIN_DOMAIN: string;
|
|
30
|
+
}>;
|
|
31
|
+
export declare const getPrivacyPolicyUrl: GetLink<{
|
|
32
|
+
MAIN_DOMAIN: string;
|
|
33
|
+
}>;
|
|
34
|
+
export declare const getSignInTroubleshotUrl: GetLink<{
|
|
35
|
+
MAIN_DOMAIN: string;
|
|
19
36
|
}>;
|
|
20
|
-
export declare const getTermsOfUseUrl: GetLink;
|
|
21
|
-
export declare const getPrivacyPolicyUrl: GetLink;
|
|
22
|
-
export declare const getSignInTroubleshotUrl: GetLink;
|
|
23
37
|
export declare const getLinkToWikiOnHttpError: GetLink<{
|
|
24
38
|
errorNum: number;
|
|
39
|
+
MAIN_DOMAIN: string;
|
|
40
|
+
}>;
|
|
41
|
+
export declare const getLinkToWikiFromUserPortal: GetLink<{
|
|
42
|
+
MAIN_DOMAIN: string;
|
|
43
|
+
}>;
|
|
44
|
+
export declare const getLinkToStartOfBookingFlow: GetLink<{
|
|
45
|
+
MAIN_DOMAIN: string;
|
|
46
|
+
}>;
|
|
47
|
+
export declare const getLinkToJoinSite: GetLink<{
|
|
48
|
+
MAIN_DOMAIN: string;
|
|
49
|
+
}>;
|
|
50
|
+
export declare const getLinkToWikiSite: GetLink<{
|
|
51
|
+
MAIN_DOMAIN: string;
|
|
25
52
|
}>;
|
|
26
|
-
export declare const getLinkToWikiFromUserPortal: GetLink;
|
|
27
|
-
export declare const getLinkToStartOfBookingFlow: GetLink;
|
|
28
|
-
export declare const getLinkToJoinSite: GetLink;
|
|
29
|
-
export declare const getLinkToWikiSite: GetLink;
|
|
30
53
|
export declare const getLinkToEmbeddedPartHeaderAccountChangeDropdownContentV1: GetLink<{
|
|
31
|
-
ACCOUNT_DOMAIN
|
|
54
|
+
ACCOUNT_DOMAIN?: string;
|
|
55
|
+
}>;
|
|
56
|
+
export declare const getDsarPageUrl: GetLink<{
|
|
57
|
+
MAIN_DOMAIN: string;
|
|
58
|
+
}>;
|
|
59
|
+
export declare const getCookiesUsagePolicyUrl: GetLink<{
|
|
60
|
+
MAIN_DOMAIN: string;
|
|
32
61
|
}>;
|
|
33
|
-
export declare const getDsarPageUrl: GetLink;
|
|
34
|
-
export declare const getCookiesUsagePolicyUrl: GetLink;
|
|
35
62
|
export declare const getDataProtectionMailLink: () => string;
|
|
36
|
-
export declare const getCoworkingsSearchPage: GetLink
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
export declare const
|
|
63
|
+
export declare const getCoworkingsSearchPage: GetLink<{
|
|
64
|
+
MAIN_DOMAIN: string;
|
|
65
|
+
}>;
|
|
66
|
+
export declare const getMeetingRoomsSearchPage: GetLink<{
|
|
67
|
+
MAIN_DOMAIN: string;
|
|
68
|
+
}>;
|
|
69
|
+
export declare const getConferenceHallsSearchPage: GetLink<{
|
|
70
|
+
MAIN_DOMAIN: string;
|
|
71
|
+
}>;
|
|
72
|
+
export declare const getColivingsSearchPage: GetLink<{
|
|
73
|
+
MAIN_DOMAIN: string;
|
|
74
|
+
}>;
|
|
40
75
|
/**
|
|
41
76
|
* SITE: hello.inyur.com
|
|
42
77
|
*/
|
|
43
|
-
export declare const getOverviewWhoIsInYurPage: GetLink
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
export declare const
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
export declare const
|
|
78
|
+
export declare const getOverviewWhoIsInYurPage: GetLink<{
|
|
79
|
+
MAIN_DOMAIN: string;
|
|
80
|
+
}>;
|
|
81
|
+
export declare const getOverviewInYurPlatformPage: GetLink<{
|
|
82
|
+
MAIN_DOMAIN: string;
|
|
83
|
+
}>;
|
|
84
|
+
export declare const getOverviewForOwnersPage: GetLink<{
|
|
85
|
+
MAIN_DOMAIN: string;
|
|
86
|
+
}>;
|
|
87
|
+
export declare const getOverviewForVisitorsPage: GetLink<{
|
|
88
|
+
MAIN_DOMAIN: string;
|
|
89
|
+
}>;
|
|
90
|
+
export declare const getOverviewForPartnersPage: GetLink<{
|
|
91
|
+
MAIN_DOMAIN: string;
|
|
92
|
+
}>;
|
|
93
|
+
export declare const getOverviewForInvestorsPage: GetLink<{
|
|
94
|
+
MAIN_DOMAIN: string;
|
|
95
|
+
}>;
|
|
96
|
+
export declare const getOverviewInYurHistoryAndPlansPage: GetLink<{
|
|
97
|
+
MAIN_DOMAIN: string;
|
|
98
|
+
}>;
|
|
50
99
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inyur/links",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.109",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/mjs/index.js",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"@types/node": "^20.17.46",
|
|
26
26
|
"@types/web": "^0.0.233",
|
|
27
27
|
"eslint": "^9.38.0",
|
|
28
|
+
"eslint-config-prettier": "^10.1.8",
|
|
28
29
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
29
30
|
"eslint-plugin-import": "^2.32.0",
|
|
30
31
|
"eslint-plugin-prettier": "^5.5.4",
|