@merkl/api 0.19.1 → 0.19.3
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/drizzle/schema.d.ts +20 -3
- package/dist/database/api/.generated/drizzle/schema.js +3 -2
- package/dist/database/api/.generated/drizzle/schema.ts +3 -2
- package/dist/database/api/.generated/edge.js +6 -4
- package/dist/database/api/.generated/index-browser.js +3 -1
- package/dist/database/api/.generated/index.d.ts +151 -70
- package/dist/database/api/.generated/index.js +6 -4
- package/dist/database/api/.generated/package.json +1 -1
- package/dist/database/api/.generated/schema.prisma +3 -0
- package/dist/database/api/.generated/wasm.js +3 -1
- package/dist/src/eden/index.d.ts +562 -5
- package/dist/src/index.d.ts +122 -1
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +119 -0
- package/dist/src/modules/v4/campaign/campaign.controller.js +13 -2
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +1 -0
- package/dist/src/modules/v4/campaign/campaign.model.js +1 -0
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +20 -0
- package/dist/src/modules/v4/campaign/campaign.repository.js +4 -3
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +223 -0
- package/dist/src/modules/v4/campaign/campaign.service.js +26 -2
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +3 -1
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +1 -0
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +5 -0
- package/dist/src/modules/v4/opportunity/opportunity.repository.js +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +3 -0
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +1 -0
- package/dist/src/modules/v4/router.d.ts +122 -1
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +6 -4
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@merkl/api",
|
|
3
3
|
"type": "module",
|
|
4
|
+
"module": "true",
|
|
4
5
|
"types": "./dist/src/eden/index.d.ts",
|
|
5
6
|
"main": "./dist/src/eden/index.js",
|
|
6
7
|
"files": [
|
|
@@ -15,7 +16,7 @@
|
|
|
15
16
|
"db:migrate:reset": "bunx prisma migrate reset --schema database/api/schema.prisma",
|
|
16
17
|
"db:studio:api": "bunx prisma studio --schema database/api/schema.prisma",
|
|
17
18
|
"db:studio:engine": "bunx prisma studio --schema database/engine/schema.prisma",
|
|
18
|
-
"build:binary": "tsc",
|
|
19
|
+
"build:binary": "tsc -b",
|
|
19
20
|
"lint": "bun biome check --diagnostic-level error --write ./src && bun biome check --diagnostic-level error --write ./tests",
|
|
20
21
|
"lint:ci": "bun biome check --diagnostic-level error ./src",
|
|
21
22
|
"lint:test": "bun biome check --write ./tests",
|
|
@@ -25,7 +26,7 @@
|
|
|
25
26
|
"setup": "code --install-extension .vscode/extensions/merkl:helpers-0.0.1.vsix",
|
|
26
27
|
"sql": "lsof -i :1234 && lsof -i :2345",
|
|
27
28
|
"start:local": "bun scripts/start.ts",
|
|
28
|
-
"sync": "bun install && git submodule update --init --recursive
|
|
29
|
+
"sync": "bun install && git submodule update --init --recursive && git submodule foreach 'bun install' && bun db:generate",
|
|
29
30
|
"test": "bun test",
|
|
30
31
|
"start:etl:rewards": "bun run src/jobs/rewards.ts",
|
|
31
32
|
"start:etl:reward-breakdowns": "bun run src/jobs/reward-breakdowns.ts",
|
|
@@ -93,7 +94,8 @@
|
|
|
93
94
|
"bun-types": "^1.2.2",
|
|
94
95
|
"chalk": "^5.4.1",
|
|
95
96
|
"prisma": "^6.3.1",
|
|
96
|
-
"drizzle-prisma-generator": "^0.1.7"
|
|
97
|
+
"drizzle-prisma-generator": "^0.1.7",
|
|
98
|
+
"typescript": "^5.6.2"
|
|
97
99
|
},
|
|
98
100
|
"repository": {
|
|
99
101
|
"type": "git",
|
|
@@ -103,5 +105,5 @@
|
|
|
103
105
|
"access": "public",
|
|
104
106
|
"registry": "https://registry.npmjs.org/"
|
|
105
107
|
},
|
|
106
|
-
"version": "v0.19.
|
|
108
|
+
"version": "v0.19.3"
|
|
107
109
|
}
|