@protobase/schema 0.23.12 → 0.23.14
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/dist/resource.d.ts +2 -2
- package/dist/resource.js +2 -2
- package/package.json +1 -1
package/dist/resource.d.ts
CHANGED
|
@@ -69,10 +69,10 @@ export declare class ResourceBuilder<F extends FieldsInput = {}, K = never> {
|
|
|
69
69
|
/** The field holding the owning user's id, which `.own` capability scopes filter on. */
|
|
70
70
|
owner(pick: (r: FieldRefs<F>) => Ref): ResourceBuilder<F, K>;
|
|
71
71
|
/**
|
|
72
|
-
* The integer field holding the records' order, 1 the first, which a list's **
|
|
72
|
+
* The integer field holding the records' order, 1 the first, which a list's **Reorder** button changes by dragging the
|
|
73
73
|
* records; a move renumbers them 1, 2, 3, ... in one batch `reorder`. With `within`, a relation, each parent's records
|
|
74
74
|
* have an order of their own, as an invoice's items do, sorted in the parent's related section. The field must be
|
|
75
|
-
* sortable and `within` filterable. See [
|
|
75
|
+
* sortable and `within` filterable. See [Reordering by hand](website/src/content/docs/reference/ui-config.mdx#reordering-by-hand).
|
|
76
76
|
*
|
|
77
77
|
* @example
|
|
78
78
|
* ```ts
|
package/dist/resource.js
CHANGED
|
@@ -78,10 +78,10 @@ var ResourceBuilder = class ResourceBuilder {
|
|
|
78
78
|
return this.next({ owner: pick(this.refs()).name });
|
|
79
79
|
}
|
|
80
80
|
/**
|
|
81
|
-
* The integer field holding the records' order, 1 the first, which a list's **
|
|
81
|
+
* The integer field holding the records' order, 1 the first, which a list's **Reorder** button changes by dragging the
|
|
82
82
|
* records; a move renumbers them 1, 2, 3, ... in one batch `reorder`. With `within`, a relation, each parent's records
|
|
83
83
|
* have an order of their own, as an invoice's items do, sorted in the parent's related section. The field must be
|
|
84
|
-
* sortable and `within` filterable. See [
|
|
84
|
+
* sortable and `within` filterable. See [Reordering by hand](website/src/content/docs/reference/ui-config.mdx#reordering-by-hand).
|
|
85
85
|
*
|
|
86
86
|
* @example
|
|
87
87
|
* ```ts
|