logisheets-core 1.14.0 → 1.15.0

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.
@@ -33,16 +33,4 @@ declare class CallerRegistry {
33
33
  private _getOrAssign;
34
34
  }
35
35
  export declare const callerRegistry: CallerRegistry;
36
- /** Minimal shape needed to decide static editability — a subset of the
37
- * engine's FieldInfo. `userEditable` may be a boolean or a formula string. */
38
- export interface FieldEditableInfo {
39
- userEditable?: boolean | string;
40
- }
41
- /**
42
- * Whether a field permits user edits based on its static declaration alone
43
- * (ignoring any dynamic formula). `userEditable === false` blocks; `true`,
44
- * `undefined`, or a formula string permits (the formula is enforced
45
- * downstream via a shadow value).
46
- */
47
- export declare function isFieldUserEditable(fi: FieldEditableInfo | undefined): boolean;
48
36
  export {};
@@ -85,12 +85,9 @@ class CallerRegistry {
85
85
  }
86
86
  }
87
87
  export const callerRegistry = new CallerRegistry();
88
- /**
89
- * Whether a field permits user edits based on its static declaration alone
90
- * (ignoring any dynamic formula). `userEditable === false` blocks; `true`,
91
- * `undefined`, or a formula string permits (the formula is enforced
92
- * downstream via a shadow value).
93
- */
94
- export function isFieldUserEditable(fi) {
95
- return fi?.userEditable !== false;
96
- }
88
+ // `FieldEditableInfo` and `isFieldUserEditable` used to live here, reading a tri-state `userEditable`
89
+ // boolean off the host's own field store. The field's write policy is declared
90
+ // on the engine schema now (`FieldWritePolicy`), and the app reads it from
91
+ // there — see src/core/blocks/field-projection.ts and
92
+ // design/block-field-semantics.md, so there is no host-side flag left to
93
+ // interpret.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "logisheets-core",
3
- "version": "1.14.0",
3
+ "version": "1.15.0",
4
4
  "description": "UI-free LogiSheets logic — runs in the browser or on Node. Depends on logisheets-web only for types; the engine Client is injected by the host.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -63,7 +63,7 @@
63
63
  },
64
64
  "homepage": "https://github.com/logisky/LogiSheets",
65
65
  "peerDependencies": {
66
- "logisheets-web": "^1.14.0"
66
+ "logisheets-web": "^1.15.0"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@types/node": "^18",