@sentio/runtime 2.60.0-rc.11 → 2.60.0-rc.13
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/lib/{chunk-CYS2DAE4.js → chunk-26X74ASV.js} +2 -2
- package/lib/{chunk-BOHR42T4.js → chunk-2JZQGMEZ.js} +3 -2
- package/lib/{chunk-BOHR42T4.js.map → chunk-2JZQGMEZ.js.map} +1 -1
- package/lib/{chunk-TC6OWLVA.js → chunk-ZTW66EYL.js} +2 -1
- package/lib/chunk-ZTW66EYL.js.map +1 -0
- package/lib/index.d.ts +10 -147
- package/lib/index.js +2 -2
- package/lib/processor-BDXlufg5.d.ts +900 -0
- package/lib/processor-runner.js +10 -3
- package/lib/processor-runner.js.map +1 -1
- package/lib/service-worker.js +3 -3
- package/lib/test-processor.test.d.ts +14 -1
- package/lib/test-processor.test.js.map +1 -1
- package/package.json +1 -1
- package/src/db-context.ts +1 -0
- package/src/gen/service/common/protos/common.ts +134 -1
- package/src/service-v3.ts +7 -1
- package/lib/chunk-TC6OWLVA.js.map +0 -1
- /package/lib/{chunk-CYS2DAE4.js.map → chunk-26X74ASV.js.map} +0 -0
@@ -0,0 +1,900 @@
|
|
1
|
+
import { DeepPartial as DeepPartial$2, DBResponse, TemplateInstance, TimeseriesResult as TimeseriesResult$1, ProcessStreamResponse, DBRequest_DBUpsert, ProcessStreamResponseV2, DBRequest, HandlerType as HandlerType$1, ProcessConfigResponse, StartRequest, DataBinding as DataBinding$1, PreparedData, ProcessResult as ProcessResult$1, PreprocessResult, ProcessStreamResponse_Partitions, InitResponse } from '@sentio/protos';
|
2
|
+
import { Subject } from 'rxjs';
|
3
|
+
import { AsyncLocalStorage } from 'node:async_hooks';
|
4
|
+
import _m0 from 'protobufjs/minimal.js';
|
5
|
+
|
6
|
+
type Request = Omit<DBRequest, 'opId'>;
|
7
|
+
type RequestType = keyof Request;
|
8
|
+
declare const timeoutError: Error;
|
9
|
+
interface IStoreContext {
|
10
|
+
sendRequest(request: DeepPartial$2<Request>, timeoutSecs?: number): Promise<DBResponse>;
|
11
|
+
result(dbResult: DBResponse): void;
|
12
|
+
error(processId: number, e: any): void;
|
13
|
+
close(): void;
|
14
|
+
}
|
15
|
+
interface IDataBindingContext extends IStoreContext {
|
16
|
+
sendTemplateRequest(templates: Array<TemplateInstance>): void;
|
17
|
+
sendTimeseriesRequest(timeseries: Array<TimeseriesResult$1>): void;
|
18
|
+
}
|
19
|
+
declare abstract class AbstractStoreContext implements IStoreContext {
|
20
|
+
readonly processId: number;
|
21
|
+
private static opCounter;
|
22
|
+
protected defers: Map<bigint, {
|
23
|
+
resolve: (value: any) => void;
|
24
|
+
reject: (reason?: any) => void;
|
25
|
+
requestType?: RequestType;
|
26
|
+
}>;
|
27
|
+
private statsInterval;
|
28
|
+
private pendings;
|
29
|
+
constructor(processId: number);
|
30
|
+
newPromise<T>(opId: bigint, requestType?: RequestType): Promise<T>;
|
31
|
+
abstract doSend(resp: DeepPartial$2<ProcessStreamResponse>): void;
|
32
|
+
sendRequest(request: DeepPartial$2<Request>, timeoutSecs?: number): Promise<DBResponse>;
|
33
|
+
result(dbResult: DBResponse): void;
|
34
|
+
error(processId: number, e: any): void;
|
35
|
+
close(): void;
|
36
|
+
upsertBatch: {
|
37
|
+
opId: bigint;
|
38
|
+
request: DBRequest_DBUpsert;
|
39
|
+
promise: Promise<DBResponse>;
|
40
|
+
timer: NodeJS.Timeout;
|
41
|
+
} | undefined;
|
42
|
+
private sendUpsertInBatch;
|
43
|
+
private sendBatch;
|
44
|
+
awaitPendings(): Promise<void>;
|
45
|
+
}
|
46
|
+
declare class StoreContext extends AbstractStoreContext {
|
47
|
+
readonly subject: Subject<DeepPartial$2<ProcessStreamResponse>>;
|
48
|
+
constructor(subject: Subject<DeepPartial$2<ProcessStreamResponse>>, processId: number);
|
49
|
+
doSend(resp: DeepPartial$2<ProcessStreamResponse>): void;
|
50
|
+
}
|
51
|
+
declare class DataBindingContext extends AbstractStoreContext implements IDataBindingContext {
|
52
|
+
readonly processId: number;
|
53
|
+
readonly subject: Subject<DeepPartial$2<ProcessStreamResponseV2>>;
|
54
|
+
constructor(processId: number, subject: Subject<DeepPartial$2<ProcessStreamResponseV2>>);
|
55
|
+
sendTemplateRequest(templates: Array<TemplateInstance>): void;
|
56
|
+
sendTimeseriesRequest(timeseries: Array<TimeseriesResult$1>): void;
|
57
|
+
doSend(resp: DeepPartial$2<ProcessStreamResponseV2>): void;
|
58
|
+
}
|
59
|
+
|
60
|
+
declare abstract class Plugin {
|
61
|
+
name: string;
|
62
|
+
supportedHandlers: HandlerType$1[];
|
63
|
+
configure(config: ProcessConfigResponse, forChainId?: string): Promise<void>;
|
64
|
+
start(start: StartRequest): Promise<void>;
|
65
|
+
/**
|
66
|
+
* @deprecated The method should not be used, use ctx.states instead
|
67
|
+
*/
|
68
|
+
stateDiff(config: ProcessConfigResponse): boolean;
|
69
|
+
processBinding(request: DataBinding$1, preparedData: PreparedData | undefined): Promise<ProcessResult$1>;
|
70
|
+
preprocessBinding(request: DataBinding$1, preprocessStore: {
|
71
|
+
[k: string]: any;
|
72
|
+
}): Promise<PreprocessResult>;
|
73
|
+
partition(request: DataBinding$1): Promise<ProcessStreamResponse_Partitions>;
|
74
|
+
/**
|
75
|
+
* method used by action server only
|
76
|
+
* @param port
|
77
|
+
*/
|
78
|
+
startServer(port?: number): Promise<void>;
|
79
|
+
/**
|
80
|
+
* method used by action server only
|
81
|
+
*/
|
82
|
+
shutdownServer(): void;
|
83
|
+
/**
|
84
|
+
* Initialize the plugin, for service v3.
|
85
|
+
* @param config
|
86
|
+
*/
|
87
|
+
init(config: InitResponse): Promise<void>;
|
88
|
+
}
|
89
|
+
declare class PluginManager {
|
90
|
+
static INSTANCE: PluginManager;
|
91
|
+
dbContextLocalStorage: AsyncLocalStorage<IStoreContext | undefined>;
|
92
|
+
plugins: Plugin[];
|
93
|
+
typesToPlugin: Map<HandlerType$1, Plugin>;
|
94
|
+
register(plugin: Plugin): void;
|
95
|
+
configure(config: ProcessConfigResponse, forChainId?: string): Promise<void>;
|
96
|
+
start(start: StartRequest, actionServerPort?: number): Promise<void[]>;
|
97
|
+
startServer(port?: number): Promise<void[]>;
|
98
|
+
shutdown(): void;
|
99
|
+
/**
|
100
|
+
* @deprecated The method should not be used, use ctx.states instead
|
101
|
+
*/
|
102
|
+
stateDiff(config: ProcessConfigResponse): boolean;
|
103
|
+
processBinding(request: DataBinding$1, preparedData: PreparedData | undefined, dbContext?: IStoreContext): Promise<ProcessResult$1>;
|
104
|
+
partition(request: DataBinding$1): Promise<ProcessStreamResponse_Partitions>;
|
105
|
+
preprocessBinding(request: DataBinding$1, preprocessStore: {
|
106
|
+
[k: string]: any;
|
107
|
+
}, dbContext?: StoreContext): Promise<PreprocessResult>;
|
108
|
+
init(resp: InitResponse): Promise<void[]>;
|
109
|
+
}
|
110
|
+
|
111
|
+
declare enum RichValue_NullValue {
|
112
|
+
NULL_VALUE = 0,
|
113
|
+
UNRECOGNIZED = -1
|
114
|
+
}
|
115
|
+
interface Duration {
|
116
|
+
value: number;
|
117
|
+
unit: string;
|
118
|
+
}
|
119
|
+
declare const Duration: {
|
120
|
+
encode(message: Duration, writer?: _m0.Writer): _m0.Writer;
|
121
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Duration;
|
122
|
+
fromJSON(object: any): Duration;
|
123
|
+
toJSON(message: Duration): unknown;
|
124
|
+
create(base?: DeepPartial$1<Duration>): Duration;
|
125
|
+
fromPartial(object: DeepPartial$1<Duration>): Duration;
|
126
|
+
};
|
127
|
+
interface Argument {
|
128
|
+
stringValue?: string | undefined;
|
129
|
+
intValue?: number | undefined;
|
130
|
+
doubleValue?: number | undefined;
|
131
|
+
boolValue?: boolean | undefined;
|
132
|
+
durationValue?: Duration | undefined;
|
133
|
+
}
|
134
|
+
declare const Argument: {
|
135
|
+
encode(message: Argument, writer?: _m0.Writer): _m0.Writer;
|
136
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Argument;
|
137
|
+
fromJSON(object: any): Argument;
|
138
|
+
toJSON(message: Argument): unknown;
|
139
|
+
create(base?: DeepPartial$1<Argument>): Argument;
|
140
|
+
fromPartial(object: DeepPartial$1<Argument>): Argument;
|
141
|
+
};
|
142
|
+
interface Function$1 {
|
143
|
+
name: string;
|
144
|
+
arguments: Argument[];
|
145
|
+
}
|
146
|
+
declare const Function$1: {
|
147
|
+
encode(message: Function$1, writer?: _m0.Writer): _m0.Writer;
|
148
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Function$1;
|
149
|
+
fromJSON(object: any): Function$1;
|
150
|
+
toJSON(message: Function$1): unknown;
|
151
|
+
create(base?: DeepPartial$1<Function$1>): Function$1;
|
152
|
+
fromPartial(object: DeepPartial$1<Function$1>): Function$1;
|
153
|
+
};
|
154
|
+
interface CoinID {
|
155
|
+
symbol?: string | undefined;
|
156
|
+
address?: CoinID_AddressIdentifier | undefined;
|
157
|
+
}
|
158
|
+
declare const CoinID: {
|
159
|
+
encode(message: CoinID, writer?: _m0.Writer): _m0.Writer;
|
160
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): CoinID;
|
161
|
+
fromJSON(object: any): CoinID;
|
162
|
+
toJSON(message: CoinID): unknown;
|
163
|
+
create(base?: DeepPartial$1<CoinID>): CoinID;
|
164
|
+
fromPartial(object: DeepPartial$1<CoinID>): CoinID;
|
165
|
+
};
|
166
|
+
interface CoinID_AddressIdentifier {
|
167
|
+
address: string;
|
168
|
+
chain: string;
|
169
|
+
}
|
170
|
+
declare const CoinID_AddressIdentifier: {
|
171
|
+
encode(message: CoinID_AddressIdentifier, writer?: _m0.Writer): _m0.Writer;
|
172
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): CoinID_AddressIdentifier;
|
173
|
+
fromJSON(object: any): CoinID_AddressIdentifier;
|
174
|
+
toJSON(message: CoinID_AddressIdentifier): unknown;
|
175
|
+
create(base?: DeepPartial$1<CoinID_AddressIdentifier>): CoinID_AddressIdentifier;
|
176
|
+
fromPartial(object: DeepPartial$1<CoinID_AddressIdentifier>): CoinID_AddressIdentifier;
|
177
|
+
};
|
178
|
+
interface RichValue {
|
179
|
+
nullValue?: RichValue_NullValue | undefined;
|
180
|
+
intValue?: number | undefined;
|
181
|
+
int64Value?: bigint | undefined;
|
182
|
+
floatValue?: number | undefined;
|
183
|
+
bytesValue?: Uint8Array | undefined;
|
184
|
+
boolValue?: boolean | undefined;
|
185
|
+
stringValue?: string | undefined;
|
186
|
+
timestampValue?: Date | undefined;
|
187
|
+
bigintValue?: BigInteger | undefined;
|
188
|
+
bigdecimalValue?: BigDecimal | undefined;
|
189
|
+
listValue?: RichValueList | undefined;
|
190
|
+
structValue?: RichStruct | undefined;
|
191
|
+
tokenValue?: TokenAmount | undefined;
|
192
|
+
}
|
193
|
+
declare const RichValue: {
|
194
|
+
encode(message: RichValue, writer?: _m0.Writer): _m0.Writer;
|
195
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): RichValue;
|
196
|
+
fromJSON(object: any): RichValue;
|
197
|
+
toJSON(message: RichValue): unknown;
|
198
|
+
create(base?: DeepPartial$1<RichValue>): RichValue;
|
199
|
+
fromPartial(object: DeepPartial$1<RichValue>): RichValue;
|
200
|
+
};
|
201
|
+
interface RichStruct {
|
202
|
+
fields: {
|
203
|
+
[key: string]: RichValue;
|
204
|
+
};
|
205
|
+
}
|
206
|
+
declare const RichStruct: {
|
207
|
+
encode(message: RichStruct, writer?: _m0.Writer): _m0.Writer;
|
208
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): RichStruct;
|
209
|
+
fromJSON(object: any): RichStruct;
|
210
|
+
toJSON(message: RichStruct): unknown;
|
211
|
+
create(base?: DeepPartial$1<RichStruct>): RichStruct;
|
212
|
+
fromPartial(object: DeepPartial$1<RichStruct>): RichStruct;
|
213
|
+
};
|
214
|
+
interface RichValueList {
|
215
|
+
values: RichValue[];
|
216
|
+
}
|
217
|
+
declare const RichValueList: {
|
218
|
+
encode(message: RichValueList, writer?: _m0.Writer): _m0.Writer;
|
219
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): RichValueList;
|
220
|
+
fromJSON(object: any): RichValueList;
|
221
|
+
toJSON(message: RichValueList): unknown;
|
222
|
+
create(base?: DeepPartial$1<RichValueList>): RichValueList;
|
223
|
+
fromPartial(object: DeepPartial$1<RichValueList>): RichValueList;
|
224
|
+
};
|
225
|
+
interface BigDecimal {
|
226
|
+
value: BigInteger | undefined;
|
227
|
+
exp: number;
|
228
|
+
}
|
229
|
+
declare const BigDecimal: {
|
230
|
+
encode(message: BigDecimal, writer?: _m0.Writer): _m0.Writer;
|
231
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): BigDecimal;
|
232
|
+
fromJSON(object: any): BigDecimal;
|
233
|
+
toJSON(message: BigDecimal): unknown;
|
234
|
+
create(base?: DeepPartial$1<BigDecimal>): BigDecimal;
|
235
|
+
fromPartial(object: DeepPartial$1<BigDecimal>): BigDecimal;
|
236
|
+
};
|
237
|
+
interface BigInteger {
|
238
|
+
negative: boolean;
|
239
|
+
data: Uint8Array;
|
240
|
+
}
|
241
|
+
declare const BigInteger: {
|
242
|
+
encode(message: BigInteger, writer?: _m0.Writer): _m0.Writer;
|
243
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): BigInteger;
|
244
|
+
fromJSON(object: any): BigInteger;
|
245
|
+
toJSON(message: BigInteger): unknown;
|
246
|
+
create(base?: DeepPartial$1<BigInteger>): BigInteger;
|
247
|
+
fromPartial(object: DeepPartial$1<BigInteger>): BigInteger;
|
248
|
+
};
|
249
|
+
interface TokenAmount {
|
250
|
+
token: CoinID | undefined;
|
251
|
+
amount: BigDecimal | undefined;
|
252
|
+
specifiedAt: Date | undefined;
|
253
|
+
}
|
254
|
+
declare const TokenAmount: {
|
255
|
+
encode(message: TokenAmount, writer?: _m0.Writer): _m0.Writer;
|
256
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): TokenAmount;
|
257
|
+
fromJSON(object: any): TokenAmount;
|
258
|
+
toJSON(message: TokenAmount): unknown;
|
259
|
+
create(base?: DeepPartial$1<TokenAmount>): TokenAmount;
|
260
|
+
fromPartial(object: DeepPartial$1<TokenAmount>): TokenAmount;
|
261
|
+
};
|
262
|
+
type Builtin$1 = Date | Function$1 | Uint8Array | string | number | boolean | bigint | undefined;
|
263
|
+
type DeepPartial$1<T> = T extends Builtin$1 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$1<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$1<U>> : T extends {} ? {
|
264
|
+
[K in keyof T]?: DeepPartial$1<T[K]>;
|
265
|
+
} : Partial<T>;
|
266
|
+
|
267
|
+
declare enum HandlerType {
|
268
|
+
UNKNOWN = 0,
|
269
|
+
ETH_LOG = 1,
|
270
|
+
ETH_BLOCK = 2,
|
271
|
+
ETH_TRACE = 5,
|
272
|
+
ETH_TRANSACTION = 11,
|
273
|
+
SOL_INSTRUCTION = 4,
|
274
|
+
APT_EVENT = 6,
|
275
|
+
APT_CALL = 7,
|
276
|
+
APT_RESOURCE = 8,
|
277
|
+
SUI_EVENT = 3,
|
278
|
+
SUI_CALL = 9,
|
279
|
+
SUI_OBJECT = 10,
|
280
|
+
SUI_OBJECT_CHANGE = 12,
|
281
|
+
FUEL_CALL = 13,
|
282
|
+
FUEL_RECEIPT = 19,
|
283
|
+
FUEL_TRANSACTION = 20,
|
284
|
+
FUEL_BLOCK = 17,
|
285
|
+
COSMOS_CALL = 14,
|
286
|
+
STARKNET_EVENT = 15,
|
287
|
+
BTC_TRANSACTION = 16,
|
288
|
+
BTC_BLOCK = 18,
|
289
|
+
UNRECOGNIZED = -1
|
290
|
+
}
|
291
|
+
declare enum LogLevel {
|
292
|
+
DEBUG = 0,
|
293
|
+
INFO = 1,
|
294
|
+
WARNING = 2,
|
295
|
+
ERROR = 3,
|
296
|
+
CRITICAL = 4,
|
297
|
+
UNRECOGNIZED = -1
|
298
|
+
}
|
299
|
+
declare enum TimeseriesResult_TimeseriesType {
|
300
|
+
EVENT = 0,
|
301
|
+
GAUGE = 1,
|
302
|
+
COUNTER = 2,
|
303
|
+
UNRECOGNIZED = -1
|
304
|
+
}
|
305
|
+
interface ExecutionConfig {
|
306
|
+
sequential: boolean;
|
307
|
+
forceExactBlockTime: boolean;
|
308
|
+
processBindingTimeout: number;
|
309
|
+
skipStartBlockValidation: boolean;
|
310
|
+
rpcRetryTimes: number;
|
311
|
+
ethAbiDecoderConfig?: ExecutionConfig_DecoderWorkerConfig | undefined;
|
312
|
+
}
|
313
|
+
declare const ExecutionConfig: {
|
314
|
+
encode(message: ExecutionConfig, writer?: _m0.Writer): _m0.Writer;
|
315
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ExecutionConfig;
|
316
|
+
fromJSON(object: any): ExecutionConfig;
|
317
|
+
toJSON(message: ExecutionConfig): unknown;
|
318
|
+
create(base?: DeepPartial<ExecutionConfig>): ExecutionConfig;
|
319
|
+
fromPartial(object: DeepPartial<ExecutionConfig>): ExecutionConfig;
|
320
|
+
};
|
321
|
+
interface ExecutionConfig_DecoderWorkerConfig {
|
322
|
+
enabled: boolean;
|
323
|
+
workerCount?: number | undefined;
|
324
|
+
skipWhenDecodeFailed?: boolean | undefined;
|
325
|
+
}
|
326
|
+
declare const ExecutionConfig_DecoderWorkerConfig: {
|
327
|
+
encode(message: ExecutionConfig_DecoderWorkerConfig, writer?: _m0.Writer): _m0.Writer;
|
328
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ExecutionConfig_DecoderWorkerConfig;
|
329
|
+
fromJSON(object: any): ExecutionConfig_DecoderWorkerConfig;
|
330
|
+
toJSON(message: ExecutionConfig_DecoderWorkerConfig): unknown;
|
331
|
+
create(base?: DeepPartial<ExecutionConfig_DecoderWorkerConfig>): ExecutionConfig_DecoderWorkerConfig;
|
332
|
+
fromPartial(object: DeepPartial<ExecutionConfig_DecoderWorkerConfig>): ExecutionConfig_DecoderWorkerConfig;
|
333
|
+
};
|
334
|
+
interface Data {
|
335
|
+
ethLog?: Data_EthLog | undefined;
|
336
|
+
ethBlock?: Data_EthBlock | undefined;
|
337
|
+
ethTransaction?: Data_EthTransaction | undefined;
|
338
|
+
ethTrace?: Data_EthTrace | undefined;
|
339
|
+
solInstruction?: Data_SolInstruction | undefined;
|
340
|
+
aptEvent?: Data_AptEvent | undefined;
|
341
|
+
aptCall?: Data_AptCall | undefined;
|
342
|
+
aptResource?: Data_AptResource | undefined;
|
343
|
+
suiEvent?: Data_SuiEvent | undefined;
|
344
|
+
suiCall?: Data_SuiCall | undefined;
|
345
|
+
suiObject?: Data_SuiObject | undefined;
|
346
|
+
suiObjectChange?: Data_SuiObjectChange | undefined;
|
347
|
+
fuelLog?: Data_FuelReceipt | undefined;
|
348
|
+
/** @deprecated */
|
349
|
+
fuelCall?: Data_FuelCall | undefined;
|
350
|
+
fuelTransaction?: Data_FuelTransaction | undefined;
|
351
|
+
fuelBlock?: Data_FuelBlock | undefined;
|
352
|
+
cosmosCall?: Data_CosmosCall | undefined;
|
353
|
+
starknetEvents?: Data_StarknetEvent | undefined;
|
354
|
+
btcTransaction?: Data_BTCTransaction | undefined;
|
355
|
+
btcBlock?: Data_BTCBlock | undefined;
|
356
|
+
}
|
357
|
+
declare const Data: {
|
358
|
+
encode(message: Data, writer?: _m0.Writer): _m0.Writer;
|
359
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Data;
|
360
|
+
fromJSON(object: any): Data;
|
361
|
+
toJSON(message: Data): unknown;
|
362
|
+
create(base?: DeepPartial<Data>): Data;
|
363
|
+
fromPartial(object: DeepPartial<Data>): Data;
|
364
|
+
};
|
365
|
+
interface Data_EthLog {
|
366
|
+
log: {
|
367
|
+
[key: string]: any;
|
368
|
+
} | undefined;
|
369
|
+
timestamp: Date | undefined;
|
370
|
+
transaction?: {
|
371
|
+
[key: string]: any;
|
372
|
+
} | undefined;
|
373
|
+
transactionReceipt?: {
|
374
|
+
[key: string]: any;
|
375
|
+
} | undefined;
|
376
|
+
block?: {
|
377
|
+
[key: string]: any;
|
378
|
+
} | undefined;
|
379
|
+
rawLog: string;
|
380
|
+
rawTransaction?: string | undefined;
|
381
|
+
rawTransactionReceipt?: string | undefined;
|
382
|
+
rawBlock?: string | undefined;
|
383
|
+
}
|
384
|
+
declare const Data_EthLog: {
|
385
|
+
encode(message: Data_EthLog, writer?: _m0.Writer): _m0.Writer;
|
386
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Data_EthLog;
|
387
|
+
fromJSON(object: any): Data_EthLog;
|
388
|
+
toJSON(message: Data_EthLog): unknown;
|
389
|
+
create(base?: DeepPartial<Data_EthLog>): Data_EthLog;
|
390
|
+
fromPartial(object: DeepPartial<Data_EthLog>): Data_EthLog;
|
391
|
+
};
|
392
|
+
interface Data_EthBlock {
|
393
|
+
block: {
|
394
|
+
[key: string]: any;
|
395
|
+
} | undefined;
|
396
|
+
}
|
397
|
+
declare const Data_EthBlock: {
|
398
|
+
encode(message: Data_EthBlock, writer?: _m0.Writer): _m0.Writer;
|
399
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Data_EthBlock;
|
400
|
+
fromJSON(object: any): Data_EthBlock;
|
401
|
+
toJSON(message: Data_EthBlock): unknown;
|
402
|
+
create(base?: DeepPartial<Data_EthBlock>): Data_EthBlock;
|
403
|
+
fromPartial(object: DeepPartial<Data_EthBlock>): Data_EthBlock;
|
404
|
+
};
|
405
|
+
interface Data_EthTransaction {
|
406
|
+
transaction: {
|
407
|
+
[key: string]: any;
|
408
|
+
} | undefined;
|
409
|
+
timestamp: Date | undefined;
|
410
|
+
transactionReceipt?: {
|
411
|
+
[key: string]: any;
|
412
|
+
} | undefined;
|
413
|
+
block?: {
|
414
|
+
[key: string]: any;
|
415
|
+
} | undefined;
|
416
|
+
trace?: {
|
417
|
+
[key: string]: any;
|
418
|
+
} | undefined;
|
419
|
+
rawTransaction: string;
|
420
|
+
rawTransactionReceipt?: string | undefined;
|
421
|
+
rawBlock?: string | undefined;
|
422
|
+
rawTrace?: string | undefined;
|
423
|
+
}
|
424
|
+
declare const Data_EthTransaction: {
|
425
|
+
encode(message: Data_EthTransaction, writer?: _m0.Writer): _m0.Writer;
|
426
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Data_EthTransaction;
|
427
|
+
fromJSON(object: any): Data_EthTransaction;
|
428
|
+
toJSON(message: Data_EthTransaction): unknown;
|
429
|
+
create(base?: DeepPartial<Data_EthTransaction>): Data_EthTransaction;
|
430
|
+
fromPartial(object: DeepPartial<Data_EthTransaction>): Data_EthTransaction;
|
431
|
+
};
|
432
|
+
interface Data_EthTrace {
|
433
|
+
trace: {
|
434
|
+
[key: string]: any;
|
435
|
+
} | undefined;
|
436
|
+
timestamp: Date | undefined;
|
437
|
+
transaction?: {
|
438
|
+
[key: string]: any;
|
439
|
+
} | undefined;
|
440
|
+
transactionReceipt?: {
|
441
|
+
[key: string]: any;
|
442
|
+
} | undefined;
|
443
|
+
block?: {
|
444
|
+
[key: string]: any;
|
445
|
+
} | undefined;
|
446
|
+
}
|
447
|
+
declare const Data_EthTrace: {
|
448
|
+
encode(message: Data_EthTrace, writer?: _m0.Writer): _m0.Writer;
|
449
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Data_EthTrace;
|
450
|
+
fromJSON(object: any): Data_EthTrace;
|
451
|
+
toJSON(message: Data_EthTrace): unknown;
|
452
|
+
create(base?: DeepPartial<Data_EthTrace>): Data_EthTrace;
|
453
|
+
fromPartial(object: DeepPartial<Data_EthTrace>): Data_EthTrace;
|
454
|
+
};
|
455
|
+
interface Data_SolInstruction {
|
456
|
+
instructionData: string;
|
457
|
+
slot: bigint;
|
458
|
+
programAccountId: string;
|
459
|
+
accounts: string[];
|
460
|
+
parsed?: {
|
461
|
+
[key: string]: any;
|
462
|
+
} | undefined;
|
463
|
+
}
|
464
|
+
declare const Data_SolInstruction: {
|
465
|
+
encode(message: Data_SolInstruction, writer?: _m0.Writer): _m0.Writer;
|
466
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Data_SolInstruction;
|
467
|
+
fromJSON(object: any): Data_SolInstruction;
|
468
|
+
toJSON(message: Data_SolInstruction): unknown;
|
469
|
+
create(base?: DeepPartial<Data_SolInstruction>): Data_SolInstruction;
|
470
|
+
fromPartial(object: DeepPartial<Data_SolInstruction>): Data_SolInstruction;
|
471
|
+
};
|
472
|
+
interface Data_AptEvent {
|
473
|
+
rawEvent: string;
|
474
|
+
eventIndex: number;
|
475
|
+
/** @deprecated */
|
476
|
+
transaction: {
|
477
|
+
[key: string]: any;
|
478
|
+
} | undefined;
|
479
|
+
rawTransaction: string;
|
480
|
+
}
|
481
|
+
declare const Data_AptEvent: {
|
482
|
+
encode(message: Data_AptEvent, writer?: _m0.Writer): _m0.Writer;
|
483
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Data_AptEvent;
|
484
|
+
fromJSON(object: any): Data_AptEvent;
|
485
|
+
toJSON(message: Data_AptEvent): unknown;
|
486
|
+
create(base?: DeepPartial<Data_AptEvent>): Data_AptEvent;
|
487
|
+
fromPartial(object: DeepPartial<Data_AptEvent>): Data_AptEvent;
|
488
|
+
};
|
489
|
+
interface Data_AptCall {
|
490
|
+
/** @deprecated */
|
491
|
+
transaction: {
|
492
|
+
[key: string]: any;
|
493
|
+
} | undefined;
|
494
|
+
rawTransaction: string;
|
495
|
+
}
|
496
|
+
declare const Data_AptCall: {
|
497
|
+
encode(message: Data_AptCall, writer?: _m0.Writer): _m0.Writer;
|
498
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Data_AptCall;
|
499
|
+
fromJSON(object: any): Data_AptCall;
|
500
|
+
toJSON(message: Data_AptCall): unknown;
|
501
|
+
create(base?: DeepPartial<Data_AptCall>): Data_AptCall;
|
502
|
+
fromPartial(object: DeepPartial<Data_AptCall>): Data_AptCall;
|
503
|
+
};
|
504
|
+
interface Data_AptResource {
|
505
|
+
/** @deprecated */
|
506
|
+
resources: {
|
507
|
+
[key: string]: any;
|
508
|
+
}[];
|
509
|
+
version: bigint;
|
510
|
+
timestampMicros: bigint;
|
511
|
+
rawResources: string[];
|
512
|
+
}
|
513
|
+
declare const Data_AptResource: {
|
514
|
+
encode(message: Data_AptResource, writer?: _m0.Writer): _m0.Writer;
|
515
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Data_AptResource;
|
516
|
+
fromJSON(object: any): Data_AptResource;
|
517
|
+
toJSON(message: Data_AptResource): unknown;
|
518
|
+
create(base?: DeepPartial<Data_AptResource>): Data_AptResource;
|
519
|
+
fromPartial(object: DeepPartial<Data_AptResource>): Data_AptResource;
|
520
|
+
};
|
521
|
+
interface Data_SuiEvent {
|
522
|
+
/** @deprecated */
|
523
|
+
transaction: {
|
524
|
+
[key: string]: any;
|
525
|
+
} | undefined;
|
526
|
+
rawEvent: string;
|
527
|
+
rawTransaction: string;
|
528
|
+
timestamp: Date | undefined;
|
529
|
+
slot: bigint;
|
530
|
+
}
|
531
|
+
declare const Data_SuiEvent: {
|
532
|
+
encode(message: Data_SuiEvent, writer?: _m0.Writer): _m0.Writer;
|
533
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Data_SuiEvent;
|
534
|
+
fromJSON(object: any): Data_SuiEvent;
|
535
|
+
toJSON(message: Data_SuiEvent): unknown;
|
536
|
+
create(base?: DeepPartial<Data_SuiEvent>): Data_SuiEvent;
|
537
|
+
fromPartial(object: DeepPartial<Data_SuiEvent>): Data_SuiEvent;
|
538
|
+
};
|
539
|
+
interface Data_SuiCall {
|
540
|
+
/** @deprecated */
|
541
|
+
transaction: {
|
542
|
+
[key: string]: any;
|
543
|
+
} | undefined;
|
544
|
+
rawTransaction: string;
|
545
|
+
timestamp: Date | undefined;
|
546
|
+
slot: bigint;
|
547
|
+
}
|
548
|
+
declare const Data_SuiCall: {
|
549
|
+
encode(message: Data_SuiCall, writer?: _m0.Writer): _m0.Writer;
|
550
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Data_SuiCall;
|
551
|
+
fromJSON(object: any): Data_SuiCall;
|
552
|
+
toJSON(message: Data_SuiCall): unknown;
|
553
|
+
create(base?: DeepPartial<Data_SuiCall>): Data_SuiCall;
|
554
|
+
fromPartial(object: DeepPartial<Data_SuiCall>): Data_SuiCall;
|
555
|
+
};
|
556
|
+
interface Data_SuiObject {
|
557
|
+
/** @deprecated */
|
558
|
+
objects: {
|
559
|
+
[key: string]: any;
|
560
|
+
}[];
|
561
|
+
/** @deprecated */
|
562
|
+
self?: {
|
563
|
+
[key: string]: any;
|
564
|
+
} | undefined;
|
565
|
+
rawObjects: string[];
|
566
|
+
rawSelf?: string | undefined;
|
567
|
+
objectId: string;
|
568
|
+
objectVersion: bigint;
|
569
|
+
objectDigest: string;
|
570
|
+
timestamp: Date | undefined;
|
571
|
+
slot: bigint;
|
572
|
+
}
|
573
|
+
declare const Data_SuiObject: {
|
574
|
+
encode(message: Data_SuiObject, writer?: _m0.Writer): _m0.Writer;
|
575
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Data_SuiObject;
|
576
|
+
fromJSON(object: any): Data_SuiObject;
|
577
|
+
toJSON(message: Data_SuiObject): unknown;
|
578
|
+
create(base?: DeepPartial<Data_SuiObject>): Data_SuiObject;
|
579
|
+
fromPartial(object: DeepPartial<Data_SuiObject>): Data_SuiObject;
|
580
|
+
};
|
581
|
+
interface Data_SuiObjectChange {
|
582
|
+
/** @deprecated */
|
583
|
+
changes: {
|
584
|
+
[key: string]: any;
|
585
|
+
}[];
|
586
|
+
rawChanges: string[];
|
587
|
+
timestamp: Date | undefined;
|
588
|
+
txDigest: string;
|
589
|
+
slot: bigint;
|
590
|
+
}
|
591
|
+
declare const Data_SuiObjectChange: {
|
592
|
+
encode(message: Data_SuiObjectChange, writer?: _m0.Writer): _m0.Writer;
|
593
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Data_SuiObjectChange;
|
594
|
+
fromJSON(object: any): Data_SuiObjectChange;
|
595
|
+
toJSON(message: Data_SuiObjectChange): unknown;
|
596
|
+
create(base?: DeepPartial<Data_SuiObjectChange>): Data_SuiObjectChange;
|
597
|
+
fromPartial(object: DeepPartial<Data_SuiObjectChange>): Data_SuiObjectChange;
|
598
|
+
};
|
599
|
+
interface Data_FuelReceipt {
|
600
|
+
transaction: {
|
601
|
+
[key: string]: any;
|
602
|
+
} | undefined;
|
603
|
+
timestamp: Date | undefined;
|
604
|
+
receiptIndex: bigint;
|
605
|
+
}
|
606
|
+
declare const Data_FuelReceipt: {
|
607
|
+
encode(message: Data_FuelReceipt, writer?: _m0.Writer): _m0.Writer;
|
608
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Data_FuelReceipt;
|
609
|
+
fromJSON(object: any): Data_FuelReceipt;
|
610
|
+
toJSON(message: Data_FuelReceipt): unknown;
|
611
|
+
create(base?: DeepPartial<Data_FuelReceipt>): Data_FuelReceipt;
|
612
|
+
fromPartial(object: DeepPartial<Data_FuelReceipt>): Data_FuelReceipt;
|
613
|
+
};
|
614
|
+
interface Data_FuelTransaction {
|
615
|
+
transaction: {
|
616
|
+
[key: string]: any;
|
617
|
+
} | undefined;
|
618
|
+
timestamp: Date | undefined;
|
619
|
+
}
|
620
|
+
declare const Data_FuelTransaction: {
|
621
|
+
encode(message: Data_FuelTransaction, writer?: _m0.Writer): _m0.Writer;
|
622
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Data_FuelTransaction;
|
623
|
+
fromJSON(object: any): Data_FuelTransaction;
|
624
|
+
toJSON(message: Data_FuelTransaction): unknown;
|
625
|
+
create(base?: DeepPartial<Data_FuelTransaction>): Data_FuelTransaction;
|
626
|
+
fromPartial(object: DeepPartial<Data_FuelTransaction>): Data_FuelTransaction;
|
627
|
+
};
|
628
|
+
/** @deprecated */
|
629
|
+
interface Data_FuelCall {
|
630
|
+
transaction: {
|
631
|
+
[key: string]: any;
|
632
|
+
} | undefined;
|
633
|
+
timestamp: Date | undefined;
|
634
|
+
}
|
635
|
+
declare const Data_FuelCall: {
|
636
|
+
encode(message: Data_FuelCall, writer?: _m0.Writer): _m0.Writer;
|
637
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Data_FuelCall;
|
638
|
+
fromJSON(object: any): Data_FuelCall;
|
639
|
+
toJSON(message: Data_FuelCall): unknown;
|
640
|
+
create(base?: DeepPartial<Data_FuelCall>): Data_FuelCall;
|
641
|
+
fromPartial(object: DeepPartial<Data_FuelCall>): Data_FuelCall;
|
642
|
+
};
|
643
|
+
interface Data_FuelBlock {
|
644
|
+
block: {
|
645
|
+
[key: string]: any;
|
646
|
+
} | undefined;
|
647
|
+
timestamp: Date | undefined;
|
648
|
+
}
|
649
|
+
declare const Data_FuelBlock: {
|
650
|
+
encode(message: Data_FuelBlock, writer?: _m0.Writer): _m0.Writer;
|
651
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Data_FuelBlock;
|
652
|
+
fromJSON(object: any): Data_FuelBlock;
|
653
|
+
toJSON(message: Data_FuelBlock): unknown;
|
654
|
+
create(base?: DeepPartial<Data_FuelBlock>): Data_FuelBlock;
|
655
|
+
fromPartial(object: DeepPartial<Data_FuelBlock>): Data_FuelBlock;
|
656
|
+
};
|
657
|
+
interface Data_CosmosCall {
|
658
|
+
transaction: {
|
659
|
+
[key: string]: any;
|
660
|
+
} | undefined;
|
661
|
+
timestamp: Date | undefined;
|
662
|
+
}
|
663
|
+
declare const Data_CosmosCall: {
|
664
|
+
encode(message: Data_CosmosCall, writer?: _m0.Writer): _m0.Writer;
|
665
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Data_CosmosCall;
|
666
|
+
fromJSON(object: any): Data_CosmosCall;
|
667
|
+
toJSON(message: Data_CosmosCall): unknown;
|
668
|
+
create(base?: DeepPartial<Data_CosmosCall>): Data_CosmosCall;
|
669
|
+
fromPartial(object: DeepPartial<Data_CosmosCall>): Data_CosmosCall;
|
670
|
+
};
|
671
|
+
interface Data_StarknetEvent {
|
672
|
+
result: {
|
673
|
+
[key: string]: any;
|
674
|
+
} | undefined;
|
675
|
+
timestamp: Date | undefined;
|
676
|
+
}
|
677
|
+
declare const Data_StarknetEvent: {
|
678
|
+
encode(message: Data_StarknetEvent, writer?: _m0.Writer): _m0.Writer;
|
679
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Data_StarknetEvent;
|
680
|
+
fromJSON(object: any): Data_StarknetEvent;
|
681
|
+
toJSON(message: Data_StarknetEvent): unknown;
|
682
|
+
create(base?: DeepPartial<Data_StarknetEvent>): Data_StarknetEvent;
|
683
|
+
fromPartial(object: DeepPartial<Data_StarknetEvent>): Data_StarknetEvent;
|
684
|
+
};
|
685
|
+
interface Data_BTCTransaction {
|
686
|
+
transaction: {
|
687
|
+
[key: string]: any;
|
688
|
+
} | undefined;
|
689
|
+
timestamp: Date | undefined;
|
690
|
+
}
|
691
|
+
declare const Data_BTCTransaction: {
|
692
|
+
encode(message: Data_BTCTransaction, writer?: _m0.Writer): _m0.Writer;
|
693
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Data_BTCTransaction;
|
694
|
+
fromJSON(object: any): Data_BTCTransaction;
|
695
|
+
toJSON(message: Data_BTCTransaction): unknown;
|
696
|
+
create(base?: DeepPartial<Data_BTCTransaction>): Data_BTCTransaction;
|
697
|
+
fromPartial(object: DeepPartial<Data_BTCTransaction>): Data_BTCTransaction;
|
698
|
+
};
|
699
|
+
interface Data_BTCBlock {
|
700
|
+
block: {
|
701
|
+
[key: string]: any;
|
702
|
+
} | undefined;
|
703
|
+
timestamp: Date | undefined;
|
704
|
+
}
|
705
|
+
declare const Data_BTCBlock: {
|
706
|
+
encode(message: Data_BTCBlock, writer?: _m0.Writer): _m0.Writer;
|
707
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Data_BTCBlock;
|
708
|
+
fromJSON(object: any): Data_BTCBlock;
|
709
|
+
toJSON(message: Data_BTCBlock): unknown;
|
710
|
+
create(base?: DeepPartial<Data_BTCBlock>): Data_BTCBlock;
|
711
|
+
fromPartial(object: DeepPartial<Data_BTCBlock>): Data_BTCBlock;
|
712
|
+
};
|
713
|
+
interface DataBinding {
|
714
|
+
data: Data | undefined;
|
715
|
+
handlerType: HandlerType;
|
716
|
+
handlerIds: number[];
|
717
|
+
}
|
718
|
+
declare const DataBinding: {
|
719
|
+
encode(message: DataBinding, writer?: _m0.Writer): _m0.Writer;
|
720
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): DataBinding;
|
721
|
+
fromJSON(object: any): DataBinding;
|
722
|
+
toJSON(message: DataBinding): unknown;
|
723
|
+
create(base?: DeepPartial<DataBinding>): DataBinding;
|
724
|
+
fromPartial(object: DeepPartial<DataBinding>): DataBinding;
|
725
|
+
};
|
726
|
+
interface StateResult {
|
727
|
+
configUpdated: boolean;
|
728
|
+
error?: string | undefined;
|
729
|
+
}
|
730
|
+
declare const StateResult: {
|
731
|
+
encode(message: StateResult, writer?: _m0.Writer): _m0.Writer;
|
732
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): StateResult;
|
733
|
+
fromJSON(object: any): StateResult;
|
734
|
+
toJSON(message: StateResult): unknown;
|
735
|
+
create(base?: DeepPartial<StateResult>): StateResult;
|
736
|
+
fromPartial(object: DeepPartial<StateResult>): StateResult;
|
737
|
+
};
|
738
|
+
interface ProcessResult {
|
739
|
+
gauges: GaugeResult[];
|
740
|
+
counters: CounterResult[];
|
741
|
+
/** @deprecated */
|
742
|
+
logs: LogResult[];
|
743
|
+
events: EventTrackingResult[];
|
744
|
+
exports: ExportResult[];
|
745
|
+
states: StateResult | undefined;
|
746
|
+
timeseriesResult: TimeseriesResult[];
|
747
|
+
}
|
748
|
+
declare const ProcessResult: {
|
749
|
+
encode(message: ProcessResult, writer?: _m0.Writer): _m0.Writer;
|
750
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ProcessResult;
|
751
|
+
fromJSON(object: any): ProcessResult;
|
752
|
+
toJSON(message: ProcessResult): unknown;
|
753
|
+
create(base?: DeepPartial<ProcessResult>): ProcessResult;
|
754
|
+
fromPartial(object: DeepPartial<ProcessResult>): ProcessResult;
|
755
|
+
};
|
756
|
+
interface RecordMetaData {
|
757
|
+
address: string;
|
758
|
+
contractName: string;
|
759
|
+
blockNumber: bigint;
|
760
|
+
transactionHash: string;
|
761
|
+
chainId: string;
|
762
|
+
transactionIndex: number;
|
763
|
+
logIndex: number;
|
764
|
+
name: string;
|
765
|
+
labels: {
|
766
|
+
[key: string]: string;
|
767
|
+
};
|
768
|
+
}
|
769
|
+
declare const RecordMetaData: {
|
770
|
+
encode(message: RecordMetaData, writer?: _m0.Writer): _m0.Writer;
|
771
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): RecordMetaData;
|
772
|
+
fromJSON(object: any): RecordMetaData;
|
773
|
+
toJSON(message: RecordMetaData): unknown;
|
774
|
+
create(base?: DeepPartial<RecordMetaData>): RecordMetaData;
|
775
|
+
fromPartial(object: DeepPartial<RecordMetaData>): RecordMetaData;
|
776
|
+
};
|
777
|
+
interface MetricValue {
|
778
|
+
bigDecimal?: string | undefined;
|
779
|
+
doubleValue?: number | undefined;
|
780
|
+
bigInteger?: BigInteger | undefined;
|
781
|
+
}
|
782
|
+
declare const MetricValue: {
|
783
|
+
encode(message: MetricValue, writer?: _m0.Writer): _m0.Writer;
|
784
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MetricValue;
|
785
|
+
fromJSON(object: any): MetricValue;
|
786
|
+
toJSON(message: MetricValue): unknown;
|
787
|
+
create(base?: DeepPartial<MetricValue>): MetricValue;
|
788
|
+
fromPartial(object: DeepPartial<MetricValue>): MetricValue;
|
789
|
+
};
|
790
|
+
interface RuntimeInfo {
|
791
|
+
from: HandlerType;
|
792
|
+
}
|
793
|
+
declare const RuntimeInfo: {
|
794
|
+
encode(message: RuntimeInfo, writer?: _m0.Writer): _m0.Writer;
|
795
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): RuntimeInfo;
|
796
|
+
fromJSON(object: any): RuntimeInfo;
|
797
|
+
toJSON(message: RuntimeInfo): unknown;
|
798
|
+
create(base?: DeepPartial<RuntimeInfo>): RuntimeInfo;
|
799
|
+
fromPartial(object: DeepPartial<RuntimeInfo>): RuntimeInfo;
|
800
|
+
};
|
801
|
+
interface GaugeResult {
|
802
|
+
metadata: RecordMetaData | undefined;
|
803
|
+
metricValue: MetricValue | undefined;
|
804
|
+
runtimeInfo: RuntimeInfo | undefined;
|
805
|
+
}
|
806
|
+
declare const GaugeResult: {
|
807
|
+
encode(message: GaugeResult, writer?: _m0.Writer): _m0.Writer;
|
808
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): GaugeResult;
|
809
|
+
fromJSON(object: any): GaugeResult;
|
810
|
+
toJSON(message: GaugeResult): unknown;
|
811
|
+
create(base?: DeepPartial<GaugeResult>): GaugeResult;
|
812
|
+
fromPartial(object: DeepPartial<GaugeResult>): GaugeResult;
|
813
|
+
};
|
814
|
+
interface CounterResult {
|
815
|
+
metadata: RecordMetaData | undefined;
|
816
|
+
metricValue: MetricValue | undefined;
|
817
|
+
add: boolean;
|
818
|
+
runtimeInfo: RuntimeInfo | undefined;
|
819
|
+
}
|
820
|
+
declare const CounterResult: {
|
821
|
+
encode(message: CounterResult, writer?: _m0.Writer): _m0.Writer;
|
822
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): CounterResult;
|
823
|
+
fromJSON(object: any): CounterResult;
|
824
|
+
toJSON(message: CounterResult): unknown;
|
825
|
+
create(base?: DeepPartial<CounterResult>): CounterResult;
|
826
|
+
fromPartial(object: DeepPartial<CounterResult>): CounterResult;
|
827
|
+
};
|
828
|
+
/** @deprecated */
|
829
|
+
interface LogResult {
|
830
|
+
metadata: RecordMetaData | undefined;
|
831
|
+
level: LogLevel;
|
832
|
+
message: string;
|
833
|
+
/** @deprecated */
|
834
|
+
attributes: string;
|
835
|
+
attributes2: {
|
836
|
+
[key: string]: any;
|
837
|
+
} | undefined;
|
838
|
+
runtimeInfo: RuntimeInfo | undefined;
|
839
|
+
}
|
840
|
+
declare const LogResult: {
|
841
|
+
encode(message: LogResult, writer?: _m0.Writer): _m0.Writer;
|
842
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): LogResult;
|
843
|
+
fromJSON(object: any): LogResult;
|
844
|
+
toJSON(message: LogResult): unknown;
|
845
|
+
create(base?: DeepPartial<LogResult>): LogResult;
|
846
|
+
fromPartial(object: DeepPartial<LogResult>): LogResult;
|
847
|
+
};
|
848
|
+
interface EventTrackingResult {
|
849
|
+
metadata: RecordMetaData | undefined;
|
850
|
+
distinctEntityId: string;
|
851
|
+
attributes: {
|
852
|
+
[key: string]: any;
|
853
|
+
} | undefined;
|
854
|
+
severity: LogLevel;
|
855
|
+
message: string;
|
856
|
+
runtimeInfo: RuntimeInfo | undefined;
|
857
|
+
attributes2: RichStruct | undefined;
|
858
|
+
noMetric: boolean;
|
859
|
+
}
|
860
|
+
declare const EventTrackingResult: {
|
861
|
+
encode(message: EventTrackingResult, writer?: _m0.Writer): _m0.Writer;
|
862
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): EventTrackingResult;
|
863
|
+
fromJSON(object: any): EventTrackingResult;
|
864
|
+
toJSON(message: EventTrackingResult): unknown;
|
865
|
+
create(base?: DeepPartial<EventTrackingResult>): EventTrackingResult;
|
866
|
+
fromPartial(object: DeepPartial<EventTrackingResult>): EventTrackingResult;
|
867
|
+
};
|
868
|
+
interface TimeseriesResult {
|
869
|
+
metadata: RecordMetaData | undefined;
|
870
|
+
type: TimeseriesResult_TimeseriesType;
|
871
|
+
data: RichStruct | undefined;
|
872
|
+
runtimeInfo: RuntimeInfo | undefined;
|
873
|
+
}
|
874
|
+
declare const TimeseriesResult: {
|
875
|
+
encode(message: TimeseriesResult, writer?: _m0.Writer): _m0.Writer;
|
876
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): TimeseriesResult;
|
877
|
+
fromJSON(object: any): TimeseriesResult;
|
878
|
+
toJSON(message: TimeseriesResult): unknown;
|
879
|
+
create(base?: DeepPartial<TimeseriesResult>): TimeseriesResult;
|
880
|
+
fromPartial(object: DeepPartial<TimeseriesResult>): TimeseriesResult;
|
881
|
+
};
|
882
|
+
interface ExportResult {
|
883
|
+
metadata: RecordMetaData | undefined;
|
884
|
+
payload: string;
|
885
|
+
runtimeInfo: RuntimeInfo | undefined;
|
886
|
+
}
|
887
|
+
declare const ExportResult: {
|
888
|
+
encode(message: ExportResult, writer?: _m0.Writer): _m0.Writer;
|
889
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ExportResult;
|
890
|
+
fromJSON(object: any): ExportResult;
|
891
|
+
toJSON(message: ExportResult): unknown;
|
892
|
+
create(base?: DeepPartial<ExportResult>): ExportResult;
|
893
|
+
fromPartial(object: DeepPartial<ExportResult>): ExportResult;
|
894
|
+
};
|
895
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;
|
896
|
+
type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
897
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
898
|
+
} : Partial<T>;
|
899
|
+
|
900
|
+
export { AbstractStoreContext as A, DataBindingContext as D, ExecutionConfig as E, HandlerType as H, type IStoreContext as I, Plugin as P, StoreContext as S, PluginManager as a, type IDataBindingContext as b, DataBinding as c, ProcessResult as d, timeoutError as t };
|