@blockscout/autoscout-types 0.0.7 → 0.0.9
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/v1/autoscout.d.ts +5 -2
- package/dist/v1/autoscout.ts +3 -2
- package/dist/v1/config.d.ts +22 -29
- package/dist/v1/config.ts +35 -32
- package/package.json +1 -1
package/dist/v1/autoscout.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type DeployConfig
|
|
1
|
+
import { type DeployConfig } from "./config";
|
|
2
2
|
import { type ConfigSchema } from "./config_schema";
|
|
3
3
|
export declare enum DeploymentStatus {
|
|
4
4
|
NO_STATUS = "NO_STATUS",
|
|
@@ -40,7 +40,10 @@ export interface UpdateConfigResponse {
|
|
|
40
40
|
}
|
|
41
41
|
export interface UpdateConfigPartialRequest {
|
|
42
42
|
instance_id: string;
|
|
43
|
-
|
|
43
|
+
/** See `DeployConfig` for available fields */
|
|
44
|
+
config: {
|
|
45
|
+
[key: string]: any;
|
|
46
|
+
} | undefined;
|
|
44
47
|
}
|
|
45
48
|
export interface HealthStatus {
|
|
46
49
|
ok: boolean;
|
package/dist/v1/autoscout.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// source: v1/autoscout.proto
|
|
6
6
|
|
|
7
7
|
/* eslint-disable */
|
|
8
|
-
import { type DeployConfig
|
|
8
|
+
import { type DeployConfig } from "./config";
|
|
9
9
|
import { type ConfigSchema } from "./config_schema";
|
|
10
10
|
|
|
11
11
|
export enum DeploymentStatus {
|
|
@@ -57,7 +57,8 @@ export interface UpdateConfigResponse {
|
|
|
57
57
|
|
|
58
58
|
export interface UpdateConfigPartialRequest {
|
|
59
59
|
instance_id: string;
|
|
60
|
-
|
|
60
|
+
/** See `DeployConfig` for available fields */
|
|
61
|
+
config: { [key: string]: any } | undefined;
|
|
61
62
|
}
|
|
62
63
|
|
|
63
64
|
export interface HealthStatus {
|
package/dist/v1/config.d.ts
CHANGED
|
@@ -62,38 +62,21 @@ export interface DeployConfig {
|
|
|
62
62
|
color_theme: ColorTheme;
|
|
63
63
|
identicon: Identicon;
|
|
64
64
|
chain_spec?: string | undefined;
|
|
65
|
+
/** https://github.com/blockscout/frontend/blob/e2081d49104c9626aff9cfbf864699f69db5b8d8/docs/ENVS.md#footer */
|
|
66
|
+
footer?: Footer | undefined;
|
|
65
67
|
optimism?: OptimismConfig | undefined;
|
|
66
68
|
arbitrum?: ArbitrumConfig | undefined;
|
|
67
69
|
}
|
|
68
|
-
export interface
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
chain_name?: string | undefined;
|
|
79
|
-
icon_url?: string | undefined;
|
|
80
|
-
icon_url_dark?: string | undefined;
|
|
81
|
-
homeplate_background?: string | undefined;
|
|
82
|
-
homeplate_text_color?: string | undefined;
|
|
83
|
-
is_testnet?: boolean | undefined;
|
|
84
|
-
stats_enabled?: boolean | undefined;
|
|
85
|
-
rpc_ws_url?: string | undefined;
|
|
86
|
-
public_rpc_url?: string | undefined;
|
|
87
|
-
wallet_connect_project_id?: string | undefined;
|
|
88
|
-
eip_1559_elasticity?: string | undefined;
|
|
89
|
-
navigation_layout: NavigationLayout;
|
|
90
|
-
favicon_url?: string | undefined;
|
|
91
|
-
og_image_url?: string | undefined;
|
|
92
|
-
color_theme: ColorTheme;
|
|
93
|
-
identicon: Identicon;
|
|
94
|
-
chain_spec?: string | undefined;
|
|
95
|
-
optimism?: OptimismConfig | undefined;
|
|
96
|
-
arbitrum?: ArbitrumConfig | undefined;
|
|
70
|
+
export interface Footer {
|
|
71
|
+
columns: FooterColumn[];
|
|
72
|
+
}
|
|
73
|
+
export interface FooterColumn {
|
|
74
|
+
title: string;
|
|
75
|
+
links: FooterLink[];
|
|
76
|
+
}
|
|
77
|
+
export interface FooterLink {
|
|
78
|
+
text: string;
|
|
79
|
+
url: string;
|
|
97
80
|
}
|
|
98
81
|
/** https://github.com/blockscout/docs/blob/df6996a0f8e553c2d4b1c3dcda6ef2518a8b39f9/for-developers/information-and-settings/env-variables/backend-envs-chain-specific.md?plain=1#L102-L119 */
|
|
99
82
|
export interface OptimismConfig {
|
|
@@ -117,6 +100,14 @@ export interface OptimismConfig {
|
|
|
117
100
|
l2_withdrawals_start_block?: string | undefined;
|
|
118
101
|
/** changes blockscout env INDEXER_OPTIMISM_L2_MESSAGE_PASSER_CONTRACT */
|
|
119
102
|
l2_message_passer_contract?: string | undefined;
|
|
103
|
+
/** NEXT_PUBLIC_ROLLUP_L1_BASE_URL */
|
|
104
|
+
l1_blockscout_url: string;
|
|
105
|
+
/** NEXT_PUBLIC_ROLLUP_L2_WITHDRAWAL_URL */
|
|
106
|
+
l2_withdrawal_url: string;
|
|
107
|
+
/** NEXT_PUBLIC_FAULT_PROOF_ENABLED */
|
|
108
|
+
l2_fault_proof_enabled?: boolean | undefined;
|
|
109
|
+
/** NEXT_PUBLIC_HAS_MUD_FRAMEWORK */
|
|
110
|
+
has_mud_framework?: boolean | undefined;
|
|
120
111
|
}
|
|
121
112
|
/** https://github.com/blockscout/docs/blob/594e4c2ef83556b3cb41e9fd43bca776afb63c05/for-developers/information-and-settings/env-variables/backend-envs-chain-specific.md?plain=1#L136 */
|
|
122
113
|
export interface ArbitrumConfig {
|
|
@@ -141,4 +132,6 @@ export interface ArbitrumConfig {
|
|
|
141
132
|
missing_batches_range?: string | undefined;
|
|
142
133
|
confirmations_tracking_finalized?: boolean | undefined;
|
|
143
134
|
new_batches_limit?: string | undefined;
|
|
135
|
+
/** NEXT_PUBLIC_ROLLUP_L1_BASE_URL */
|
|
136
|
+
l1_blockscout_url: string;
|
|
144
137
|
}
|
package/dist/v1/config.ts
CHANGED
|
@@ -74,40 +74,27 @@ export interface DeployConfig {
|
|
|
74
74
|
og_image_url?: string | undefined;
|
|
75
75
|
color_theme: ColorTheme;
|
|
76
76
|
identicon: Identicon;
|
|
77
|
-
chain_spec?:
|
|
77
|
+
chain_spec?:
|
|
78
|
+
| string
|
|
79
|
+
| undefined;
|
|
80
|
+
/** https://github.com/blockscout/frontend/blob/e2081d49104c9626aff9cfbf864699f69db5b8d8/docs/ENVS.md#footer */
|
|
81
|
+
footer?: Footer | undefined;
|
|
78
82
|
optimism?: OptimismConfig | undefined;
|
|
79
83
|
arbitrum?: ArbitrumConfig | undefined;
|
|
80
84
|
}
|
|
81
85
|
|
|
82
|
-
export interface
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
icon_url_dark?: string | undefined;
|
|
95
|
-
homeplate_background?: string | undefined;
|
|
96
|
-
homeplate_text_color?: string | undefined;
|
|
97
|
-
is_testnet?: boolean | undefined;
|
|
98
|
-
stats_enabled?: boolean | undefined;
|
|
99
|
-
rpc_ws_url?: string | undefined;
|
|
100
|
-
public_rpc_url?: string | undefined;
|
|
101
|
-
wallet_connect_project_id?: string | undefined;
|
|
102
|
-
eip_1559_elasticity?: string | undefined;
|
|
103
|
-
navigation_layout: NavigationLayout;
|
|
104
|
-
favicon_url?: string | undefined;
|
|
105
|
-
og_image_url?: string | undefined;
|
|
106
|
-
color_theme: ColorTheme;
|
|
107
|
-
identicon: Identicon;
|
|
108
|
-
chain_spec?: string | undefined;
|
|
109
|
-
optimism?: OptimismConfig | undefined;
|
|
110
|
-
arbitrum?: ArbitrumConfig | undefined;
|
|
86
|
+
export interface Footer {
|
|
87
|
+
columns: FooterColumn[];
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export interface FooterColumn {
|
|
91
|
+
title: string;
|
|
92
|
+
links: FooterLink[];
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export interface FooterLink {
|
|
96
|
+
text: string;
|
|
97
|
+
url: string;
|
|
111
98
|
}
|
|
112
99
|
|
|
113
100
|
/** https://github.com/blockscout/docs/blob/df6996a0f8e553c2d4b1c3dcda6ef2518a8b39f9/for-developers/information-and-settings/env-variables/backend-envs-chain-specific.md?plain=1#L102-L119 */
|
|
@@ -149,7 +136,19 @@ export interface OptimismConfig {
|
|
|
149
136
|
| string
|
|
150
137
|
| undefined;
|
|
151
138
|
/** changes blockscout env INDEXER_OPTIMISM_L2_MESSAGE_PASSER_CONTRACT */
|
|
152
|
-
l2_message_passer_contract?:
|
|
139
|
+
l2_message_passer_contract?:
|
|
140
|
+
| string
|
|
141
|
+
| undefined;
|
|
142
|
+
/** NEXT_PUBLIC_ROLLUP_L1_BASE_URL */
|
|
143
|
+
l1_blockscout_url: string;
|
|
144
|
+
/** NEXT_PUBLIC_ROLLUP_L2_WITHDRAWAL_URL */
|
|
145
|
+
l2_withdrawal_url: string;
|
|
146
|
+
/** NEXT_PUBLIC_FAULT_PROOF_ENABLED */
|
|
147
|
+
l2_fault_proof_enabled?:
|
|
148
|
+
| boolean
|
|
149
|
+
| undefined;
|
|
150
|
+
/** NEXT_PUBLIC_HAS_MUD_FRAMEWORK */
|
|
151
|
+
has_mud_framework?: boolean | undefined;
|
|
153
152
|
}
|
|
154
153
|
|
|
155
154
|
/** https://github.com/blockscout/docs/blob/594e4c2ef83556b3cb41e9fd43bca776afb63c05/for-developers/information-and-settings/env-variables/backend-envs-chain-specific.md?plain=1#L136 */
|
|
@@ -174,5 +173,9 @@ export interface ArbitrumConfig {
|
|
|
174
173
|
batches_tracking_messages_to_blocks_shift?: string | undefined;
|
|
175
174
|
missing_batches_range?: string | undefined;
|
|
176
175
|
confirmations_tracking_finalized?: boolean | undefined;
|
|
177
|
-
new_batches_limit?:
|
|
176
|
+
new_batches_limit?:
|
|
177
|
+
| string
|
|
178
|
+
| undefined;
|
|
179
|
+
/** NEXT_PUBLIC_ROLLUP_L1_BASE_URL */
|
|
180
|
+
l1_blockscout_url: string;
|
|
178
181
|
}
|