@merkl/api 1.5.25 → 1.5.27
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/src/eden/index.d.ts +322 -71
- package/dist/src/engine/implementations/clamm/metadata.abstract.d.ts +1 -1
- package/dist/src/engine/implementations/clamm/metadata.abstract.js.map +1 -1
- package/dist/src/engine/implementations/clamm/utils.d.ts +1 -1
- package/dist/src/engine/implementations/clamm/utils.js.map +1 -1
- package/dist/src/index.d.ts +274 -1
- package/dist/src/libs/computeFee.d.ts +555 -555
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +10 -0
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +2 -0
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +12 -0
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +2 -0
- package/dist/src/modules/v4/campaign/campaign.service.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +8 -0
- package/dist/src/modules/v4/campaign/campaign.test.controller.js.map +1 -1
- package/dist/src/modules/v4/campaignStatus/campaignStatus.controller.d.ts +97 -0
- package/dist/src/modules/v4/campaignStatus/campaignStatus.controller.js.map +1 -1
- package/dist/src/modules/v4/campaignStatus/campaignStatus.model.d.ts +3 -0
- package/dist/src/modules/v4/campaignStatus/campaignStatus.model.js.map +1 -1
- package/dist/src/modules/v4/campaignStatus/campaignStatus.repository.d.ts +49 -1
- package/dist/src/modules/v4/campaignStatus/campaignStatus.repository.js.map +1 -1
- package/dist/src/modules/v4/campaignStatus/campaignStatus.service.d.ts +46 -0
- package/dist/src/modules/v4/campaignStatus/campaignStatus.service.js.map +1 -1
- package/dist/src/modules/v4/campaignToProcess/campaignToProcess.controller.d.ts +3 -1
- package/dist/src/modules/v4/campaignToProcess/campaignToProcess.controller.js.map +1 -1
- package/dist/src/modules/v4/campaignToProcess/campaignToProcess.repository.d.ts +4 -0
- package/dist/src/modules/v4/campaignToProcess/campaignToProcess.repository.js.map +1 -1
- package/dist/src/modules/v4/campaignToProcess/campaignToProcess.service.d.ts +4 -0
- package/dist/src/modules/v4/config/config.controller.d.ts +126 -0
- package/dist/src/modules/v4/config/config.controller.js.map +1 -1
- package/dist/src/modules/v4/config/config.service.d.ts +114 -1
- package/dist/src/modules/v4/config/config.service.js.map +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +12 -0
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +4 -0
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +14 -0
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +8 -0
- package/dist/src/modules/v4/payload/payload.controller.d.ts +6 -0
- package/dist/src/modules/v4/payload/payload.service.d.ts +8 -0
- package/dist/src/modules/v4/programPayload/programPayload.repository.js.map +1 -1
- package/dist/src/modules/v4/reward/reward.repository.d.ts +4 -0
- package/dist/src/modules/v4/reward/reward.service.d.ts +26 -0
- package/dist/src/modules/v4/router.d.ts +6290 -6017
- package/dist/src/modules/v4/uniswap/uniswap.controller.d.ts +4 -0
- package/dist/src/modules/v4/uniswap/uniswap.service.d.ts +2 -0
- package/dist/src/modules/v4/user/user.controller.d.ts +8 -0
- package/dist/src/modules/v4/user/user.model.d.ts +2 -0
- package/dist/src/scripts/importOpportunities.js.map +1 -1
- package/dist/src/utils/getAPR.d.ts +165 -165
- package/dist/src/utils/queries/allCampaigns.js.map +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ import type { EncodeBatchResponse } from "./config.model";
|
|
|
5
5
|
export declare abstract class ConfigService {
|
|
6
6
|
static getConfigById(id: string): Promise<ExtendedConfig<CampaignType>>;
|
|
7
7
|
static extendConfig(config: ExtendedConfig<CampaignType>): Promise<EngineCampaign<CampaignType>>;
|
|
8
|
-
static
|
|
8
|
+
static getOpportunityFromConfig(config: ExtendedConfig<CampaignType>): Promise<({
|
|
9
9
|
chainId: number;
|
|
10
10
|
type: string;
|
|
11
11
|
identifier: string;
|
|
@@ -83,6 +83,8 @@ export declare abstract class ConfigService {
|
|
|
83
83
|
computedUntil: bigint;
|
|
84
84
|
processingStarted: bigint;
|
|
85
85
|
status: import("@package/databases").RunStatus;
|
|
86
|
+
preComputeStatus: import("@package/databases").RunStatus;
|
|
87
|
+
preComputeProcessingStarted: bigint;
|
|
86
88
|
error: string;
|
|
87
89
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
88
90
|
}[];
|
|
@@ -224,6 +226,117 @@ export declare abstract class ConfigService {
|
|
|
224
226
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
225
227
|
liveCampaigns: number;
|
|
226
228
|
})>;
|
|
229
|
+
static getTVLFromConfig(config: ExtendedConfig<CampaignType>): Promise<{
|
|
230
|
+
campaignId: string;
|
|
231
|
+
apr: {
|
|
232
|
+
breakdowns: ({
|
|
233
|
+
identifier: string;
|
|
234
|
+
timestamp: bigint;
|
|
235
|
+
type: import("@package/databases").AprType;
|
|
236
|
+
value: number;
|
|
237
|
+
} & {
|
|
238
|
+
campaignId?: string | undefined;
|
|
239
|
+
distributionType?: import("@package/databases").DistributionType | undefined;
|
|
240
|
+
})[];
|
|
241
|
+
cumulated: number;
|
|
242
|
+
timestamp: bigint;
|
|
243
|
+
} & {};
|
|
244
|
+
tvl: {
|
|
245
|
+
breakdowns: ({
|
|
246
|
+
identifier: string;
|
|
247
|
+
type: import("@package/databases").TvlType;
|
|
248
|
+
value: number;
|
|
249
|
+
} & {})[];
|
|
250
|
+
timestamp: bigint;
|
|
251
|
+
total: number;
|
|
252
|
+
} & {};
|
|
253
|
+
dailyRewards: {
|
|
254
|
+
breakdowns: ({
|
|
255
|
+
amount: bigint;
|
|
256
|
+
campaignId: string;
|
|
257
|
+
timestamp: bigint;
|
|
258
|
+
token: {
|
|
259
|
+
address: string;
|
|
260
|
+
chainId: number;
|
|
261
|
+
decimals: number;
|
|
262
|
+
icon: string;
|
|
263
|
+
id: string;
|
|
264
|
+
isNative: boolean;
|
|
265
|
+
isTest: boolean;
|
|
266
|
+
name: string | null;
|
|
267
|
+
symbol: string;
|
|
268
|
+
type: import("@package/databases").TokenType;
|
|
269
|
+
verified: boolean;
|
|
270
|
+
} & {
|
|
271
|
+
price?: number | null | undefined;
|
|
272
|
+
updatedAt?: number | null | undefined;
|
|
273
|
+
priceSource?: string | null | undefined;
|
|
274
|
+
isTokenWrapper?: boolean | undefined;
|
|
275
|
+
tokenWrapperAddress?: string | undefined;
|
|
276
|
+
};
|
|
277
|
+
value: number;
|
|
278
|
+
} & {
|
|
279
|
+
distributionType?: import("@package/databases").DistributionType | undefined;
|
|
280
|
+
})[];
|
|
281
|
+
timestamp: bigint;
|
|
282
|
+
total: number;
|
|
283
|
+
} & {};
|
|
284
|
+
}[] | {
|
|
285
|
+
opportunityId: string;
|
|
286
|
+
apr: {
|
|
287
|
+
breakdowns: ({
|
|
288
|
+
identifier: string;
|
|
289
|
+
timestamp: bigint;
|
|
290
|
+
type: import("@package/databases").AprType;
|
|
291
|
+
value: number;
|
|
292
|
+
} & {
|
|
293
|
+
campaignId?: string | undefined;
|
|
294
|
+
distributionType?: import("@package/databases").DistributionType | undefined;
|
|
295
|
+
})[];
|
|
296
|
+
cumulated: number;
|
|
297
|
+
timestamp: bigint;
|
|
298
|
+
} & {};
|
|
299
|
+
tvl: {
|
|
300
|
+
breakdowns: ({
|
|
301
|
+
identifier: string;
|
|
302
|
+
type: import("@package/databases").TvlType;
|
|
303
|
+
value: number;
|
|
304
|
+
} & {})[];
|
|
305
|
+
timestamp: bigint;
|
|
306
|
+
total: number;
|
|
307
|
+
} & {};
|
|
308
|
+
dailyRewards: {
|
|
309
|
+
breakdowns: ({
|
|
310
|
+
amount: bigint;
|
|
311
|
+
campaignId: string;
|
|
312
|
+
timestamp: bigint;
|
|
313
|
+
token: {
|
|
314
|
+
address: string;
|
|
315
|
+
chainId: number;
|
|
316
|
+
decimals: number;
|
|
317
|
+
icon: string;
|
|
318
|
+
id: string;
|
|
319
|
+
isNative: boolean;
|
|
320
|
+
isTest: boolean;
|
|
321
|
+
name: string | null;
|
|
322
|
+
symbol: string;
|
|
323
|
+
type: import("@package/databases").TokenType;
|
|
324
|
+
verified: boolean;
|
|
325
|
+
} & {
|
|
326
|
+
price?: number | null | undefined;
|
|
327
|
+
updatedAt?: number | null | undefined;
|
|
328
|
+
priceSource?: string | null | undefined;
|
|
329
|
+
isTokenWrapper?: boolean | undefined;
|
|
330
|
+
tokenWrapperAddress?: string | undefined;
|
|
331
|
+
};
|
|
332
|
+
value: number;
|
|
333
|
+
} & {
|
|
334
|
+
distributionType?: import("@package/databases").DistributionType | undefined;
|
|
335
|
+
})[];
|
|
336
|
+
timestamp: bigint;
|
|
337
|
+
total: number;
|
|
338
|
+
} & {};
|
|
339
|
+
}[]>;
|
|
227
340
|
static encodeCampaign(config: ExtendedConfig<CampaignType>): Promise<{
|
|
228
341
|
payload: string;
|
|
229
342
|
args: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.service.js","sourceRoot":"","sources":["../../../../../../../apps/api/src/modules/v4/config/config.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,kBAAkB,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,4BAA4B,EAAE,MAAM,kBAAkB,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,OAAO,EAGL,oBAAoB,GAErB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAsB,MAAM,cAAc,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAC1E,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;
|
|
1
|
+
{"version":3,"file":"config.service.js","sourceRoot":"","sources":["../../../../../../../apps/api/src/modules/v4/config/config.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,kBAAkB,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,4BAA4B,EAAE,MAAM,kBAAkB,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,OAAO,EAGL,oBAAoB,GAErB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAsB,MAAM,cAAc,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAC1E,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAGxE;;;GAGG;AACH,8FAA8F;AAC9F,KAAK,UAAU,kBAAkB,CAAC,MAAW,EAAgB;IAC3D,OAAO,MAAM,MAAM,CAAC,MAAM,CAAC,CAAC;AAAA,CAC7B;AAED,MAAM,OAAgB,aAAa;IACjC,0LAA4E;IAE5E,MAAM,CAAC,KAAK,CAAC,aAAa,CAAC,EAAU,EAAyC;QAC5E,IAAI,UAAU,GAAG,EAAE,CAAC;QAEpB,6CAA6C;QAC7C,IAAI,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;YACrB,MAAM,CAAC,iBAAiB,EAAE,aAAa,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YACzD,UAAU,GAAG,eAAe,C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eAAe,CAAC,OAAO,CAAC,QAAQ,EAAE;YAC3C,WAAW,EAAE,eAAe,CAAC,WAAW,CAAC,QAAQ,EAAE;YACnD,MAAM,EAAE,eAAe,CAAC,MAAM,CAAC,QAAQ,EAAE;YACzC,cAAc,EAAE,MAAM,CAAC,CAAC,eAAe,CAAC,cAAc,CAAC,QAAQ,EAAE,CAAC;YAClE,QAAQ,EAAE,MAAM,CAAC,CAAC,eAAe,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC;YACtD,YAAY,EAAE,MAAM,CAAC,CAAC,eAAe,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;YAC9D,YAAY,EAAE,eAAe,CAAC,YAAY,CAAC,QAAQ,EAAE;SACtD,CAAC,CAAC;IAAA,CACJ;CACF"}
|
|
@@ -144,6 +144,8 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
|
144
144
|
computedUntil: string | number;
|
|
145
145
|
processingStarted: string | number;
|
|
146
146
|
status: string;
|
|
147
|
+
preComputeProcessingStarted: string | number;
|
|
148
|
+
preComputeStatus: string;
|
|
147
149
|
delay?: number | undefined;
|
|
148
150
|
error?: string | undefined;
|
|
149
151
|
details?: any;
|
|
@@ -573,6 +575,8 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
|
573
575
|
computedUntil: string | number;
|
|
574
576
|
processingStarted: string | number;
|
|
575
577
|
status: string;
|
|
578
|
+
preComputeProcessingStarted: string | number;
|
|
579
|
+
preComputeStatus: string;
|
|
576
580
|
delay?: number | undefined;
|
|
577
581
|
error?: string | undefined;
|
|
578
582
|
details?: any;
|
|
@@ -859,6 +863,8 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
|
859
863
|
computedUntil: string | number;
|
|
860
864
|
processingStarted: string | number;
|
|
861
865
|
status: string;
|
|
866
|
+
preComputeProcessingStarted: string | number;
|
|
867
|
+
preComputeStatus: string;
|
|
862
868
|
delay?: number | undefined;
|
|
863
869
|
error?: string | undefined;
|
|
864
870
|
details?: any;
|
|
@@ -1313,6 +1319,8 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
|
1313
1319
|
computedUntil: string | number;
|
|
1314
1320
|
processingStarted: string | number;
|
|
1315
1321
|
status: string;
|
|
1322
|
+
preComputeProcessingStarted: string | number;
|
|
1323
|
+
preComputeStatus: string;
|
|
1316
1324
|
delay?: number | undefined;
|
|
1317
1325
|
error?: string | undefined;
|
|
1318
1326
|
details?: any;
|
|
@@ -1948,6 +1956,8 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
|
1948
1956
|
computedUntil: bigint;
|
|
1949
1957
|
processingStarted: bigint;
|
|
1950
1958
|
status: import("@package/databases").RunStatus;
|
|
1959
|
+
preComputeStatus: import("@package/databases").RunStatus;
|
|
1960
|
+
preComputeProcessingStarted: bigint;
|
|
1951
1961
|
error: string;
|
|
1952
1962
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
1953
1963
|
}[];
|
|
@@ -2306,6 +2316,8 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
|
2306
2316
|
computedUntil: bigint;
|
|
2307
2317
|
processingStarted: bigint;
|
|
2308
2318
|
status: import("@package/databases").RunStatus;
|
|
2319
|
+
preComputeStatus: import("@package/databases").RunStatus;
|
|
2320
|
+
preComputeProcessingStarted: bigint;
|
|
2309
2321
|
error: string;
|
|
2310
2322
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
2311
2323
|
}[];
|
|
@@ -134,6 +134,8 @@ export declare const CampaignWithOpportunityResourceDto: import("@sinclair/typeb
|
|
|
134
134
|
computedUntil: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNumber]>;
|
|
135
135
|
processingStarted: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNumber]>;
|
|
136
136
|
status: import("@sinclair/typebox").TString;
|
|
137
|
+
preComputeProcessingStarted: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNumber]>;
|
|
138
|
+
preComputeStatus: import("@sinclair/typebox").TString;
|
|
137
139
|
delay: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
138
140
|
error: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
139
141
|
details: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
|
|
@@ -581,6 +583,8 @@ export declare const OpportunityWithCampaignsResourceDto: import("@sinclair/type
|
|
|
581
583
|
computedUntil: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNumber]>;
|
|
582
584
|
processingStarted: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNumber]>;
|
|
583
585
|
status: import("@sinclair/typebox").TString;
|
|
586
|
+
preComputeProcessingStarted: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNumber]>;
|
|
587
|
+
preComputeStatus: import("@sinclair/typebox").TString;
|
|
584
588
|
delay: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
585
589
|
error: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
586
590
|
details: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
|
|
@@ -92,6 +92,8 @@ export declare abstract class OpportunityRepository {
|
|
|
92
92
|
computedUntil: bigint;
|
|
93
93
|
processingStarted: bigint;
|
|
94
94
|
status: import("@package/databases").RunStatus;
|
|
95
|
+
preComputeStatus: import("@package/databases").RunStatus;
|
|
96
|
+
preComputeProcessingStarted: bigint;
|
|
95
97
|
error: string;
|
|
96
98
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
97
99
|
}[];
|
|
@@ -309,6 +311,8 @@ export declare abstract class OpportunityRepository {
|
|
|
309
311
|
computedUntil: bigint;
|
|
310
312
|
processingStarted: bigint;
|
|
311
313
|
status: import("@package/databases").RunStatus;
|
|
314
|
+
preComputeStatus: import("@package/databases").RunStatus;
|
|
315
|
+
preComputeProcessingStarted: bigint;
|
|
312
316
|
error: string;
|
|
313
317
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
314
318
|
}[];
|
|
@@ -508,6 +512,8 @@ export declare abstract class OpportunityRepository {
|
|
|
508
512
|
computedUntil: bigint;
|
|
509
513
|
processingStarted: bigint;
|
|
510
514
|
status: import("@package/databases").RunStatus;
|
|
515
|
+
preComputeStatus: import("@package/databases").RunStatus;
|
|
516
|
+
preComputeProcessingStarted: bigint;
|
|
511
517
|
error: string;
|
|
512
518
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
513
519
|
}[];
|
|
@@ -678,6 +684,8 @@ export declare abstract class OpportunityRepository {
|
|
|
678
684
|
computedUntil: bigint;
|
|
679
685
|
processingStarted: bigint;
|
|
680
686
|
status: import("@package/databases").RunStatus;
|
|
687
|
+
preComputeStatus: import("@package/databases").RunStatus;
|
|
688
|
+
preComputeProcessingStarted: bigint;
|
|
681
689
|
error: string;
|
|
682
690
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
683
691
|
}[];
|
|
@@ -799,6 +807,8 @@ export declare abstract class OpportunityRepository {
|
|
|
799
807
|
computedUntil: bigint;
|
|
800
808
|
processingStarted: bigint;
|
|
801
809
|
status: import("@package/databases").RunStatus;
|
|
810
|
+
preComputeStatus: import("@package/databases").RunStatus;
|
|
811
|
+
preComputeProcessingStarted: bigint;
|
|
802
812
|
error: string;
|
|
803
813
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
804
814
|
}[];
|
|
@@ -1005,6 +1015,8 @@ export declare abstract class OpportunityRepository {
|
|
|
1005
1015
|
computedUntil: bigint;
|
|
1006
1016
|
processingStarted: bigint;
|
|
1007
1017
|
status: import("@package/databases").RunStatus;
|
|
1018
|
+
preComputeStatus: import("@package/databases").RunStatus;
|
|
1019
|
+
preComputeProcessingStarted: bigint;
|
|
1008
1020
|
error: string;
|
|
1009
1021
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
1010
1022
|
}[];
|
|
@@ -1302,6 +1314,8 @@ export declare abstract class OpportunityRepository {
|
|
|
1302
1314
|
computedUntil: bigint;
|
|
1303
1315
|
processingStarted: bigint;
|
|
1304
1316
|
status: import("@package/databases").RunStatus;
|
|
1317
|
+
preComputeStatus: import("@package/databases").RunStatus;
|
|
1318
|
+
preComputeProcessingStarted: bigint;
|
|
1305
1319
|
error: string;
|
|
1306
1320
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
1307
1321
|
}[];
|
|
@@ -148,6 +148,8 @@ export declare abstract class OpportunityService {
|
|
|
148
148
|
computedUntil: bigint;
|
|
149
149
|
processingStarted: bigint;
|
|
150
150
|
status: import("@package/databases").RunStatus;
|
|
151
|
+
preComputeStatus: import("@package/databases").RunStatus;
|
|
152
|
+
preComputeProcessingStarted: bigint;
|
|
151
153
|
error: string;
|
|
152
154
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
153
155
|
}[];
|
|
@@ -372,6 +374,8 @@ export declare abstract class OpportunityService {
|
|
|
372
374
|
computedUntil: bigint;
|
|
373
375
|
processingStarted: bigint;
|
|
374
376
|
status: import("@package/databases").RunStatus;
|
|
377
|
+
preComputeStatus: import("@package/databases").RunStatus;
|
|
378
|
+
preComputeProcessingStarted: bigint;
|
|
375
379
|
error: string;
|
|
376
380
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
377
381
|
}[];
|
|
@@ -595,6 +599,8 @@ export declare abstract class OpportunityService {
|
|
|
595
599
|
computedUntil: bigint;
|
|
596
600
|
processingStarted: bigint;
|
|
597
601
|
status: import("@package/databases").RunStatus;
|
|
602
|
+
preComputeStatus: import("@package/databases").RunStatus;
|
|
603
|
+
preComputeProcessingStarted: bigint;
|
|
598
604
|
error: string;
|
|
599
605
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
600
606
|
}[];
|
|
@@ -831,6 +837,8 @@ export declare abstract class OpportunityService {
|
|
|
831
837
|
computedUntil: string | number;
|
|
832
838
|
processingStarted: string | number;
|
|
833
839
|
status: string;
|
|
840
|
+
preComputeProcessingStarted: string | number;
|
|
841
|
+
preComputeStatus: string;
|
|
834
842
|
delay?: number | undefined;
|
|
835
843
|
error?: string | undefined;
|
|
836
844
|
details?: any;
|
|
@@ -141,6 +141,8 @@ export declare const PayloadController: Elysia<"/payload", {
|
|
|
141
141
|
computedUntil: bigint;
|
|
142
142
|
processingStarted: bigint;
|
|
143
143
|
status: import("@package/databases").RunStatus;
|
|
144
|
+
preComputeStatus: import("@package/databases").RunStatus;
|
|
145
|
+
preComputeProcessingStarted: bigint;
|
|
144
146
|
error: string;
|
|
145
147
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
146
148
|
}[];
|
|
@@ -413,6 +415,8 @@ export declare const PayloadController: Elysia<"/payload", {
|
|
|
413
415
|
computedUntil: bigint;
|
|
414
416
|
processingStarted: bigint;
|
|
415
417
|
status: import("@package/databases").RunStatus;
|
|
418
|
+
preComputeStatus: import("@package/databases").RunStatus;
|
|
419
|
+
preComputeProcessingStarted: bigint;
|
|
416
420
|
error: string;
|
|
417
421
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
418
422
|
}[];
|
|
@@ -681,6 +685,8 @@ export declare const PayloadController: Elysia<"/payload", {
|
|
|
681
685
|
computedUntil: bigint;
|
|
682
686
|
processingStarted: bigint;
|
|
683
687
|
status: import("@package/databases").RunStatus;
|
|
688
|
+
preComputeStatus: import("@package/databases").RunStatus;
|
|
689
|
+
preComputeProcessingStarted: bigint;
|
|
684
690
|
error: string;
|
|
685
691
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
686
692
|
}[];
|
|
@@ -98,6 +98,8 @@ export declare class PayloadService {
|
|
|
98
98
|
computedUntil: bigint;
|
|
99
99
|
processingStarted: bigint;
|
|
100
100
|
status: import("@package/databases").RunStatus;
|
|
101
|
+
preComputeStatus: import("@package/databases").RunStatus;
|
|
102
|
+
preComputeProcessingStarted: bigint;
|
|
101
103
|
error: string;
|
|
102
104
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
103
105
|
}[];
|
|
@@ -340,6 +342,8 @@ export declare class PayloadService {
|
|
|
340
342
|
computedUntil: bigint;
|
|
341
343
|
processingStarted: bigint;
|
|
342
344
|
status: import("@package/databases").RunStatus;
|
|
345
|
+
preComputeStatus: import("@package/databases").RunStatus;
|
|
346
|
+
preComputeProcessingStarted: bigint;
|
|
343
347
|
error: string;
|
|
344
348
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
345
349
|
}[];
|
|
@@ -579,6 +583,8 @@ export declare class PayloadService {
|
|
|
579
583
|
computedUntil: bigint;
|
|
580
584
|
processingStarted: bigint;
|
|
581
585
|
status: import("@package/databases").RunStatus;
|
|
586
|
+
preComputeStatus: import("@package/databases").RunStatus;
|
|
587
|
+
preComputeProcessingStarted: bigint;
|
|
582
588
|
error: string;
|
|
583
589
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
584
590
|
}[];
|
|
@@ -818,6 +824,8 @@ export declare class PayloadService {
|
|
|
818
824
|
computedUntil: bigint;
|
|
819
825
|
processingStarted: bigint;
|
|
820
826
|
status: import("@package/databases").RunStatus;
|
|
827
|
+
preComputeStatus: import("@package/databases").RunStatus;
|
|
828
|
+
preComputeProcessingStarted: bigint;
|
|
821
829
|
error: string;
|
|
822
830
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
823
831
|
}[];
|