@substrat-run/engine-booking 0.3.4 → 0.3.6

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.
@@ -9,9 +9,9 @@ import { z } from 'zod';
9
9
  * without the resource it reserves.
10
10
  */
11
11
  export declare const bookingEntities: {
12
- resource: {
13
- table: string;
14
- fields: z.ZodObject<{
12
+ readonly resource: {
13
+ readonly table: "booking_resources";
14
+ readonly fields: z.ZodObject<{
15
15
  id: z.ZodString;
16
16
  kind: z.ZodString;
17
17
  name: z.ZodString;
@@ -20,9 +20,9 @@ export declare const bookingEntities: {
20
20
  created_at: z.ZodString;
21
21
  }, z.core.$strip>;
22
22
  };
23
- reservation: {
24
- table: string;
25
- fields: z.ZodObject<{
23
+ readonly reservation: {
24
+ readonly table: "booking_reservations";
25
+ readonly fields: z.ZodObject<{
26
26
  id: z.ZodString;
27
27
  resource_id: z.ZodString;
28
28
  starts_at: z.ZodString;
@@ -43,7 +43,7 @@ export declare const bookingEntities: {
43
43
  created_by: z.ZodString;
44
44
  created_at: z.ZodString;
45
45
  }, z.core.$strip>;
46
- parents: "resource"[];
46
+ readonly parents: readonly ["resource"];
47
47
  };
48
48
  };
49
49
  export declare const resourceRow: z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../src/entities.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe;;QAExB,KAAK;QACL,MAAM;;;;;;;;;;QAUN,KAAK;QACL,MAAM;;;;;;;;;;;;;;;;;;;;;QAeN,OAAO;;CAGT,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;;;iBAAkC,CAAC;AAC3D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;iBAAqC,CAAC"}
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../src/entities.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgC1B,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;;;iBAAkC,CAAC;AAC3D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;iBAAqC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@substrat-run/engine-booking",
3
- "version": "0.3.4",
3
+ "version": "0.3.6",
4
4
  "description": "Substrat engine: reservations — resource + interval + capacity, one allocation invariant, no locks",
5
5
  "license": "AGPL-3.0-only",
6
6
  "repository": {
@@ -25,15 +25,15 @@
25
25
  "access": "public"
26
26
  },
27
27
  "dependencies": {
28
- "@substrat-run/kernel": "^0.77.0",
29
- "@substrat-run/contracts": "^0.77.0"
28
+ "@substrat-run/kernel": "^0.79.0",
29
+ "@substrat-run/contracts": "^0.79.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "typescript": "^7.0.0",
33
33
  "vitest": "^3.2.7",
34
34
  "zod": "^4.4.3",
35
- "@substrat-run/engine-test-kit": "^0.3.4",
36
- "@substrat-run/model-emit": "0.4.0"
35
+ "@substrat-run/engine-test-kit": "^0.3.6",
36
+ "@substrat-run/model-emit": "0.5.0"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "zod": "^4.4.0"