@merkl/api 0.10.116 → 0.10.118
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/database/api/.generated/default.d.ts +1 -1
- package/dist/database/api/.generated/edge.d.ts +1 -1
- package/dist/database/api/.generated/index.d.ts +335 -311
- package/dist/database/api/.generated/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
- package/dist/database/api/.generated/libquery_engine-linux-arm64-openssl-1.1.x.so.node +0 -0
- package/dist/database/api/.generated/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
- package/dist/database/api/.generated/package.json +15 -2
- package/dist/database/api/.generated/runtime/library.d.ts +195 -79
- package/dist/database/api/.generated/schema.prisma +1 -1
- package/dist/database/api/.generated/wasm.d.ts +1 -1
- package/dist/database/engine/.generated/default.d.ts +1 -1
- package/dist/database/engine/.generated/edge.d.ts +1 -1
- package/dist/database/engine/.generated/index.d.ts +16 -104
- package/dist/database/engine/.generated/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
- package/dist/database/engine/.generated/libquery_engine-linux-arm64-openssl-1.1.x.so.node +0 -0
- package/dist/database/engine/.generated/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
- package/dist/database/engine/.generated/package.json +14 -1
- package/dist/database/engine/.generated/runtime/library.d.ts +195 -79
- package/dist/database/engine/.generated/wasm.d.ts +1 -1
- package/dist/src/eden/index.d.ts +552 -411
- package/dist/src/index.d.ts +194 -137
- package/dist/src/modules/v4/accounting/accounting.controller.d.ts +1 -1
- package/dist/src/modules/v4/accounting/accounting.repository.d.ts +8 -8
- package/dist/src/modules/v4/accounting/accounting.service.d.ts +1 -1
- package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +2 -2
- package/dist/src/modules/v4/blacklist/blacklist.repository.d.ts +2 -2
- package/dist/src/modules/v4/blacklist/blacklist.service.d.ts +2 -2
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +14 -14
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +27 -27
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +28 -28
- package/dist/src/modules/v4/chain/chain.controller.d.ts +5 -5
- package/dist/src/modules/v4/chain/chain.repository.d.ts +6 -6
- package/dist/src/modules/v4/chain/chain.service.d.ts +5 -5
- package/dist/src/modules/v4/explorer/explorer.repository.d.ts +2 -2
- package/dist/src/modules/v4/explorer/explorer.service.d.ts +2 -2
- package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +21 -3
- package/dist/src/modules/v4/merklRoot/merklRoot.repository.d.ts +4 -4
- package/dist/src/modules/v4/merklRoot/merklRoot.service.d.ts +8 -9
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +36 -36
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +94 -94
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +57 -57
- package/dist/src/modules/v4/price/price.controller.d.ts +8 -8
- package/dist/src/modules/v4/price/price.repository.d.ts +10 -10
- package/dist/src/modules/v4/price/price.service.d.ts +8 -8
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +12 -12
- package/dist/src/modules/v4/reward/reward.controller.d.ts +11 -8
- package/dist/src/modules/v4/reward/reward.model.d.ts +9 -9
- package/dist/src/modules/v4/reward/reward.repository.d.ts +42 -39
- package/dist/src/modules/v4/reward/reward.service.d.ts +133 -130
- package/dist/src/modules/v4/router.d.ts +194 -137
- package/dist/src/modules/v4/status/status.controller.d.ts +17 -17
- package/dist/src/modules/v4/status/status.repository.d.ts +32 -32
- package/dist/src/modules/v4/status/status.service.d.ts +20 -20
- package/dist/src/modules/v4/user/user.controller.d.ts +79 -43
- package/dist/src/modules/v4/user/user.repository.d.ts +7 -2
- package/dist/src/modules/v4/user/user.service.d.ts +10 -4
- package/dist/src/routes/v3/ERC20Campaigns.d.ts +194 -137
- package/dist/src/routes/v3/blacklist.d.ts +194 -137
- package/dist/src/routes/v3/campaigns.d.ts +194 -137
- package/dist/src/routes/v3/campaignsInfo.d.ts +194 -137
- package/dist/src/routes/v3/multiChainPositions.d.ts +194 -137
- package/dist/src/routes/v3/opportunity.d.ts +194 -137
- package/dist/src/routes/v3/positions.d.ts +194 -137
- package/dist/src/routes/v3/rewards.d.ts +194 -137
- package/dist/src/routes/v3/rootForTimestamp.d.ts +2 -2
- package/dist/src/routes/v3/updates.d.ts +194 -137
- package/dist/src/routes/v3/userRewards.d.ts +194 -137
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/src/libs/campaigns/getRewards.d.ts +0 -29
|
@@ -176,6 +176,7 @@ export class PrismaClient<
|
|
|
176
176
|
*/
|
|
177
177
|
$queryRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<T>;
|
|
178
178
|
|
|
179
|
+
|
|
179
180
|
/**
|
|
180
181
|
* Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole.
|
|
181
182
|
* @example
|
|
@@ -335,7 +336,6 @@ export namespace Prisma {
|
|
|
335
336
|
export import PrismaClientRustPanicError = runtime.PrismaClientRustPanicError
|
|
336
337
|
export import PrismaClientInitializationError = runtime.PrismaClientInitializationError
|
|
337
338
|
export import PrismaClientValidationError = runtime.PrismaClientValidationError
|
|
338
|
-
export import NotFoundError = runtime.NotFoundError
|
|
339
339
|
|
|
340
340
|
/**
|
|
341
341
|
* Re-export of sql-template-tag
|
|
@@ -346,6 +346,8 @@ export namespace Prisma {
|
|
|
346
346
|
export import raw = runtime.raw
|
|
347
347
|
export import Sql = runtime.Sql
|
|
348
348
|
|
|
349
|
+
|
|
350
|
+
|
|
349
351
|
/**
|
|
350
352
|
* Decimal.js
|
|
351
353
|
*/
|
|
@@ -372,8 +374,8 @@ export namespace Prisma {
|
|
|
372
374
|
export import Exact = $Public.Exact
|
|
373
375
|
|
|
374
376
|
/**
|
|
375
|
-
* Prisma Client JS version:
|
|
376
|
-
* Query Engine version:
|
|
377
|
+
* Prisma Client JS version: 6.0.1
|
|
378
|
+
* Query Engine version: 5dbef10bdbfb579e07d35cc85fb1518d357cb99e
|
|
377
379
|
*/
|
|
378
380
|
export type PrismaVersion = {
|
|
379
381
|
client: string
|
|
@@ -385,51 +387,13 @@ export namespace Prisma {
|
|
|
385
387
|
* Utility Types
|
|
386
388
|
*/
|
|
387
389
|
|
|
388
|
-
/**
|
|
389
|
-
* From https://github.com/sindresorhus/type-fest/
|
|
390
|
-
* Matches a JSON object.
|
|
391
|
-
* This type can be useful to enforce some input to be JSON-compatible or as a super-type to be extended from.
|
|
392
|
-
*/
|
|
393
|
-
export type JsonObject = {[Key in string]?: JsonValue}
|
|
394
390
|
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
export
|
|
400
|
-
|
|
401
|
-
/**
|
|
402
|
-
* From https://github.com/sindresorhus/type-fest/
|
|
403
|
-
* Matches any valid JSON value.
|
|
404
|
-
*/
|
|
405
|
-
export type JsonValue = string | number | boolean | JsonObject | JsonArray | null
|
|
406
|
-
|
|
407
|
-
/**
|
|
408
|
-
* Matches a JSON object.
|
|
409
|
-
* Unlike `JsonObject`, this type allows undefined and read-only properties.
|
|
410
|
-
*/
|
|
411
|
-
export type InputJsonObject = {readonly [Key in string]?: InputJsonValue | null}
|
|
412
|
-
|
|
413
|
-
/**
|
|
414
|
-
* Matches a JSON array.
|
|
415
|
-
* Unlike `JsonArray`, readonly arrays are assignable to this type.
|
|
416
|
-
*/
|
|
417
|
-
export interface InputJsonArray extends ReadonlyArray<InputJsonValue | null> {}
|
|
418
|
-
|
|
419
|
-
/**
|
|
420
|
-
* Matches any valid value that can be used as an input for operations like
|
|
421
|
-
* create and update as the value of a JSON field. Unlike `JsonValue`, this
|
|
422
|
-
* type allows read-only arrays and read-only object properties and disallows
|
|
423
|
-
* `null` at the top level.
|
|
424
|
-
*
|
|
425
|
-
* `null` cannot be used as the value of a JSON field because its meaning
|
|
426
|
-
* would be ambiguous. Use `Prisma.JsonNull` to store the JSON null value or
|
|
427
|
-
* `Prisma.DbNull` to clear the JSON value and set the field to the database
|
|
428
|
-
* NULL value instead.
|
|
429
|
-
*
|
|
430
|
-
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-by-null-values
|
|
431
|
-
*/
|
|
432
|
-
export type InputJsonValue = string | number | boolean | InputJsonObject | InputJsonArray | { toJSON(): unknown }
|
|
391
|
+
export import JsonObject = runtime.JsonObject
|
|
392
|
+
export import JsonArray = runtime.JsonArray
|
|
393
|
+
export import JsonValue = runtime.JsonValue
|
|
394
|
+
export import InputJsonObject = runtime.InputJsonObject
|
|
395
|
+
export import InputJsonArray = runtime.InputJsonArray
|
|
396
|
+
export import InputJsonValue = runtime.InputJsonValue
|
|
433
397
|
|
|
434
398
|
/**
|
|
435
399
|
* Types of the values used to represent different kinds of `null` values when working with JSON fields.
|
|
@@ -1668,15 +1632,11 @@ export namespace Prisma {
|
|
|
1668
1632
|
other: {
|
|
1669
1633
|
payload: any
|
|
1670
1634
|
operations: {
|
|
1671
|
-
$executeRawUnsafe: {
|
|
1672
|
-
args: [query: string, ...values: any[]],
|
|
1673
|
-
result: any
|
|
1674
|
-
}
|
|
1675
1635
|
$executeRaw: {
|
|
1676
1636
|
args: [query: TemplateStringsArray | Prisma.Sql, ...values: any[]],
|
|
1677
1637
|
result: any
|
|
1678
1638
|
}
|
|
1679
|
-
$
|
|
1639
|
+
$executeRawUnsafe: {
|
|
1680
1640
|
args: [query: string, ...values: any[]],
|
|
1681
1641
|
result: any
|
|
1682
1642
|
}
|
|
@@ -1684,6 +1644,10 @@ export namespace Prisma {
|
|
|
1684
1644
|
args: [query: TemplateStringsArray | Prisma.Sql, ...values: any[]],
|
|
1685
1645
|
result: any
|
|
1686
1646
|
}
|
|
1647
|
+
$queryRawUnsafe: {
|
|
1648
|
+
args: [query: string, ...values: any[]],
|
|
1649
|
+
result: any
|
|
1650
|
+
}
|
|
1687
1651
|
}
|
|
1688
1652
|
}
|
|
1689
1653
|
}
|
|
@@ -16275,58 +16239,6 @@ export namespace Prisma {
|
|
|
16275
16239
|
|
|
16276
16240
|
|
|
16277
16241
|
|
|
16278
|
-
/**
|
|
16279
|
-
* Aliases for legacy arg types
|
|
16280
|
-
*/
|
|
16281
|
-
/**
|
|
16282
|
-
* @deprecated Use TempLeavesDefaultArgs instead
|
|
16283
|
-
*/
|
|
16284
|
-
export type TempLeavesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = TempLeavesDefaultArgs<ExtArgs>
|
|
16285
|
-
/**
|
|
16286
|
-
* @deprecated Use LeavesDefaultArgs instead
|
|
16287
|
-
*/
|
|
16288
|
-
export type LeavesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = LeavesDefaultArgs<ExtArgs>
|
|
16289
|
-
/**
|
|
16290
|
-
* @deprecated Use ProofsDefaultArgs instead
|
|
16291
|
-
*/
|
|
16292
|
-
export type ProofsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ProofsDefaultArgs<ExtArgs>
|
|
16293
|
-
/**
|
|
16294
|
-
* @deprecated Use MerklRootsDefaultArgs instead
|
|
16295
|
-
*/
|
|
16296
|
-
export type MerklRootsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = MerklRootsDefaultArgs<ExtArgs>
|
|
16297
|
-
/**
|
|
16298
|
-
* @deprecated Use CampaignsDefaultArgs instead
|
|
16299
|
-
*/
|
|
16300
|
-
export type CampaignsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = CampaignsDefaultArgs<ExtArgs>
|
|
16301
|
-
/**
|
|
16302
|
-
* @deprecated Use CampaignsToProcessDefaultArgs instead
|
|
16303
|
-
*/
|
|
16304
|
-
export type CampaignsToProcessArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = CampaignsToProcessDefaultArgs<ExtArgs>
|
|
16305
|
-
/**
|
|
16306
|
-
* @deprecated Use ClaimsDefaultArgs instead
|
|
16307
|
-
*/
|
|
16308
|
-
export type ClaimsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ClaimsDefaultArgs<ExtArgs>
|
|
16309
|
-
/**
|
|
16310
|
-
* @deprecated Use ClaimsOverTimeDefaultArgs instead
|
|
16311
|
-
*/
|
|
16312
|
-
export type ClaimsOverTimeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ClaimsOverTimeDefaultArgs<ExtArgs>
|
|
16313
|
-
/**
|
|
16314
|
-
* @deprecated Use ALMsDefaultArgs instead
|
|
16315
|
-
*/
|
|
16316
|
-
export type ALMsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ALMsDefaultArgs<ExtArgs>
|
|
16317
|
-
/**
|
|
16318
|
-
* @deprecated Use ERC20HoldersDefaultArgs instead
|
|
16319
|
-
*/
|
|
16320
|
-
export type ERC20HoldersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ERC20HoldersDefaultArgs<ExtArgs>
|
|
16321
|
-
/**
|
|
16322
|
-
* @deprecated Use TokensDefaultArgs instead
|
|
16323
|
-
*/
|
|
16324
|
-
export type TokensArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = TokensDefaultArgs<ExtArgs>
|
|
16325
|
-
/**
|
|
16326
|
-
* @deprecated Use CampaignCreatorsDefaultArgs instead
|
|
16327
|
-
*/
|
|
16328
|
-
export type CampaignCreatorsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = CampaignCreatorsDefaultArgs<ExtArgs>
|
|
16329
|
-
|
|
16330
16242
|
/**
|
|
16331
16243
|
* Batch Payload for updateMany & deleteMany & createMany
|
|
16332
16244
|
*/
|
|
Binary file
|
|
Binary file
|
package/dist/database/engine/.generated/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node
CHANGED
|
Binary file
|
|
@@ -77,8 +77,21 @@
|
|
|
77
77
|
"import": "./generator-build/index.js",
|
|
78
78
|
"default": "./generator-build/index.js"
|
|
79
79
|
},
|
|
80
|
+
"./sql": {
|
|
81
|
+
"require": {
|
|
82
|
+
"types": "./sql.d.ts",
|
|
83
|
+
"node": "./sql.js",
|
|
84
|
+
"default": "./sql.js"
|
|
85
|
+
},
|
|
86
|
+
"import": {
|
|
87
|
+
"types": "./sql.d.ts",
|
|
88
|
+
"node": "./sql.mjs",
|
|
89
|
+
"default": "./sql.mjs"
|
|
90
|
+
},
|
|
91
|
+
"default": "./sql.js"
|
|
92
|
+
},
|
|
80
93
|
"./*": "./*"
|
|
81
94
|
},
|
|
82
|
-
"version": "
|
|
95
|
+
"version": "6.0.1",
|
|
83
96
|
"sideEffects": false
|
|
84
97
|
}
|