@treeseed/sdk 0.10.10 → 0.10.12

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.
@@ -0,0 +1,4 @@
1
+ UPDATE "capacity_providers"
2
+ SET "credit_budget_mode" = 'derived'
3
+ WHERE "credit_budget_mode" IS NULL OR "credit_budget_mode" = '';
4
+ ALTER TABLE "capacity_providers" ALTER COLUMN "credit_budget_mode" SET DEFAULT 'derived';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@treeseed/sdk",
3
- "version": "0.10.10",
3
+ "version": "0.10.12",
4
4
  "description": "Shared Treeseed SDK for content-backed and D1-backed object models.",
5
5
  "license": "AGPL-3.0-only",
6
6
  "repository": {
@@ -20,6 +20,7 @@
20
20
  "files": [
21
21
  "README.md",
22
22
  "dist",
23
+ "drizzle",
23
24
  "scripts/verify-driver.mjs",
24
25
  "templates"
25
26
  ],
@@ -34,6 +35,8 @@
34
35
  "setup:ci": "npm ci",
35
36
  "build": "npm run build:dist",
36
37
  "build:dist": "node ./scripts/run-ts.mjs ./scripts/build-dist.ts",
38
+ "db:generate:d1": "node ../../node_modules/drizzle-kit/bin.cjs export --config drizzle.config.ts > drizzle/d1/0000_treeseed_d1.sql",
39
+ "db:generate:market": "node ../../node_modules/drizzle-kit/bin.cjs export --config drizzle.market.config.ts > drizzle/market/0000_market_control_plane.sql",
37
40
  "prepare": "node ./scripts/prepare.mjs",
38
41
  "prepack": "npm run build:dist",
39
42
  "test": "npm run test:unit",
@@ -287,6 +290,10 @@
287
290
  "types": "./dist/db/schema.d.ts",
288
291
  "default": "./dist/db/schema.js"
289
292
  },
293
+ "./db/market-schema": {
294
+ "types": "./dist/db/market-schema.d.ts",
295
+ "default": "./dist/db/market-schema.js"
296
+ },
290
297
  "./db/d1": {
291
298
  "types": "./dist/db/d1.d.ts",
292
299
  "default": "./dist/db/d1.js"