@ontrails/store 1.0.0-beta.19 → 1.0.0-beta.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # @ontrails/store
2
2
 
3
+ ## 1.0.0-beta.22
4
+
5
+ ### Patch Changes
6
+
7
+ - @ontrails/core@1.0.0-beta.22
8
+
9
+ ## 1.0.0-beta.21
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [99523f2]
14
+ - @ontrails/core@1.0.0-beta.21
15
+
16
+ ## 1.0.0-beta.20
17
+
18
+ ### Patch Changes
19
+
20
+ - 851a2a3: Derive trail caller and blaze input types from the authored input schema while keeping one public input contract.
21
+ - Updated dependencies [851a2a3]
22
+ - @ontrails/core@1.0.0-beta.20
23
+
3
24
  ## 1.0.0-beta.19
4
25
 
5
26
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ontrails/store",
3
- "version": "1.0.0-beta.19",
3
+ "version": "1.0.0-beta.22",
4
4
  "files": [
5
5
  "src/**/*.ts",
6
6
  "!src/**/__tests__/**",
@@ -26,7 +26,7 @@
26
26
  "clean": "rm -rf dist *.tsbuildinfo"
27
27
  },
28
28
  "dependencies": {
29
- "@ontrails/core": "^1.0.0-beta.19"
29
+ "@ontrails/core": "^1.0.0-beta.22"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "zod": "^4.3.5"
@@ -263,7 +263,7 @@ export const reconcile = <
263
263
  const entityContour = createTableContour(options.table);
264
264
  const strategy = options.strategy ?? 'last-write-wins';
265
265
 
266
- return trail<UpsertOf<TTable>, EntityOf<TTable>>(id, {
266
+ return trail(id, {
267
267
  blaze: createReconcileBlaze(options, id),
268
268
  contours: [entityContour],
269
269
  description:
@@ -178,7 +178,7 @@ export const sync = <
178
178
  const sourceContour = createTableContour(options.from.table);
179
179
  const targetContour = createTableContour(options.to.table);
180
180
 
181
- return trail<IdentityInputOf<TSourceTable>, EntityOf<TTargetTable>>(id, {
181
+ return trail(id, {
182
182
  // oxlint-disable-next-line max-statements -- sync blaze reads more clearly as one try/catch with schema validation, transform, and accessor call inline
183
183
  blaze: async (input, ctx) => {
184
184
  try {