zerotal 1.10.0 → 1.11.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.
Files changed (2) hide show
  1. package/api-surface.md +34 -1
  2. package/package.json +12 -12
package/api-surface.md CHANGED
@@ -3757,6 +3757,34 @@ class UpgradeCommand = {
3757
3757
  write: (msg: string) => void
3758
3758
  }
3759
3759
 
3760
+ class VersionCommand = {
3761
+ new (): VersionCommand
3762
+ static args: never[]
3763
+ static commandName: string
3764
+ static description: string
3765
+ static flags: { name: string; type: 'boolean'; description: string; default: boolean;}[]
3766
+ static needsApp: boolean
3767
+ _readLine: () => Promise<string>
3768
+ _writer: OutputWriter
3769
+ app: unknown
3770
+ args: Record<string, string>
3771
+ ask: (question: string, defaultValue?: string) => Promise<string>
3772
+ choice: (question: string, options: string[]) => Promise<string>
3773
+ confirm: (question: string, defaultValue?: boolean) => Promise<boolean>
3774
+ dim: (msg: string) => void
3775
+ error: (msg: string) => void
3776
+ flags: Record<string, string | number | boolean>
3777
+ info: (msg: string) => void
3778
+ line: (msg: string) => void
3779
+ newLine: () => void
3780
+ run: () => Promise<void>
3781
+ secret: (question: string) => Promise<string>
3782
+ section: (title: string) => void
3783
+ table: (rows: [string, string][], indent?: number) => void
3784
+ warn: (msg: string) => void
3785
+ write: (msg: string) => void
3786
+ }
3787
+
3760
3788
  class WorkerCommand = {
3761
3789
  new (): WorkerCommand
3762
3790
  static aliases: string[]
@@ -5259,6 +5287,7 @@ class JsonCast = {
5259
5287
 
5260
5288
  class Migration = {
5261
5289
  new (): Migration
5290
+ static id?: string
5262
5291
  down: () => Promise<void>
5263
5292
  up: () => Promise<void>
5264
5293
  }
@@ -5810,7 +5839,7 @@ interface DatabaseConfigShape = {
5810
5839
  driver: 'sqlite' | 'postgres' | 'mysql'
5811
5840
  pool?: { max?: number; idleTimeout?: number;} | undefined
5812
5841
  replicas?: string[] | undefined
5813
- sqlite: { path: string;}
5842
+ sqlite: { path: string; foreignKeys?: boolean | undefined;}
5814
5843
  synchronize?: boolean | { enabled: boolean; disruptive?: boolean;} | undefined
5815
5844
  url: string
5816
5845
  }
@@ -6435,6 +6464,8 @@ function bunBinary = () => string
6435
6464
 
6436
6465
  function declaredBunFloor = (cwd: string) => { range: string; manifest: string;} | null
6437
6466
 
6467
+ function declaresBunDependency = (cwd: string) => boolean
6468
+
6438
6469
  function installedBunVersion = (cwd: string) => { version: string; manifest: string;} | null
6439
6470
 
6440
6471
  function runtimeBelowFloor = (cwd?: string) => RuntimeFloor | null
@@ -6454,6 +6485,7 @@ interface RuntimeFloor = {
6454
6485
  }
6455
6486
 
6456
6487
  interface RuntimeMismatch = {
6488
+ chosen?: boolean | undefined
6457
6489
  installed: string
6458
6490
  manifest: string
6459
6491
  running: string
@@ -7356,6 +7388,7 @@ class TestResponse = {
7356
7388
  assertNotFound: () => TestResponse
7357
7389
  assertOk: () => TestResponse
7358
7390
  assertRedirect: (url: string) => TestResponse
7391
+ assertRedirectContains: (fragment: string) => TestResponse
7359
7392
  assertSee: (needle: string) => TestResponse
7360
7393
  assertSeeText: (needle: string) => TestResponse
7361
7394
  assertServerError: () => TestResponse
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zerotal",
3
- "version": "1.10.0",
3
+ "version": "1.11.1",
4
4
  "license": "MIT",
5
5
  "maturity": "stable",
6
6
  "private": false,
@@ -63,17 +63,17 @@
63
63
  "typecheck": "tsc --noEmit"
64
64
  },
65
65
  "dependencies": {
66
- "@zerotal/auth": "1.10.0",
67
- "@zerotal/cache": "1.10.0",
68
- "@zerotal/client": "1.10.0",
69
- "@zerotal/core": "1.10.0",
70
- "@zerotal/media": "1.10.0",
71
- "@zerotal/orm": "1.10.0",
72
- "@zerotal/queue": "1.10.0",
73
- "@zerotal/scheduler": "1.10.0",
74
- "@zerotal/session": "1.10.0",
75
- "@zerotal/testing": "1.10.0",
76
- "@zerotal/validator": "1.10.0"
66
+ "@zerotal/auth": "1.11.1",
67
+ "@zerotal/cache": "1.11.1",
68
+ "@zerotal/client": "1.11.1",
69
+ "@zerotal/core": "1.11.1",
70
+ "@zerotal/media": "1.11.1",
71
+ "@zerotal/orm": "1.11.1",
72
+ "@zerotal/queue": "1.11.1",
73
+ "@zerotal/scheduler": "1.11.1",
74
+ "@zerotal/session": "1.11.1",
75
+ "@zerotal/testing": "1.11.1",
76
+ "@zerotal/validator": "1.11.1"
77
77
  },
78
78
  "devDependencies": {
79
79
  "typescript": "^5.8.0"