@prisma-next/framework-components 0.12.0-dev.21 → 0.12.0-dev.22

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.
@@ -310,13 +310,13 @@ interface ControlFamilyInstance<TFamilyId extends string, TSchemaIR> extends Fam
310
310
  readonly driver: ControlDriverInstance<TFamilyId, string>;
311
311
  }): Promise<ReadonlyMap<string, ContractMarkerRecord>>;
312
312
  /**
313
- * Reads the per-migration ledger journal for `space` in apply order.
314
- * Returns an empty array when the ledger table/collection has no rows
315
- * for that space (or when the ledger store does not yet exist).
313
+ * Reads the per-migration ledger journal in apply order. When `space` is
314
+ * omitted, returns rows for every space. Returns an empty array when the
315
+ * ledger store does not yet exist or has no matching rows.
316
316
  */
317
317
  readLedger(options: {
318
318
  readonly driver: ControlDriverInstance<TFamilyId, string>;
319
- readonly space: string;
319
+ readonly space?: string;
320
320
  }): Promise<readonly LedgerEntryRecord[]>;
321
321
  introspect(options: {
322
322
  readonly driver: ControlDriverInstance<TFamilyId, string>;
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "@prisma-next/framework-components",
3
- "version": "0.12.0-dev.21",
3
+ "version": "0.12.0-dev.22",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "description": "Framework component types, assembly logic, and stack creation for Prisma Next",
8
8
  "dependencies": {
9
- "@prisma-next/contract": "0.12.0-dev.21",
10
- "@prisma-next/operations": "0.12.0-dev.21",
11
- "@prisma-next/ts-render": "0.12.0-dev.21",
12
- "@prisma-next/utils": "0.12.0-dev.21",
9
+ "@prisma-next/contract": "0.12.0-dev.22",
10
+ "@prisma-next/operations": "0.12.0-dev.22",
11
+ "@prisma-next/ts-render": "0.12.0-dev.22",
12
+ "@prisma-next/utils": "0.12.0-dev.22",
13
13
  "@standard-schema/spec": "^1.1.0",
14
14
  "arktype": "^2.2.0"
15
15
  },
16
16
  "devDependencies": {
17
- "@prisma-next/tsconfig": "0.12.0-dev.21",
18
- "@prisma-next/tsdown": "0.12.0-dev.21",
17
+ "@prisma-next/tsconfig": "0.12.0-dev.22",
18
+ "@prisma-next/tsdown": "0.12.0-dev.22",
19
19
  "tsdown": "0.22.0",
20
20
  "typescript": "5.9.3",
21
21
  "vitest": "4.1.6"
@@ -96,13 +96,13 @@ export interface ControlFamilyInstance<TFamilyId extends string, TSchemaIR>
96
96
  }): Promise<ReadonlyMap<string, ContractMarkerRecord>>;
97
97
 
98
98
  /**
99
- * Reads the per-migration ledger journal for `space` in apply order.
100
- * Returns an empty array when the ledger table/collection has no rows
101
- * for that space (or when the ledger store does not yet exist).
99
+ * Reads the per-migration ledger journal in apply order. When `space` is
100
+ * omitted, returns rows for every space. Returns an empty array when the
101
+ * ledger store does not yet exist or has no matching rows.
102
102
  */
103
103
  readLedger(options: {
104
104
  readonly driver: ControlDriverInstance<TFamilyId, string>;
105
- readonly space: string;
105
+ readonly space?: string;
106
106
  }): Promise<readonly LedgerEntryRecord[]>;
107
107
 
108
108
  introspect(options: {