@blockscout/autoscout-types 0.0.7 → 0.0.8
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 +10 -30
- package/dist/v1/config.ts +20 -33
- 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
|
@@ -65,36 +65,6 @@ export interface DeployConfig {
|
|
|
65
65
|
optimism?: OptimismConfig | undefined;
|
|
66
66
|
arbitrum?: ArbitrumConfig | undefined;
|
|
67
67
|
}
|
|
68
|
-
export interface DeployConfigPartial {
|
|
69
|
-
rpc_url?: string | undefined;
|
|
70
|
-
server_size?: string | undefined;
|
|
71
|
-
chain_type: ChainType;
|
|
72
|
-
node_type: NodeType;
|
|
73
|
-
chain_id?: string | undefined;
|
|
74
|
-
token_symbol?: string | undefined;
|
|
75
|
-
custom_domain?: string | undefined;
|
|
76
|
-
logo_url?: string | undefined;
|
|
77
|
-
logo_url_dark?: string | undefined;
|
|
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;
|
|
97
|
-
}
|
|
98
68
|
/** https://github.com/blockscout/docs/blob/df6996a0f8e553c2d4b1c3dcda6ef2518a8b39f9/for-developers/information-and-settings/env-variables/backend-envs-chain-specific.md?plain=1#L102-L119 */
|
|
99
69
|
export interface OptimismConfig {
|
|
100
70
|
/** changes blockscout env INDEXER_OPTIMISM_L1_RPC */
|
|
@@ -117,6 +87,14 @@ export interface OptimismConfig {
|
|
|
117
87
|
l2_withdrawals_start_block?: string | undefined;
|
|
118
88
|
/** changes blockscout env INDEXER_OPTIMISM_L2_MESSAGE_PASSER_CONTRACT */
|
|
119
89
|
l2_message_passer_contract?: string | undefined;
|
|
90
|
+
/** NEXT_PUBLIC_ROLLUP_L1_BASE_URL */
|
|
91
|
+
l1_blockscout_url: string;
|
|
92
|
+
/** NEXT_PUBLIC_ROLLUP_L2_WITHDRAWAL_URL */
|
|
93
|
+
l2_withdrawal_url?: string | undefined;
|
|
94
|
+
/** NEXT_PUBLIC_FAULT_PROOF_ENABLED */
|
|
95
|
+
l2_fault_proof_enabled?: boolean | undefined;
|
|
96
|
+
/** NEXT_PUBLIC_HAS_MUD_FRAMEWORK */
|
|
97
|
+
has_mud_framework?: boolean | undefined;
|
|
120
98
|
}
|
|
121
99
|
/** https://github.com/blockscout/docs/blob/594e4c2ef83556b3cb41e9fd43bca776afb63c05/for-developers/information-and-settings/env-variables/backend-envs-chain-specific.md?plain=1#L136 */
|
|
122
100
|
export interface ArbitrumConfig {
|
|
@@ -141,4 +119,6 @@ export interface ArbitrumConfig {
|
|
|
141
119
|
missing_batches_range?: string | undefined;
|
|
142
120
|
confirmations_tracking_finalized?: boolean | undefined;
|
|
143
121
|
new_batches_limit?: string | undefined;
|
|
122
|
+
/** NEXT_PUBLIC_ROLLUP_L1_BASE_URL */
|
|
123
|
+
l1_blockscout_url: string;
|
|
144
124
|
}
|
package/dist/v1/config.ts
CHANGED
|
@@ -79,37 +79,6 @@ export interface DeployConfig {
|
|
|
79
79
|
arbitrum?: ArbitrumConfig | undefined;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
export interface DeployConfigPartial {
|
|
83
|
-
rpc_url?: string | undefined;
|
|
84
|
-
server_size?: string | undefined;
|
|
85
|
-
chain_type: ChainType;
|
|
86
|
-
node_type: NodeType;
|
|
87
|
-
chain_id?: string | undefined;
|
|
88
|
-
token_symbol?: string | undefined;
|
|
89
|
-
custom_domain?: string | undefined;
|
|
90
|
-
logo_url?: string | undefined;
|
|
91
|
-
logo_url_dark?: string | undefined;
|
|
92
|
-
chain_name?: string | undefined;
|
|
93
|
-
icon_url?: string | undefined;
|
|
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;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
82
|
/** https://github.com/blockscout/docs/blob/df6996a0f8e553c2d4b1c3dcda6ef2518a8b39f9/for-developers/information-and-settings/env-variables/backend-envs-chain-specific.md?plain=1#L102-L119 */
|
|
114
83
|
export interface OptimismConfig {
|
|
115
84
|
/** changes blockscout env INDEXER_OPTIMISM_L1_RPC */
|
|
@@ -149,7 +118,21 @@ export interface OptimismConfig {
|
|
|
149
118
|
| string
|
|
150
119
|
| undefined;
|
|
151
120
|
/** changes blockscout env INDEXER_OPTIMISM_L2_MESSAGE_PASSER_CONTRACT */
|
|
152
|
-
l2_message_passer_contract?:
|
|
121
|
+
l2_message_passer_contract?:
|
|
122
|
+
| string
|
|
123
|
+
| undefined;
|
|
124
|
+
/** NEXT_PUBLIC_ROLLUP_L1_BASE_URL */
|
|
125
|
+
l1_blockscout_url: string;
|
|
126
|
+
/** NEXT_PUBLIC_ROLLUP_L2_WITHDRAWAL_URL */
|
|
127
|
+
l2_withdrawal_url?:
|
|
128
|
+
| string
|
|
129
|
+
| undefined;
|
|
130
|
+
/** NEXT_PUBLIC_FAULT_PROOF_ENABLED */
|
|
131
|
+
l2_fault_proof_enabled?:
|
|
132
|
+
| boolean
|
|
133
|
+
| undefined;
|
|
134
|
+
/** NEXT_PUBLIC_HAS_MUD_FRAMEWORK */
|
|
135
|
+
has_mud_framework?: boolean | undefined;
|
|
153
136
|
}
|
|
154
137
|
|
|
155
138
|
/** https://github.com/blockscout/docs/blob/594e4c2ef83556b3cb41e9fd43bca776afb63c05/for-developers/information-and-settings/env-variables/backend-envs-chain-specific.md?plain=1#L136 */
|
|
@@ -174,5 +157,9 @@ export interface ArbitrumConfig {
|
|
|
174
157
|
batches_tracking_messages_to_blocks_shift?: string | undefined;
|
|
175
158
|
missing_batches_range?: string | undefined;
|
|
176
159
|
confirmations_tracking_finalized?: boolean | undefined;
|
|
177
|
-
new_batches_limit?:
|
|
160
|
+
new_batches_limit?:
|
|
161
|
+
| string
|
|
162
|
+
| undefined;
|
|
163
|
+
/** NEXT_PUBLIC_ROLLUP_L1_BASE_URL */
|
|
164
|
+
l1_blockscout_url: string;
|
|
178
165
|
}
|