@marianmeres/collection-types 2.9.0 → 2.10.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.
- package/AGENTS.md +1 -2
- package/dist/collection.d.ts +1 -1
- package/dist/model.d.ts +2 -4
- package/docs/type-catalog.md +1 -1
- package/package.json +1 -1
package/AGENTS.md
CHANGED
|
@@ -185,8 +185,7 @@ interface ModelDTOOut extends ModelDTOIn {
|
|
|
185
185
|
// Database (+ internal fields)
|
|
186
186
|
interface ModelDbRow extends ModelDTOOut {
|
|
187
187
|
__is_rest_disabled: boolean;
|
|
188
|
-
__searchable:
|
|
189
|
-
__searchable2: string;
|
|
188
|
+
__searchable: string;
|
|
190
189
|
__hierarchy_path: LtreePath | null;
|
|
191
190
|
}
|
|
192
191
|
|
package/dist/collection.d.ts
CHANGED
|
@@ -81,7 +81,7 @@ export interface CollectionDTOIn {
|
|
|
81
81
|
__is_hierarchy_enabled?: boolean;
|
|
82
82
|
/**
|
|
83
83
|
* Lightweight-mode kill switch — when `false`, the fulltext indexing path
|
|
84
|
-
* (`__searchable`,
|
|
84
|
+
* (`__searchable`, generated tsvectors) is skipped. The
|
|
85
85
|
* `data` GIN index remains active, so `data @>` / `data ?` queries still
|
|
86
86
|
* work. Defaults to `true`. **Immutable after creation.**
|
|
87
87
|
*/
|
package/dist/model.d.ts
CHANGED
|
@@ -81,10 +81,8 @@ export interface ModelDTOOut extends ModelDTOIn {
|
|
|
81
81
|
export interface ModelDbRow extends ModelDTOOut {
|
|
82
82
|
/** @internal Disables REST API access */
|
|
83
83
|
__is_rest_disabled: boolean;
|
|
84
|
-
/** @internal
|
|
85
|
-
__searchable:
|
|
86
|
-
/** @internal Full-text search string */
|
|
87
|
-
__searchable2: string;
|
|
84
|
+
/** @internal Full-text search token source (whitespace-joined word list) */
|
|
85
|
+
__searchable: string;
|
|
88
86
|
/** @internal Cached hierarchy path for ancestor queries */
|
|
89
87
|
__hierarchy_path: LtreePath | null;
|
|
90
88
|
}
|
package/docs/type-catalog.md
CHANGED
|
@@ -34,7 +34,7 @@ Relation: RelationDTOIn → RelationDTOOut → RelationDbRow (= Relation)
|
|
|
34
34
|
| ----------------- | ------------------------------------------------------------------- |
|
|
35
35
|
| `ModelDTOIn` | Input DTO (type, parent_id, path, folder, tags, data, meta, flags) |
|
|
36
36
|
| `ModelDTOOut` | + model_id, collection_id, depth, _label, _created_at, _updated_at |
|
|
37
|
-
| `ModelDbRow` | + __is_rest_disabled, __searchable,
|
|
37
|
+
| `ModelDbRow` | + __is_rest_disabled, __searchable, __hierarchy_path |
|
|
38
38
|
| `ModelUpsertData` | + **relations** for relation upserts |
|
|
39
39
|
| `Model<TData>` | Generic type with typed data field |
|
|
40
40
|
|