@logto/cloud 0.2.5-8065345 → 0.2.5-a3e852f
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/{build → lib}/routes/index.d.ts +29 -22
- package/package.json +12 -12
|
@@ -40,7 +40,7 @@ export type Affiliate = InferModelType<typeof Affiliates>;
|
|
|
40
40
|
export type AffiliateData = Affiliate & {
|
|
41
41
|
properties: Array<Pick<AffiliateProperty, "type" | "value">>;
|
|
42
42
|
};
|
|
43
|
-
declare const router: import("@withtyped/server").Router<WithAuthContext, import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").BaseRoutes, import("@withtyped/server").RoutesWithPrefix<{
|
|
43
|
+
declare const router: import("@withtyped/server").Router<WithAuthContext, import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").BaseRoutes, import("@withtyped/server").RoutesWithPrefix<{
|
|
44
44
|
options: {};
|
|
45
45
|
patch: {
|
|
46
46
|
"/tenants/:tenantId": import("@withtyped/server").PathGuard<"/:tenantId", unknown, {
|
|
@@ -50,6 +50,7 @@ declare const router: import("@withtyped/server").Router<WithAuthContext, import
|
|
|
50
50
|
id: string;
|
|
51
51
|
name: string;
|
|
52
52
|
indicator: string;
|
|
53
|
+
isSuspended: boolean;
|
|
53
54
|
planId: string;
|
|
54
55
|
tag: TenantTag;
|
|
55
56
|
}>;
|
|
@@ -59,6 +60,7 @@ declare const router: import("@withtyped/server").Router<WithAuthContext, import
|
|
|
59
60
|
id: string;
|
|
60
61
|
name: string;
|
|
61
62
|
indicator: string;
|
|
63
|
+
isSuspended: boolean;
|
|
62
64
|
planId: string;
|
|
63
65
|
tag: TenantTag;
|
|
64
66
|
}[]>;
|
|
@@ -71,6 +73,7 @@ declare const router: import("@withtyped/server").Router<WithAuthContext, import
|
|
|
71
73
|
id: string;
|
|
72
74
|
name: string;
|
|
73
75
|
indicator: string;
|
|
76
|
+
isSuspended: boolean;
|
|
74
77
|
planId: string;
|
|
75
78
|
tag: TenantTag;
|
|
76
79
|
}>;
|
|
@@ -147,19 +150,6 @@ declare const router: import("@withtyped/server").Router<WithAuthContext, import
|
|
|
147
150
|
}>;
|
|
148
151
|
};
|
|
149
152
|
post: {
|
|
150
|
-
"/services/send-email": import("@withtyped/server").PathGuard<"/send-email", unknown, {
|
|
151
|
-
data: {
|
|
152
|
-
type: VerificationCodeType;
|
|
153
|
-
to: string;
|
|
154
|
-
payload: {
|
|
155
|
-
senderName?: string | undefined;
|
|
156
|
-
companyInformation?: string | undefined;
|
|
157
|
-
appLogo?: string | undefined;
|
|
158
|
-
code: string;
|
|
159
|
-
};
|
|
160
|
-
};
|
|
161
|
-
}, unknown>;
|
|
162
|
-
} & {
|
|
163
153
|
"/services/mails": import("@withtyped/server").PathGuard<"/mails", unknown, {
|
|
164
154
|
data: {
|
|
165
155
|
type: VerificationCodeType;
|
|
@@ -200,19 +190,19 @@ declare const router: import("@withtyped/server").Router<WithAuthContext, import
|
|
|
200
190
|
name: string;
|
|
201
191
|
quota: {
|
|
202
192
|
mauLimit: number | null;
|
|
203
|
-
applicationsLimit: number;
|
|
204
|
-
machineToMachineLimit: number;
|
|
205
|
-
resourcesLimit: number;
|
|
206
|
-
scopesPerResourceLimit: number;
|
|
193
|
+
applicationsLimit: number | null;
|
|
194
|
+
machineToMachineLimit: number | null;
|
|
195
|
+
resourcesLimit: number | null;
|
|
196
|
+
scopesPerResourceLimit: number | null;
|
|
207
197
|
customDomainEnabled: boolean;
|
|
208
198
|
omniSignInEnabled: boolean;
|
|
209
199
|
builtInEmailConnectorEnabled: boolean;
|
|
210
200
|
socialConnectorsLimit: number | null;
|
|
211
|
-
standardConnectorsLimit: number;
|
|
212
|
-
rolesLimit: number;
|
|
201
|
+
standardConnectorsLimit: number | null;
|
|
202
|
+
rolesLimit: number | null;
|
|
213
203
|
scopesPerRoleLimit: number | null;
|
|
214
|
-
hooksLimit: number;
|
|
215
|
-
auditLogsRetentionDays: number;
|
|
204
|
+
hooksLimit: number | null;
|
|
205
|
+
auditLogsRetentionDays: number | null;
|
|
216
206
|
};
|
|
217
207
|
stripeProducts: {
|
|
218
208
|
description?: string | undefined;
|
|
@@ -234,6 +224,23 @@ declare const router: import("@withtyped/server").Router<WithAuthContext, import
|
|
|
234
224
|
head: {};
|
|
235
225
|
delete: {};
|
|
236
226
|
copy: {};
|
|
227
|
+
}, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
|
|
228
|
+
options: {};
|
|
229
|
+
patch: {};
|
|
230
|
+
get: {
|
|
231
|
+
"/my/tenant": import("@withtyped/server").PathGuard<"/tenant", unknown, unknown, {
|
|
232
|
+
name: string;
|
|
233
|
+
id: string;
|
|
234
|
+
indicator: string;
|
|
235
|
+
isSuspended: boolean;
|
|
236
|
+
tag: TenantTag;
|
|
237
|
+
}>;
|
|
238
|
+
};
|
|
239
|
+
post: {};
|
|
240
|
+
put: {};
|
|
241
|
+
head: {};
|
|
242
|
+
delete: {};
|
|
243
|
+
copy: {};
|
|
237
244
|
}, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
|
|
238
245
|
options: {};
|
|
239
246
|
patch: {};
|
package/package.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@logto/cloud",
|
|
3
|
-
"version": "0.2.5-
|
|
3
|
+
"version": "0.2.5-a3e852f",
|
|
4
4
|
"description": "Logto Cloud service.",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"author": "Silverhand Inc. <contact@silverhand.io>",
|
|
7
7
|
"license": "Elastic-2.0",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"files": [
|
|
10
|
-
"
|
|
10
|
+
"lib"
|
|
11
11
|
],
|
|
12
12
|
"exports": {
|
|
13
|
-
"./routes": "./
|
|
13
|
+
"./routes": "./lib/routes/index.js"
|
|
14
14
|
},
|
|
15
15
|
"imports": {
|
|
16
16
|
"#src/*": "./build/*"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@silverhand/eslint-config": "
|
|
20
|
-
"@silverhand/jest-config": "
|
|
21
|
-
"@silverhand/ts-config": "
|
|
19
|
+
"@silverhand/eslint-config": "4.0.1",
|
|
20
|
+
"@silverhand/jest-config": "4.0.0",
|
|
21
|
+
"@silverhand/ts-config": "4.0.0",
|
|
22
22
|
"@types/accepts": "^1.3.5",
|
|
23
23
|
"@types/http-proxy": "^1.17.9",
|
|
24
24
|
"@types/jest": "^29.4.0",
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
"@types/node": "^18.11.18",
|
|
27
27
|
"@types/yargs": "^17.0.24",
|
|
28
28
|
"dts-bundle-generator": "^8.0.1",
|
|
29
|
-
"eslint": "^8.
|
|
29
|
+
"eslint": "^8.44.0",
|
|
30
30
|
"jest": "^29.5.0",
|
|
31
|
-
"lint-staged": "^
|
|
31
|
+
"lint-staged": "^14.0.0",
|
|
32
32
|
"nodemon": "^3.0.0",
|
|
33
|
-
"prettier": "^
|
|
33
|
+
"prettier": "^3.0.0",
|
|
34
34
|
"typescript": "^5.0.0"
|
|
35
35
|
},
|
|
36
36
|
"engines": {
|
|
@@ -50,14 +50,14 @@
|
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@silverhand/essentials": "^2.
|
|
53
|
+
"@silverhand/essentials": "^2.8.2",
|
|
54
54
|
"@withtyped/server": "^0.12.7"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
57
|
"precommit": "lint-staged",
|
|
58
|
-
"build": "rm -rf build/ && tsc -p tsconfig.build.json",
|
|
58
|
+
"build": "rm -rf build/ && tsc -p tsconfig.build.json && pnpm build:lib",
|
|
59
59
|
"//": "It is not used to build the service itself.",
|
|
60
|
-
"build:lib": "rm -rf
|
|
60
|
+
"build:lib": "rm -rf lib/ && dts-bundle-generator src/routes/index.ts --project tsconfig.build.json -o lib/routes/index.d.ts",
|
|
61
61
|
"build:test": "rm -rf build/ && tsc -p tsconfig.test.json --sourcemap",
|
|
62
62
|
"lint": "eslint --ext .ts src",
|
|
63
63
|
"lint:report": "pnpm lint --format json --output-file report.json",
|