@avaprotocol/sdk-js 1.7.0 → 1.7.1
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/CHANGELOG.md +8 -0
- package/dist/index.d.ts +4 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16219 -740
- package/dist/index.mjs +47 -100
- package/dist/models/trigger/block.d.ts.map +1 -1
- package/dist/models/trigger/block.js +1 -0
- package/dist/models/trigger/cron.d.ts.map +1 -1
- package/dist/models/trigger/cron.js +1 -0
- package/dist/models/trigger/event.d.ts.map +1 -1
- package/dist/models/trigger/event.js +1 -0
- package/dist/models/trigger/fixedTime.d.ts.map +1 -1
- package/dist/models/trigger/fixedTime.js +1 -0
- package/dist/models/trigger/manual.d.ts.map +1 -1
- package/dist/models/trigger/manual.js +1 -0
- package/package.json +2 -2
- package/dist/auth.d.ts +0 -2
- package/dist/auth.d.ts.map +0 -1
- package/dist/auth.js +0 -10
- package/dist/config.d.ts +0 -9
- package/dist/grpc_codegen/custom_types.d.ts +0 -45
- package/dist/grpc_codegen/custom_types.d.ts.map +0 -1
- package/dist/grpc_codegen/custom_types.js +0 -179
- package/dist/models/edge.d.ts +0 -12
- package/dist/models/execution.d.ts +0 -24
- package/dist/models/node/branch.d.ts +0 -15
- package/dist/models/node/contractRead.d.ts +0 -15
- package/dist/models/node/contractWrite.d.ts +0 -15
- package/dist/models/node/customCode.d.ts +0 -15
- package/dist/models/node/ethTransfer.d.ts +0 -15
- package/dist/models/node/factory.d.ts +0 -23
- package/dist/models/node/filter.d.ts +0 -15
- package/dist/models/node/graphqlQuery.d.ts +0 -15
- package/dist/models/node/interface.d.ts +0 -25
- package/dist/models/node/loop.d.ts +0 -14
- package/dist/models/node/restApi.d.ts +0 -15
- package/dist/models/secret.d.ts +0 -16
- package/dist/models/step.d.ts +0 -21
- package/dist/models/trigger/block.d.ts +0 -25
- package/dist/models/trigger/cron.d.ts +0 -26
- package/dist/models/trigger/event.d.ts +0 -25
- package/dist/models/trigger/factory.d.ts +0 -26
- package/dist/models/trigger/fixedTime.d.ts +0 -26
- package/dist/models/trigger/interface.d.ts +0 -25
- package/dist/models/trigger/manual.d.ts +0 -26
- package/dist/models/trigger/reason.d.ts +0 -33
- package/dist/models/trigger/reason.d.ts.map +0 -1
- package/dist/models/trigger/reason.js +0 -96
- package/dist/models/workflow.d.ts +0 -54
- package/dist/utils.d.ts +0 -60
package/dist/index.mjs
CHANGED
|
@@ -13138,8 +13138,6 @@ var require_avs_pb = __commonJS({
|
|
|
13138
13138
|
proto.aggregator.TaskEdge.toObject,
|
|
13139
13139
|
includeInstance
|
|
13140
13140
|
),
|
|
13141
|
-
triggerType: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
13142
|
-
triggerConfigMap: (f = msg.getTriggerConfigMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [],
|
|
13143
13141
|
inputVariablesMap: (f = msg.getInputVariablesMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : []
|
|
13144
13142
|
};
|
|
13145
13143
|
if (includeInstance) {
|
|
@@ -13175,19 +13173,6 @@ var require_avs_pb = __commonJS({
|
|
|
13175
13173
|
reader.readMessage(value, proto.aggregator.TaskEdge.deserializeBinaryFromReader);
|
|
13176
13174
|
msg.addEdges(value);
|
|
13177
13175
|
break;
|
|
13178
|
-
case 4:
|
|
13179
|
-
var value = (
|
|
13180
|
-
/** @type {!proto.aggregator.TriggerType} */
|
|
13181
|
-
reader.readEnum()
|
|
13182
|
-
);
|
|
13183
|
-
msg.setTriggerType(value);
|
|
13184
|
-
break;
|
|
13185
|
-
case 5:
|
|
13186
|
-
var value = msg.getTriggerConfigMap();
|
|
13187
|
-
reader.readMessage(value, function(message, reader2) {
|
|
13188
|
-
jspb.Map.deserializeBinary(message, reader2, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value());
|
|
13189
|
-
});
|
|
13190
|
-
break;
|
|
13191
13176
|
case 6:
|
|
13192
13177
|
var value = msg.getInputVariablesMap();
|
|
13193
13178
|
reader.readMessage(value, function(message, reader2) {
|
|
@@ -13232,17 +13217,6 @@ var require_avs_pb = __commonJS({
|
|
|
13232
13217
|
proto.aggregator.TaskEdge.serializeBinaryToWriter
|
|
13233
13218
|
);
|
|
13234
13219
|
}
|
|
13235
|
-
f = message.getTriggerType();
|
|
13236
|
-
if (f !== 0) {
|
|
13237
|
-
writer.writeEnum(
|
|
13238
|
-
4,
|
|
13239
|
-
f
|
|
13240
|
-
);
|
|
13241
|
-
}
|
|
13242
|
-
f = message.getTriggerConfigMap(true);
|
|
13243
|
-
if (f && f.getLength() > 0) {
|
|
13244
|
-
f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter);
|
|
13245
|
-
}
|
|
13246
13220
|
f = message.getInputVariablesMap(true);
|
|
13247
13221
|
if (f && f.getLength() > 0) {
|
|
13248
13222
|
f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter);
|
|
@@ -13293,30 +13267,6 @@ var require_avs_pb = __commonJS({
|
|
|
13293
13267
|
proto.aggregator.SimulateTaskReq.prototype.clearEdgesList = function() {
|
|
13294
13268
|
return this.setEdgesList([]);
|
|
13295
13269
|
};
|
|
13296
|
-
proto.aggregator.SimulateTaskReq.prototype.getTriggerType = function() {
|
|
13297
|
-
return (
|
|
13298
|
-
/** @type {!proto.aggregator.TriggerType} */
|
|
13299
|
-
jspb.Message.getFieldWithDefault(this, 4, 0)
|
|
13300
|
-
);
|
|
13301
|
-
};
|
|
13302
|
-
proto.aggregator.SimulateTaskReq.prototype.setTriggerType = function(value) {
|
|
13303
|
-
return jspb.Message.setProto3EnumField(this, 4, value);
|
|
13304
|
-
};
|
|
13305
|
-
proto.aggregator.SimulateTaskReq.prototype.getTriggerConfigMap = function(opt_noLazyCreate) {
|
|
13306
|
-
return (
|
|
13307
|
-
/** @type {!jspb.Map<string,!proto.google.protobuf.Value>} */
|
|
13308
|
-
jspb.Message.getMapField(
|
|
13309
|
-
this,
|
|
13310
|
-
5,
|
|
13311
|
-
opt_noLazyCreate,
|
|
13312
|
-
proto.google.protobuf.Value
|
|
13313
|
-
)
|
|
13314
|
-
);
|
|
13315
|
-
};
|
|
13316
|
-
proto.aggregator.SimulateTaskReq.prototype.clearTriggerConfigMap = function() {
|
|
13317
|
-
this.getTriggerConfigMap().clear();
|
|
13318
|
-
return this;
|
|
13319
|
-
};
|
|
13320
13270
|
proto.aggregator.SimulateTaskReq.prototype.getInputVariablesMap = function(opt_noLazyCreate) {
|
|
13321
13271
|
return (
|
|
13322
13272
|
/** @type {!jspb.Map<string,!proto.google.protobuf.Value>} */
|
|
@@ -14119,15 +14069,16 @@ var Trigger = class {
|
|
|
14119
14069
|
var interface_default = Trigger;
|
|
14120
14070
|
|
|
14121
14071
|
// src/models/trigger/block.ts
|
|
14122
|
-
import { TriggerType } from "@avaprotocol/types";
|
|
14072
|
+
import { TriggerType as TriggerType2 } from "@avaprotocol/types";
|
|
14123
14073
|
var BlockTrigger2 = class _BlockTrigger extends interface_default {
|
|
14124
14074
|
constructor(props) {
|
|
14125
|
-
super({ ...props, type:
|
|
14075
|
+
super({ ...props, type: TriggerType2.Block, data: props.data });
|
|
14126
14076
|
}
|
|
14127
14077
|
toRequest() {
|
|
14128
14078
|
const request = new avs_pb2.TaskTrigger();
|
|
14129
14079
|
request.setName(this.name);
|
|
14130
14080
|
request.setId(this.id);
|
|
14081
|
+
request.setType(avs_pb2.TriggerType.TRIGGER_TYPE_BLOCK);
|
|
14131
14082
|
if (!this.data) {
|
|
14132
14083
|
throw new Error(`Trigger data is missing for ${this.type}`);
|
|
14133
14084
|
}
|
|
@@ -14151,7 +14102,7 @@ var BlockTrigger2 = class _BlockTrigger extends interface_default {
|
|
|
14151
14102
|
}
|
|
14152
14103
|
return new _BlockTrigger({
|
|
14153
14104
|
...obj,
|
|
14154
|
-
type:
|
|
14105
|
+
type: TriggerType2.Block,
|
|
14155
14106
|
data
|
|
14156
14107
|
});
|
|
14157
14108
|
}
|
|
@@ -14177,15 +14128,16 @@ var block_default = BlockTrigger2;
|
|
|
14177
14128
|
|
|
14178
14129
|
// src/models/trigger/cron.ts
|
|
14179
14130
|
var avs_pb3 = __toESM(require_avs_pb());
|
|
14180
|
-
import { TriggerType as
|
|
14131
|
+
import { TriggerType as TriggerType4 } from "@avaprotocol/types";
|
|
14181
14132
|
var CronTrigger2 = class _CronTrigger extends interface_default {
|
|
14182
14133
|
constructor(props) {
|
|
14183
|
-
super({ ...props, type:
|
|
14134
|
+
super({ ...props, type: TriggerType4.Cron, data: props.data });
|
|
14184
14135
|
}
|
|
14185
14136
|
toRequest() {
|
|
14186
14137
|
const request = new avs_pb3.TaskTrigger();
|
|
14187
14138
|
request.setName(this.name);
|
|
14188
14139
|
request.setId(this.id);
|
|
14140
|
+
request.setType(avs_pb3.TriggerType.TRIGGER_TYPE_CRON);
|
|
14189
14141
|
if (!this.data) {
|
|
14190
14142
|
throw new Error(`Trigger data is missing for ${this.type}`);
|
|
14191
14143
|
}
|
|
@@ -14209,7 +14161,7 @@ var CronTrigger2 = class _CronTrigger extends interface_default {
|
|
|
14209
14161
|
}
|
|
14210
14162
|
return new _CronTrigger({
|
|
14211
14163
|
...obj,
|
|
14212
|
-
type:
|
|
14164
|
+
type: TriggerType4.Cron,
|
|
14213
14165
|
data
|
|
14214
14166
|
});
|
|
14215
14167
|
}
|
|
@@ -14242,15 +14194,16 @@ var cron_default = CronTrigger2;
|
|
|
14242
14194
|
// src/models/trigger/event.ts
|
|
14243
14195
|
var avs_pb4 = __toESM(require_avs_pb());
|
|
14244
14196
|
import * as _ from "lodash";
|
|
14245
|
-
import { TriggerType as
|
|
14197
|
+
import { TriggerType as TriggerType6 } from "@avaprotocol/types";
|
|
14246
14198
|
var EventTrigger2 = class _EventTrigger extends interface_default {
|
|
14247
14199
|
constructor(props) {
|
|
14248
|
-
super({ ...props, type:
|
|
14200
|
+
super({ ...props, type: TriggerType6.Event, data: props.data });
|
|
14249
14201
|
}
|
|
14250
14202
|
toRequest() {
|
|
14251
14203
|
const request = new avs_pb4.TaskTrigger();
|
|
14252
14204
|
request.setName(this.name);
|
|
14253
14205
|
request.setId(this.id);
|
|
14206
|
+
request.setType(avs_pb4.TriggerType.TRIGGER_TYPE_EVENT);
|
|
14254
14207
|
if (!this.data) {
|
|
14255
14208
|
throw new Error(`Trigger data is missing for ${this.type}`);
|
|
14256
14209
|
}
|
|
@@ -14298,7 +14251,7 @@ var EventTrigger2 = class _EventTrigger extends interface_default {
|
|
|
14298
14251
|
}
|
|
14299
14252
|
return new _EventTrigger({
|
|
14300
14253
|
...obj,
|
|
14301
|
-
type:
|
|
14254
|
+
type: TriggerType6.Event,
|
|
14302
14255
|
data
|
|
14303
14256
|
});
|
|
14304
14257
|
}
|
|
@@ -14324,15 +14277,16 @@ var event_default = EventTrigger2;
|
|
|
14324
14277
|
|
|
14325
14278
|
// src/models/trigger/fixedTime.ts
|
|
14326
14279
|
var avs_pb5 = __toESM(require_avs_pb());
|
|
14327
|
-
import { TriggerType as
|
|
14280
|
+
import { TriggerType as TriggerType8 } from "@avaprotocol/types";
|
|
14328
14281
|
var FixedTimeTrigger2 = class _FixedTimeTrigger extends interface_default {
|
|
14329
14282
|
constructor(props) {
|
|
14330
|
-
super({ ...props, type:
|
|
14283
|
+
super({ ...props, type: TriggerType8.FixedTime, data: props.data });
|
|
14331
14284
|
}
|
|
14332
14285
|
toRequest() {
|
|
14333
14286
|
const request = new avs_pb5.TaskTrigger();
|
|
14334
14287
|
request.setName(this.name);
|
|
14335
14288
|
request.setId(this.id);
|
|
14289
|
+
request.setType(avs_pb5.TriggerType.TRIGGER_TYPE_FIXED_TIME);
|
|
14336
14290
|
if (!this.data) {
|
|
14337
14291
|
throw new Error(`Trigger data is missing for ${this.type}`);
|
|
14338
14292
|
}
|
|
@@ -14356,7 +14310,7 @@ var FixedTimeTrigger2 = class _FixedTimeTrigger extends interface_default {
|
|
|
14356
14310
|
}
|
|
14357
14311
|
return new _FixedTimeTrigger({
|
|
14358
14312
|
...obj,
|
|
14359
|
-
type:
|
|
14313
|
+
type: TriggerType8.FixedTime,
|
|
14360
14314
|
data
|
|
14361
14315
|
});
|
|
14362
14316
|
}
|
|
@@ -14388,15 +14342,16 @@ var fixedTime_default = FixedTimeTrigger2;
|
|
|
14388
14342
|
|
|
14389
14343
|
// src/models/trigger/manual.ts
|
|
14390
14344
|
var avs_pb6 = __toESM(require_avs_pb());
|
|
14391
|
-
import { TriggerType as
|
|
14345
|
+
import { TriggerType as TriggerType10 } from "@avaprotocol/types";
|
|
14392
14346
|
var ManualTrigger = class _ManualTrigger extends interface_default {
|
|
14393
14347
|
constructor(props) {
|
|
14394
|
-
super({ ...props, type:
|
|
14348
|
+
super({ ...props, type: TriggerType10.Manual, data: props.data || null });
|
|
14395
14349
|
}
|
|
14396
14350
|
toRequest() {
|
|
14397
14351
|
const trigger = new avs_pb6.TaskTrigger();
|
|
14398
14352
|
trigger.setId(this.id);
|
|
14399
14353
|
trigger.setName(this.name);
|
|
14354
|
+
trigger.setType(avs_pb6.TriggerType.TRIGGER_TYPE_MANUAL);
|
|
14400
14355
|
trigger.setManual(true);
|
|
14401
14356
|
return trigger;
|
|
14402
14357
|
}
|
|
@@ -14404,7 +14359,7 @@ var ManualTrigger = class _ManualTrigger extends interface_default {
|
|
|
14404
14359
|
const obj = raw.toObject();
|
|
14405
14360
|
return new _ManualTrigger({
|
|
14406
14361
|
...obj,
|
|
14407
|
-
type:
|
|
14362
|
+
type: TriggerType10.Manual,
|
|
14408
14363
|
data: null
|
|
14409
14364
|
// Manual triggers don't have data in the protobuf response
|
|
14410
14365
|
});
|
|
@@ -14433,7 +14388,7 @@ var ManualTrigger = class _ManualTrigger extends interface_default {
|
|
|
14433
14388
|
var manual_default = ManualTrigger;
|
|
14434
14389
|
|
|
14435
14390
|
// src/models/trigger/factory.ts
|
|
14436
|
-
import { TriggerType as
|
|
14391
|
+
import { TriggerType as TriggerType12 } from "@avaprotocol/types";
|
|
14437
14392
|
|
|
14438
14393
|
// src/utils.ts
|
|
14439
14394
|
import {
|
|
@@ -14441,7 +14396,7 @@ import {
|
|
|
14441
14396
|
Struct as ProtobufStruct,
|
|
14442
14397
|
ListValue as ProtobufListValue
|
|
14443
14398
|
} from "google-protobuf/google/protobuf/struct_pb";
|
|
14444
|
-
import { TriggerType as
|
|
14399
|
+
import { TriggerType as TriggerType11, NodeType } from "@avaprotocol/types";
|
|
14445
14400
|
function convertProtobufValueToJs(value) {
|
|
14446
14401
|
if (!value) {
|
|
14447
14402
|
return void 0;
|
|
@@ -14505,22 +14460,22 @@ function convertJSValueToProtobuf(value) {
|
|
|
14505
14460
|
function convertProtobufTriggerTypeToSdk(protobufType) {
|
|
14506
14461
|
switch (protobufType) {
|
|
14507
14462
|
case "TRIGGER_TYPE_MANUAL":
|
|
14508
|
-
return
|
|
14463
|
+
return TriggerType11.Manual;
|
|
14509
14464
|
// "manualTrigger"
|
|
14510
14465
|
case "TRIGGER_TYPE_FIXED_TIME":
|
|
14511
|
-
return
|
|
14466
|
+
return TriggerType11.FixedTime;
|
|
14512
14467
|
// "fixedTimeTrigger"
|
|
14513
14468
|
case "TRIGGER_TYPE_CRON":
|
|
14514
|
-
return
|
|
14469
|
+
return TriggerType11.Cron;
|
|
14515
14470
|
// "cronTrigger"
|
|
14516
14471
|
case "TRIGGER_TYPE_BLOCK":
|
|
14517
|
-
return
|
|
14472
|
+
return TriggerType11.Block;
|
|
14518
14473
|
// "blockTrigger"
|
|
14519
14474
|
case "TRIGGER_TYPE_EVENT":
|
|
14520
|
-
return
|
|
14475
|
+
return TriggerType11.Event;
|
|
14521
14476
|
// "eventTrigger"
|
|
14522
14477
|
case "TRIGGER_TYPE_UNSPECIFIED":
|
|
14523
|
-
return
|
|
14478
|
+
return TriggerType11.Unspecified;
|
|
14524
14479
|
// "unspecified"
|
|
14525
14480
|
default:
|
|
14526
14481
|
console.warn(`Unknown trigger type: ${protobufType}, using raw value`);
|
|
@@ -14584,15 +14539,15 @@ var TriggerFactory = class {
|
|
|
14584
14539
|
*/
|
|
14585
14540
|
static create(props) {
|
|
14586
14541
|
switch (props.type) {
|
|
14587
|
-
case
|
|
14542
|
+
case TriggerType12.Block:
|
|
14588
14543
|
return new block_default(props);
|
|
14589
|
-
case
|
|
14544
|
+
case TriggerType12.Cron:
|
|
14590
14545
|
return new cron_default(props);
|
|
14591
|
-
case
|
|
14546
|
+
case TriggerType12.Event:
|
|
14592
14547
|
return new event_default(props);
|
|
14593
|
-
case
|
|
14548
|
+
case TriggerType12.FixedTime:
|
|
14594
14549
|
return new fixedTime_default(props);
|
|
14595
|
-
case
|
|
14550
|
+
case TriggerType12.Manual:
|
|
14596
14551
|
return new manual_default(props);
|
|
14597
14552
|
}
|
|
14598
14553
|
throw new Error("Unsupported trigger type");
|
|
@@ -15505,7 +15460,7 @@ var secret_default = Secret;
|
|
|
15505
15460
|
|
|
15506
15461
|
// src/index.ts
|
|
15507
15462
|
import {
|
|
15508
|
-
TriggerType as
|
|
15463
|
+
TriggerType as TriggerType13,
|
|
15509
15464
|
NodeTypeGoConverter as NodeTypeGoConverter2,
|
|
15510
15465
|
TriggerTypeGoConverter,
|
|
15511
15466
|
TriggerTypeConverter
|
|
@@ -15895,21 +15850,21 @@ var Client = class extends BaseClient {
|
|
|
15895
15850
|
request.setTriggerType(TriggerTypeConverter.toProtobuf(triggerData.type));
|
|
15896
15851
|
request.setIsBlocking(isBlocking);
|
|
15897
15852
|
switch (triggerData.type) {
|
|
15898
|
-
case
|
|
15853
|
+
case TriggerType13.FixedTime: {
|
|
15899
15854
|
const fixedTimeOutput = new avs_pb22.FixedTimeTrigger.Output();
|
|
15900
15855
|
fixedTimeOutput.setTimestamp(triggerData.timestamp);
|
|
15901
15856
|
fixedTimeOutput.setTimestampIso(triggerData.timestampIso);
|
|
15902
15857
|
request.setFixedTimeTrigger(fixedTimeOutput);
|
|
15903
15858
|
break;
|
|
15904
15859
|
}
|
|
15905
|
-
case
|
|
15860
|
+
case TriggerType13.Cron: {
|
|
15906
15861
|
const cronOutput = new avs_pb22.CronTrigger.Output();
|
|
15907
15862
|
cronOutput.setTimestamp(triggerData.timestamp);
|
|
15908
15863
|
cronOutput.setTimestampIso(triggerData.timestampIso);
|
|
15909
15864
|
request.setCronTrigger(cronOutput);
|
|
15910
15865
|
break;
|
|
15911
15866
|
}
|
|
15912
|
-
case
|
|
15867
|
+
case TriggerType13.Block: {
|
|
15913
15868
|
const blockData = triggerData;
|
|
15914
15869
|
const blockOutput = new avs_pb22.BlockTrigger.Output();
|
|
15915
15870
|
blockOutput.setBlockNumber(blockData.blockNumber);
|
|
@@ -15922,7 +15877,7 @@ var Client = class extends BaseClient {
|
|
|
15922
15877
|
request.setBlockTrigger(blockOutput);
|
|
15923
15878
|
break;
|
|
15924
15879
|
}
|
|
15925
|
-
case
|
|
15880
|
+
case TriggerType13.Event: {
|
|
15926
15881
|
const eventData = triggerData;
|
|
15927
15882
|
const eventOutput = new avs_pb22.EventTrigger.Output();
|
|
15928
15883
|
if (eventData.evmLog) {
|
|
@@ -15953,14 +15908,14 @@ var Client = class extends BaseClient {
|
|
|
15953
15908
|
request.setEventTrigger(eventOutput);
|
|
15954
15909
|
break;
|
|
15955
15910
|
}
|
|
15956
|
-
case
|
|
15911
|
+
case TriggerType13.Manual: {
|
|
15957
15912
|
const manualData = triggerData;
|
|
15958
15913
|
const manualOutput = new avs_pb22.ManualTrigger.Output();
|
|
15959
15914
|
if (manualData.runAt) manualOutput.setRunAt(manualData.runAt);
|
|
15960
15915
|
request.setManualTrigger(manualOutput);
|
|
15961
15916
|
break;
|
|
15962
15917
|
}
|
|
15963
|
-
case
|
|
15918
|
+
case TriggerType13.Unspecified:
|
|
15964
15919
|
break;
|
|
15965
15920
|
default:
|
|
15966
15921
|
throw new Error(`Unsupported trigger type: ${triggerData.type}`);
|
|
@@ -16138,11 +16093,11 @@ var Client = class extends BaseClient {
|
|
|
16138
16093
|
*/
|
|
16139
16094
|
async runNodeWithInputs({ nodeType, nodeConfig, inputVariables = {} }, options) {
|
|
16140
16095
|
const triggerTypes = [
|
|
16141
|
-
|
|
16142
|
-
|
|
16143
|
-
|
|
16144
|
-
|
|
16145
|
-
|
|
16096
|
+
TriggerType13.Block,
|
|
16097
|
+
TriggerType13.FixedTime,
|
|
16098
|
+
TriggerType13.Cron,
|
|
16099
|
+
TriggerType13.Event,
|
|
16100
|
+
TriggerType13.Manual
|
|
16146
16101
|
];
|
|
16147
16102
|
if (triggerTypes.includes(nodeType)) {
|
|
16148
16103
|
return {
|
|
@@ -16198,17 +16153,15 @@ var Client = class extends BaseClient {
|
|
|
16198
16153
|
}
|
|
16199
16154
|
/**
|
|
16200
16155
|
* Simulate a complete task execution including trigger and all workflow nodes
|
|
16201
|
-
* @param {
|
|
16156
|
+
* @param {SimulateWorkflowRequest} params - The parameters for simulating the task
|
|
16202
16157
|
* @param {Record<string, any>} params.trigger - The trigger configuration
|
|
16203
16158
|
* @param {Array<Record<string, any>>} params.nodes - The workflow nodes
|
|
16204
16159
|
* @param {Array<Record<string, any>>} params.edges - The workflow edges
|
|
16205
|
-
* @param {string} params.triggerType - The type of the trigger
|
|
16206
|
-
* @param {Record<string, any>} params.triggerConfig - The trigger configuration
|
|
16207
16160
|
* @param {Record<string, any>} params.inputVariables - Input variables for the simulation
|
|
16208
16161
|
* @param {RequestOptions} options - Request options
|
|
16209
16162
|
* @returns {Promise<Execution>} - The response from simulating the task
|
|
16210
16163
|
*/
|
|
16211
|
-
async
|
|
16164
|
+
async simulateWorkflow({ trigger, nodes, edges, inputVariables = {} }, options) {
|
|
16212
16165
|
const request = new avs_pb22.SimulateTaskReq();
|
|
16213
16166
|
const triggerSdk = factory_default.create(trigger);
|
|
16214
16167
|
request.setTrigger(triggerSdk.toRequest());
|
|
@@ -16222,12 +16175,6 @@ var Client = class extends BaseClient {
|
|
|
16222
16175
|
return edgeSdk.toRequest();
|
|
16223
16176
|
});
|
|
16224
16177
|
request.setEdgesList(edgeMessages);
|
|
16225
|
-
const protobufTriggerType = TriggerTypeGoConverter.fromGoString(triggerType);
|
|
16226
|
-
request.setTriggerType(protobufTriggerType);
|
|
16227
|
-
const triggerConfigMap = request.getTriggerConfigMap();
|
|
16228
|
-
for (const [key, value] of Object.entries(triggerConfig)) {
|
|
16229
|
-
triggerConfigMap.set(key, convertJSValueToProtobuf(value));
|
|
16230
|
-
}
|
|
16231
16178
|
const inputVarsMap = request.getInputVariablesMap();
|
|
16232
16179
|
for (const [key, value] of Object.entries(inputVariables)) {
|
|
16233
16180
|
inputVarsMap.set(key, convertJSValueToProtobuf(value));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"block.d.ts","sourceRoot":"","sources":["../../../src/models/trigger/block.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAChD,OAAO,OAAO,EAAE,EAAiB,YAAY,EAAE,MAAM,aAAa,CAAC;AACnE,OAAO,EAAe,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAG3F,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAAG;IAAE,IAAI,EAAE,oBAAoB,CAAA;CAAE,CAAC;AAE9E,cAAM,YAAa,SAAQ,OAAO;gBACpB,KAAK,EAAE,iBAAiB;IAIpC,SAAS,IAAI,MAAM,CAAC,WAAW;
|
|
1
|
+
{"version":3,"file":"block.d.ts","sourceRoot":"","sources":["../../../src/models/trigger/block.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAChD,OAAO,OAAO,EAAE,EAAiB,YAAY,EAAE,MAAM,aAAa,CAAC;AACnE,OAAO,EAAe,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAG3F,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAAG;IAAE,IAAI,EAAE,oBAAoB,CAAA;CAAE,CAAC;AAE9E,cAAM,YAAa,SAAQ,OAAO;gBACpB,KAAK,EAAE,iBAAiB;IAIpC,SAAS,IAAI,MAAM,CAAC,WAAW;IAoB/B,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE,MAAM,CAAC,WAAW,GAAG,YAAY;IAuB1D;;;;OAIG;IACH,SAAS,IAAI,kBAAkB,GAAG,SAAS;IAI3C;;;;OAIG;IACH,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,CAAC,cAAc,GAAG,GAAG;CAI9D;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -9,6 +9,7 @@ class BlockTrigger extends Trigger {
|
|
|
9
9
|
const request = new avs_pb.TaskTrigger();
|
|
10
10
|
request.setName(this.name);
|
|
11
11
|
request.setId(this.id);
|
|
12
|
+
request.setType(avs_pb.TriggerType.TRIGGER_TYPE_BLOCK);
|
|
12
13
|
if (!this.data) {
|
|
13
14
|
throw new Error(`Trigger data is missing for ${this.type}`);
|
|
14
15
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cron.d.ts","sourceRoot":"","sources":["../../../src/models/trigger/cron.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAChD,OAAO,OAAO,EAAE,EAAiB,YAAY,EAAE,MAAM,aAAa,CAAC;AACnE,OAAO,EAAe,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAGzF,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG;IAAE,IAAI,EAAE,mBAAmB,CAAA;CAAE,CAAC;AAE5E,cAAM,WAAY,SAAQ,OAAO;gBACnB,KAAK,EAAE,gBAAgB;IAInC,SAAS,IAAI,MAAM,CAAC,WAAW;
|
|
1
|
+
{"version":3,"file":"cron.d.ts","sourceRoot":"","sources":["../../../src/models/trigger/cron.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAChD,OAAO,OAAO,EAAE,EAAiB,YAAY,EAAE,MAAM,aAAa,CAAC;AACnE,OAAO,EAAe,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAGzF,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG;IAAE,IAAI,EAAE,mBAAmB,CAAA;CAAE,CAAC;AAE5E,cAAM,WAAY,SAAQ,OAAO;gBACnB,KAAK,EAAE,gBAAgB;IAInC,SAAS,IAAI,MAAM,CAAC,WAAW;IAoB/B,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE,MAAM,CAAC,WAAW,GAAG,WAAW;IAuBzD;;;;OAIG;IACH,SAAS,IAAI,iBAAiB,GAAG,SAAS;IAI1C;;;;;OAKG;IACH,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,CAAC,cAAc,GAAG,GAAG;CAW9D;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -9,6 +9,7 @@ class CronTrigger extends Trigger {
|
|
|
9
9
|
const request = new avs_pb.TaskTrigger();
|
|
10
10
|
request.setName(this.name);
|
|
11
11
|
request.setId(this.id);
|
|
12
|
+
request.setType(avs_pb.TriggerType.TRIGGER_TYPE_CRON);
|
|
12
13
|
if (!this.data) {
|
|
13
14
|
throw new Error(`Trigger data is missing for ${this.type}`);
|
|
14
15
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../../src/models/trigger/event.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAChD,OAAO,OAAO,EAAE,EAAiB,YAAY,EAAE,MAAM,aAAa,CAAC;AACnE,OAAO,EAAe,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAsB3F,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAAG;IAAE,IAAI,EAAE,oBAAoB,CAAA;CAAE,CAAC;AAE9E,cAAM,YAAa,SAAQ,OAAO;gBACpB,KAAK,EAAE,iBAAiB;IAIpC,SAAS,IAAI,MAAM,CAAC,WAAW;
|
|
1
|
+
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../../src/models/trigger/event.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAChD,OAAO,OAAO,EAAE,EAAiB,YAAY,EAAE,MAAM,aAAa,CAAC;AACnE,OAAO,EAAe,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAsB3F,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAAG;IAAE,IAAI,EAAE,oBAAoB,CAAA;CAAE,CAAC;AAE9E,cAAM,YAAa,SAAQ,OAAO;gBACpB,KAAK,EAAE,iBAAiB;IAIpC,SAAS,IAAI,MAAM,CAAC,WAAW;IAyC/B,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE,MAAM,CAAC,WAAW,GAAG,YAAY;IAiC1D;;;;OAIG;IACH,SAAS,IAAI,kBAAkB,GAAG,SAAS;IAI3C;;;;OAIG;IACH,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,CAAC,cAAc,GAAG,GAAG;CAI9D;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -10,6 +10,7 @@ class EventTrigger extends Trigger {
|
|
|
10
10
|
const request = new avs_pb.TaskTrigger();
|
|
11
11
|
request.setName(this.name);
|
|
12
12
|
request.setId(this.id);
|
|
13
|
+
request.setType(avs_pb.TriggerType.TRIGGER_TYPE_EVENT);
|
|
13
14
|
if (!this.data) {
|
|
14
15
|
throw new Error(`Trigger data is missing for ${this.type}`);
|
|
15
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fixedTime.d.ts","sourceRoot":"","sources":["../../../src/models/trigger/fixedTime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAChD,OAAO,OAAO,EAAE,EAAiB,YAAY,EAAE,MAAM,aAAa,CAAC;AACnE,OAAO,EAAe,wBAAwB,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAGnG,MAAM,MAAM,qBAAqB,GAAG,YAAY,GAAG;IACjD,IAAI,EAAE,wBAAwB,CAAC;CAChC,CAAC;AAEF,cAAM,gBAAiB,SAAQ,OAAO;gBACxB,KAAK,EAAE,qBAAqB;IAIxC,SAAS,IAAI,MAAM,CAAC,WAAW;
|
|
1
|
+
{"version":3,"file":"fixedTime.d.ts","sourceRoot":"","sources":["../../../src/models/trigger/fixedTime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAChD,OAAO,OAAO,EAAE,EAAiB,YAAY,EAAE,MAAM,aAAa,CAAC;AACnE,OAAO,EAAe,wBAAwB,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAGnG,MAAM,MAAM,qBAAqB,GAAG,YAAY,GAAG;IACjD,IAAI,EAAE,wBAAwB,CAAC;CAChC,CAAC;AAEF,cAAM,gBAAiB,SAAQ,OAAO;gBACxB,KAAK,EAAE,qBAAqB;IAIxC,SAAS,IAAI,MAAM,CAAC,WAAW;IAoB/B,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE,MAAM,CAAC,WAAW,GAAG,gBAAgB;IAuB9D;;;;OAIG;IACH,SAAS,IAAI,sBAAsB,GAAG,SAAS;IAI/C;;;;;OAKG;IACH,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,CAAC,cAAc,GAAG,GAAG;CAW9D;AAED,eAAe,gBAAgB,CAAC"}
|
|
@@ -9,6 +9,7 @@ class FixedTimeTrigger extends Trigger {
|
|
|
9
9
|
const request = new avs_pb.TaskTrigger();
|
|
10
10
|
request.setName(this.name);
|
|
11
11
|
request.setId(this.id);
|
|
12
|
+
request.setType(avs_pb.TriggerType.TRIGGER_TYPE_FIXED_TIME);
|
|
12
13
|
if (!this.data) {
|
|
13
14
|
throw new Error(`Trigger data is missing for ${this.type}`);
|
|
14
15
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manual.d.ts","sourceRoot":"","sources":["../../../src/models/trigger/manual.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAChD,OAAO,OAAO,EAAE,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EAAe,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEtE,MAAM,MAAM,kBAAkB,GAAG,YAAY,GAAG;IAC9C,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;CAClC,CAAC;AAEF,cAAM,aAAc,SAAQ,OAAO;gBACrB,KAAK,EAAE,kBAAkB;IAIrC,SAAS,IAAI,MAAM,CAAC,WAAW;
|
|
1
|
+
{"version":3,"file":"manual.d.ts","sourceRoot":"","sources":["../../../src/models/trigger/manual.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAChD,OAAO,OAAO,EAAE,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EAAe,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEtE,MAAM,MAAM,kBAAkB,GAAG,YAAY,GAAG;IAC9C,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;CAClC,CAAC;AAEF,cAAM,aAAc,SAAQ,OAAO;gBACrB,KAAK,EAAE,kBAAkB;IAIrC,SAAS,IAAI,MAAM,CAAC,WAAW;IAW/B,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE,MAAM,CAAC,WAAW,GAAG,aAAa;IAU3D,iBAAiB,IAAI,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI;IAI/C;;;;OAIG;IACH,SAAS,IAAI,mBAAmB,GAAG,SAAS;IAI5C;;;;OAIG;IACH,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,CAAC,cAAc,GAAG,GAAG;CAI9D;AAED,eAAe,aAAa,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@avaprotocol/sdk-js",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.1",
|
|
4
4
|
"description": "A JavaScript/TypeScript SDK designed to simplify integration with Ava Protocol's AVS",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"clean": "rm -rf node_modules dist tsconfig.tsbuildinfo"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@avaprotocol/types": "1.1.
|
|
33
|
+
"@avaprotocol/types": "1.1.1",
|
|
34
34
|
"@grpc/grpc-js": "^1.11.3",
|
|
35
35
|
"@grpc/proto-loader": "^0.7.13",
|
|
36
36
|
"dotenv": "^16.4.5",
|
package/dist/auth.d.ts
DELETED
package/dist/auth.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../src/auth.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,GAAI,SAAS,MAAM,EAAE,SAAS,MAAM,EAAE,UAAU,IAAI,EAAE,WAAW,IAAI,KAAG,MAUxG,CAAA"}
|
package/dist/auth.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export const getKeyRequestMessage = (chainId, address, issuedAt, expiredAt) => {
|
|
2
|
-
return `Please sign the below text for ownership verification.
|
|
3
|
-
|
|
4
|
-
URI: https://app.avaprotocol.org
|
|
5
|
-
Chain ID: ${chainId}
|
|
6
|
-
Version: 1
|
|
7
|
-
Issued At: ${issuedAt.toISOString()}
|
|
8
|
-
Expire At: ${expiredAt.toISOString()}
|
|
9
|
-
Wallet: ${address}`;
|
|
10
|
-
};
|
package/dist/config.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Environment } from "@avaprotocol/types";
|
|
2
|
-
export declare const DEFAULT_JWT_EXPIRATION: number;
|
|
3
|
-
interface Config {
|
|
4
|
-
AVS_RPC_URL: string;
|
|
5
|
-
}
|
|
6
|
-
declare const configs: Record<Environment, Config>;
|
|
7
|
-
export declare function getRpcEndpoint(env: Environment): string;
|
|
8
|
-
export { configs };
|
|
9
|
-
//# sourceMappingURL=config.d.ts.map
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import * as jspb from "google-protobuf";
|
|
2
|
-
import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
|
|
3
|
-
/**
|
|
4
|
-
* Custom implementation of RunNodeWithInputsReq class
|
|
5
|
-
* This is needed because the class is not generated from the proto file
|
|
6
|
-
*/
|
|
7
|
-
export declare class RunNodeWithInputsReq extends jspb.Message {
|
|
8
|
-
private nodeType_;
|
|
9
|
-
private nodeConfig_;
|
|
10
|
-
private inputVariables_;
|
|
11
|
-
constructor();
|
|
12
|
-
getNodeType(): string;
|
|
13
|
-
setNodeType(value: string): RunNodeWithInputsReq;
|
|
14
|
-
getNodeConfig(): google_protobuf_struct_pb.Struct | undefined;
|
|
15
|
-
setNodeConfig(value: google_protobuf_struct_pb.Struct | undefined): RunNodeWithInputsReq;
|
|
16
|
-
getInputVariables(): google_protobuf_struct_pb.Struct | undefined;
|
|
17
|
-
setInputVariables(value: google_protobuf_struct_pb.Struct | undefined): RunNodeWithInputsReq;
|
|
18
|
-
serializeBinary(): Uint8Array;
|
|
19
|
-
serializeBinaryToWriter(writer: jspb.BinaryWriter): void;
|
|
20
|
-
toObject(includeInstance?: boolean): object;
|
|
21
|
-
static deserializeBinary(bytes: Uint8Array): RunNodeWithInputsReq;
|
|
22
|
-
static deserializeBinaryFromReader(message: RunNodeWithInputsReq, reader: jspb.BinaryReader): RunNodeWithInputsReq;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Custom implementation of RunNodeWithInputsResp class
|
|
26
|
-
* This is needed because the class is not generated from the proto file
|
|
27
|
-
*/
|
|
28
|
-
export declare class RunNodeWithInputsResp extends jspb.Message {
|
|
29
|
-
private success_;
|
|
30
|
-
private error_;
|
|
31
|
-
private result_;
|
|
32
|
-
constructor();
|
|
33
|
-
getSuccess(): boolean;
|
|
34
|
-
setSuccess(value: boolean): RunNodeWithInputsResp;
|
|
35
|
-
getError(): string;
|
|
36
|
-
setError(value: string): RunNodeWithInputsResp;
|
|
37
|
-
getResult(): google_protobuf_struct_pb.Struct | undefined;
|
|
38
|
-
setResult(value: google_protobuf_struct_pb.Struct | undefined): RunNodeWithInputsResp;
|
|
39
|
-
serializeBinary(): Uint8Array;
|
|
40
|
-
serializeBinaryToWriter(writer: jspb.BinaryWriter): void;
|
|
41
|
-
toObject(includeInstance?: boolean): object;
|
|
42
|
-
static deserializeBinary(bytes: Uint8Array): RunNodeWithInputsResp;
|
|
43
|
-
static deserializeBinaryFromReader(message: RunNodeWithInputsResp, reader: jspb.BinaryReader): RunNodeWithInputsResp;
|
|
44
|
-
}
|
|
45
|
-
//# sourceMappingURL=custom_types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"custom_types.d.ts","sourceRoot":"","sources":["../../src/grpc_codegen/custom_types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,KAAK,yBAAyB,MAAM,2CAA2C,CAAC;AAEvF;;;GAGG;AACH,qBAAa,oBAAqB,SAAQ,IAAI,CAAC,OAAO;IACpD,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,WAAW,CAA+C;IAClE,OAAO,CAAC,eAAe,CAA+C;;IAStE,WAAW,IAAI,MAAM;IAIrB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,oBAAoB;IAKhD,aAAa,IAAI,yBAAyB,CAAC,MAAM,GAAG,SAAS;IAI7D,aAAa,CAAC,KAAK,EAAE,yBAAyB,CAAC,MAAM,GAAG,SAAS,GAAG,oBAAoB;IAKxF,iBAAiB,IAAI,yBAAyB,CAAC,MAAM,GAAG,SAAS;IAIjE,iBAAiB,CAAC,KAAK,EAAE,yBAAyB,CAAC,MAAM,GAAG,SAAS,GAAG,oBAAoB;IAK5F,eAAe,IAAI,UAAU;IAM7B,uBAAuB,CAAC,MAAM,EAAE,IAAI,CAAC,YAAY,GAAG,IAAI;IAoBxD,QAAQ,CAAC,eAAe,CAAC,EAAE,OAAO,GAAG,MAAM;IAU3C,MAAM,CAAC,iBAAiB,CAAC,KAAK,EAAE,UAAU,GAAG,oBAAoB;IAMjE,MAAM,CAAC,2BAA2B,CAChC,OAAO,EAAE,oBAAoB,EAC7B,MAAM,EAAE,IAAI,CAAC,YAAY,GACxB,oBAAoB;CAiCxB;AAED;;;GAGG;AACH,qBAAa,qBAAsB,SAAQ,IAAI,CAAC,OAAO;IACrD,OAAO,CAAC,QAAQ,CAAU;IAC1B,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,OAAO,CAA+C;;IAS9D,UAAU,IAAI,OAAO;IAIrB,UAAU,CAAC,KAAK,EAAE,OAAO,GAAG,qBAAqB;IAKjD,QAAQ,IAAI,MAAM;IAIlB,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,qBAAqB;IAK9C,SAAS,IAAI,yBAAyB,CAAC,MAAM,GAAG,SAAS;IAIzD,SAAS,CAAC,KAAK,EAAE,yBAAyB,CAAC,MAAM,GAAG,SAAS,GAAG,qBAAqB;IAKrF,eAAe,IAAI,UAAU;IAM7B,uBAAuB,CAAC,MAAM,EAAE,IAAI,CAAC,YAAY,GAAG,IAAI;IAgBxD,QAAQ,CAAC,eAAe,CAAC,EAAE,OAAO,GAAG,MAAM;IAS3C,MAAM,CAAC,iBAAiB,CAAC,KAAK,EAAE,UAAU,GAAG,qBAAqB;IAMlE,MAAM,CAAC,2BAA2B,CAChC,OAAO,EAAE,qBAAqB,EAC9B,MAAM,EAAE,IAAI,CAAC,YAAY,GACxB,qBAAqB;CA4BzB"}
|