n8n-nodes-lifespace 0.1.1 → 0.1.2

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/README.md CHANGED
@@ -64,9 +64,15 @@ A **LifeSpace Trigger** additionally uses a **LifeSpace Webhook Signing** creden
64
64
 
65
65
  Runtime Discovery determines which Spaces, Record Types, fields, queries, Actions and relation lookup capabilities the current API credential can use. Execution authorization is still enforced by LifeSpace from the current principal, credential scope, Application × Model Access and current Space/Data Grant authority.
66
66
 
67
+ ## Generated Record UX
68
+
69
+ Create/Update now keep scalar fields in n8n Resource Mapper while using native n8n controls for LifeSpace calendar-date fields and supported relations. Single Person relations use a selector; multi-Person relations use multi-select. List / Query offers typed filter variants for text, enum, boolean, number, date/time and authorized Person relations, while retaining the raw legacy filter as an expression/compatibility escape hatch.
70
+
71
+ Core Kernel 0.24 adds the optional human-readable `spaceName` Runtime Discovery projection. The node displays it when present and continues to submit the stable `spc_*` ID; Core 0.23 remains compatible and falls back to displaying the raw Space ID.
72
+
67
73
  ## LifeSpace contract compatibility
68
74
 
69
- This package follows the current LifeSpace Core Kernel `0.23.0` contract family.
75
+ This package follows the current LifeSpace Core Kernel `0.24.0` contract family.
70
76
 
71
77
  The UX depends on these Kernel capabilities:
72
78
 
@@ -75,7 +81,8 @@ The UX depends on these Kernel capabilities:
75
81
  - `0.20.0`: Action semantic input separated from optimistic-concurrency metadata;
76
82
  - `0.21.0`: invitation-token transport hardening retained by the current baseline;
77
83
  - `0.22.0`: authoritative field `title` metadata plus ordered repeatable Generic Query sort metadata;
78
- - `0.23.0`: authorized source-field-aware Relation Target Lookup for `person` / `person_list` fields.
84
+ - `0.23.0`: authorized source-field-aware Relation Target Lookup for `person` / `person_list` fields;
85
+ - `0.24.0`: authorized human-readable `spaceName` projection in Runtime Discovery while `spaceId` remains the stable identifier.
79
86
 
80
87
  Ordinary Record CRUD/Action routes remain model-contract surfaces derived from published Model Definitions; the n8n adapter does not maintain a second copy of those schemas.
81
88
 
@@ -143,7 +150,7 @@ When Runtime Discovery advertises supported Relation Target Lookup, `person` and
143
150
 
144
151
  Older compatible Discovery responses without relation lookup metadata retain the raw-ID field behavior. `record` / `record_list` fields also retain raw-ID behavior until LifeSpace defines canonical generic Record reference-label semantics; the adapter does not guess labels from fields such as `name`, `title` or `summary`.
145
152
 
146
- The current n8n Resource Mapper loads bounded relation options when the field schema is requested. Very large target sets should use expressions with stable IDs until n8n exposes a searchable per-field Resource Mapper option surface that can consume LifeSpace's paginated/searchable lookup directly.
153
+ The current n8n UI loads bounded relation options when the relevant field is configured. Very large target sets should use expressions with stable IDs until n8n exposes a searchable dynamic relation option surface that can consume LifeSpace's paginated/searchable lookup directly.
147
154
 
148
155
  ### Update and Delete
149
156
 
@@ -271,7 +278,7 @@ The package intentionally has no runtime `dependencies`. It must not read enviro
271
278
 
272
279
  ## Remaining upstream-dependent UX
273
280
 
274
- The adapter deliberately does not invent missing platform semantics. Remaining relation work is limited to `record` / `record_list` selectors after LifeSpace defines canonical generic Record reference-label semantics. Person relation selection already consumes the LifeSpace 0.23 Runtime/Discovery contract.
281
+ The adapter deliberately does not invent missing platform semantics. Remaining relation work is limited to `record` / `record_list` selectors after LifeSpace defines canonical generic Record reference-label semantics. Person relation selection consumes the LifeSpace 0.23 relation lookup contract, and Space labels consume the 0.24 Runtime Discovery projection.
275
282
 
276
283
  ## License
277
284
 
@@ -7,6 +7,17 @@ export declare class LifeSpace implements INodeType {
7
7
  getRecordTypes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
8
8
  getActions(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
9
9
  getFilterableFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
10
+ getWritableDateFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
11
+ getSingleRelationFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
12
+ getMultiRelationFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
13
+ getRelationTargetsForCurrentField(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
14
+ getTextFilterableFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
15
+ getEnumFilterableFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
16
+ getBooleanFilterableFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
17
+ getNumericFilterableFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
18
+ getTemporalFilterableFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
19
+ getPersonFilterableFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
20
+ getEnumValuesForCurrentFilter(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
10
21
  getSortableFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
11
22
  };
12
23
  resourceMapping: {