tinybase 5.0.0-beta.27 → 5.0.0-beta.28

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.
Files changed (249) hide show
  1. package/@types/_internal/ui-react/with-schemas/index.d.cts +274 -0
  2. package/@types/_internal/ui-react/with-schemas/index.d.ts +274 -0
  3. package/@types/checkpoints/index.d.cts +30 -1
  4. package/@types/checkpoints/index.d.ts +30 -1
  5. package/@types/checkpoints/with-schemas/index.d.cts +30 -1
  6. package/@types/checkpoints/with-schemas/index.d.ts +30 -1
  7. package/@types/common/index.d.cts +9 -0
  8. package/@types/common/index.d.ts +9 -0
  9. package/@types/common/with-schemas/index.d.cts +9 -0
  10. package/@types/common/with-schemas/index.d.ts +9 -0
  11. package/@types/index.d.cts +1 -0
  12. package/@types/index.d.ts +1 -0
  13. package/@types/indexes/index.d.cts +32 -1
  14. package/@types/indexes/index.d.ts +32 -1
  15. package/@types/indexes/with-schemas/index.d.cts +32 -1
  16. package/@types/indexes/with-schemas/index.d.ts +32 -1
  17. package/@types/mergeable-store/index.d.cts +0 -2
  18. package/@types/mergeable-store/index.d.ts +0 -2
  19. package/@types/mergeable-store/with-schemas/index.d.cts +2 -2
  20. package/@types/mergeable-store/with-schemas/index.d.ts +2 -2
  21. package/@types/metrics/index.d.cts +30 -4
  22. package/@types/metrics/index.d.ts +30 -4
  23. package/@types/metrics/with-schemas/index.d.cts +30 -4
  24. package/@types/metrics/with-schemas/index.d.ts +30 -4
  25. package/@types/persisters/index.d.cts +87 -25
  26. package/@types/persisters/index.d.ts +87 -25
  27. package/@types/persisters/persister-automerge/index.d.cts +4 -4
  28. package/@types/persisters/persister-automerge/index.d.ts +4 -4
  29. package/@types/persisters/persister-automerge/with-schemas/index.d.cts +4 -4
  30. package/@types/persisters/persister-automerge/with-schemas/index.d.ts +4 -4
  31. package/@types/persisters/persister-browser/index.d.cts +7 -4
  32. package/@types/persisters/persister-browser/index.d.ts +7 -4
  33. package/@types/persisters/persister-browser/with-schemas/index.d.cts +7 -4
  34. package/@types/persisters/persister-browser/with-schemas/index.d.ts +7 -4
  35. package/@types/persisters/persister-cr-sqlite-wasm/index.d.cts +4 -4
  36. package/@types/persisters/persister-cr-sqlite-wasm/index.d.ts +4 -4
  37. package/@types/persisters/persister-cr-sqlite-wasm/with-schemas/index.d.cts +4 -4
  38. package/@types/persisters/persister-cr-sqlite-wasm/with-schemas/index.d.ts +4 -4
  39. package/@types/persisters/persister-electric-sql/index.d.cts +4 -4
  40. package/@types/persisters/persister-electric-sql/index.d.ts +4 -4
  41. package/@types/persisters/persister-electric-sql/with-schemas/index.d.cts +4 -4
  42. package/@types/persisters/persister-electric-sql/with-schemas/index.d.ts +4 -4
  43. package/@types/persisters/persister-expo-sqlite/index.d.cts +4 -4
  44. package/@types/persisters/persister-expo-sqlite/index.d.ts +4 -4
  45. package/@types/persisters/persister-expo-sqlite/with-schemas/index.d.cts +4 -4
  46. package/@types/persisters/persister-expo-sqlite/with-schemas/index.d.ts +4 -4
  47. package/@types/persisters/persister-file/index.d.cts +6 -4
  48. package/@types/persisters/persister-file/index.d.ts +6 -4
  49. package/@types/persisters/persister-file/with-schemas/index.d.cts +6 -4
  50. package/@types/persisters/persister-file/with-schemas/index.d.ts +6 -4
  51. package/@types/persisters/persister-indexed-db/index.d.cts +5 -4
  52. package/@types/persisters/persister-indexed-db/index.d.ts +5 -4
  53. package/@types/persisters/persister-indexed-db/with-schemas/index.d.cts +5 -4
  54. package/@types/persisters/persister-indexed-db/with-schemas/index.d.ts +5 -4
  55. package/@types/persisters/persister-libsql/index.d.cts +5 -4
  56. package/@types/persisters/persister-libsql/index.d.ts +5 -4
  57. package/@types/persisters/persister-libsql/with-schemas/index.d.cts +5 -4
  58. package/@types/persisters/persister-libsql/with-schemas/index.d.ts +5 -4
  59. package/@types/persisters/persister-partykit-client/index.d.cts +12 -6
  60. package/@types/persisters/persister-partykit-client/index.d.ts +12 -6
  61. package/@types/persisters/persister-partykit-client/with-schemas/index.d.cts +12 -6
  62. package/@types/persisters/persister-partykit-client/with-schemas/index.d.ts +12 -6
  63. package/@types/persisters/persister-partykit-server/index.d.cts +11 -3
  64. package/@types/persisters/persister-partykit-server/index.d.ts +11 -3
  65. package/@types/persisters/persister-partykit-server/with-schemas/index.d.cts +11 -3
  66. package/@types/persisters/persister-partykit-server/with-schemas/index.d.ts +11 -3
  67. package/@types/persisters/persister-powersync/index.d.cts +5 -4
  68. package/@types/persisters/persister-powersync/index.d.ts +5 -4
  69. package/@types/persisters/persister-powersync/with-schemas/index.d.cts +5 -4
  70. package/@types/persisters/persister-powersync/with-schemas/index.d.ts +5 -4
  71. package/@types/persisters/persister-remote/index.d.cts +6 -4
  72. package/@types/persisters/persister-remote/index.d.ts +6 -4
  73. package/@types/persisters/persister-remote/with-schemas/index.d.cts +6 -4
  74. package/@types/persisters/persister-remote/with-schemas/index.d.ts +6 -4
  75. package/@types/persisters/persister-sqlite-wasm/index.d.cts +4 -4
  76. package/@types/persisters/persister-sqlite-wasm/index.d.ts +4 -4
  77. package/@types/persisters/persister-sqlite-wasm/with-schemas/index.d.cts +4 -4
  78. package/@types/persisters/persister-sqlite-wasm/with-schemas/index.d.ts +4 -4
  79. package/@types/persisters/persister-sqlite3/index.d.cts +4 -4
  80. package/@types/persisters/persister-sqlite3/index.d.ts +4 -4
  81. package/@types/persisters/persister-sqlite3/with-schemas/index.d.cts +4 -4
  82. package/@types/persisters/persister-sqlite3/with-schemas/index.d.ts +4 -4
  83. package/@types/persisters/persister-yjs/index.d.cts +4 -4
  84. package/@types/persisters/persister-yjs/index.d.ts +4 -4
  85. package/@types/persisters/persister-yjs/with-schemas/index.d.cts +4 -4
  86. package/@types/persisters/persister-yjs/with-schemas/index.d.ts +4 -4
  87. package/@types/persisters/with-schemas/index.d.cts +87 -25
  88. package/@types/persisters/with-schemas/index.d.ts +87 -25
  89. package/@types/queries/index.d.cts +64 -4
  90. package/@types/queries/index.d.ts +64 -4
  91. package/@types/queries/with-schemas/index.d.cts +64 -4
  92. package/@types/queries/with-schemas/index.d.ts +64 -4
  93. package/@types/relationships/index.d.cts +34 -1
  94. package/@types/relationships/index.d.ts +34 -1
  95. package/@types/relationships/with-schemas/index.d.cts +34 -1
  96. package/@types/relationships/with-schemas/index.d.ts +34 -1
  97. package/@types/store/index.d.cts +125 -0
  98. package/@types/store/index.d.ts +125 -0
  99. package/@types/store/with-schemas/index.d.cts +125 -0
  100. package/@types/store/with-schemas/index.d.ts +125 -0
  101. package/@types/synchronizers/index.d.cts +32 -10
  102. package/@types/synchronizers/index.d.ts +32 -10
  103. package/@types/synchronizers/synchronizer-broadcast-channel/index.d.cts +114 -0
  104. package/@types/synchronizers/synchronizer-broadcast-channel/index.d.ts +114 -0
  105. package/@types/synchronizers/synchronizer-broadcast-channel/with-schemas/index.d.cts +128 -0
  106. package/@types/synchronizers/synchronizer-broadcast-channel/with-schemas/index.d.ts +128 -0
  107. package/@types/synchronizers/synchronizer-local/index.d.cts +16 -17
  108. package/@types/synchronizers/synchronizer-local/index.d.ts +16 -17
  109. package/@types/synchronizers/synchronizer-local/with-schemas/index.d.cts +16 -17
  110. package/@types/synchronizers/synchronizer-local/with-schemas/index.d.ts +16 -17
  111. package/@types/synchronizers/synchronizer-ws-client/index.d.cts +66 -6
  112. package/@types/synchronizers/synchronizer-ws-client/index.d.ts +66 -6
  113. package/@types/synchronizers/synchronizer-ws-client/with-schemas/index.d.cts +77 -6
  114. package/@types/synchronizers/synchronizer-ws-client/with-schemas/index.d.ts +77 -6
  115. package/@types/synchronizers/synchronizer-ws-server/index.d.cts +486 -7
  116. package/@types/synchronizers/synchronizer-ws-server/index.d.ts +486 -7
  117. package/@types/synchronizers/synchronizer-ws-server/with-schemas/index.d.cts +486 -7
  118. package/@types/synchronizers/synchronizer-ws-server/with-schemas/index.d.ts +486 -7
  119. package/@types/synchronizers/with-schemas/index.d.cts +29 -11
  120. package/@types/synchronizers/with-schemas/index.d.ts +29 -11
  121. package/@types/tools/index.d.cts +22 -0
  122. package/@types/tools/index.d.ts +22 -0
  123. package/@types/tools/with-schemas/index.d.cts +22 -0
  124. package/@types/tools/with-schemas/index.d.ts +22 -0
  125. package/@types/ui-react/index.d.cts +375 -1
  126. package/@types/ui-react/index.d.ts +375 -1
  127. package/@types/ui-react/with-schemas/index.d.cts +100 -1
  128. package/@types/ui-react/with-schemas/index.d.ts +100 -1
  129. package/@types/ui-react-dom/index.d.cts +112 -0
  130. package/@types/ui-react-dom/index.d.ts +112 -0
  131. package/@types/ui-react-dom/with-schemas/index.d.cts +112 -0
  132. package/@types/ui-react-dom/with-schemas/index.d.ts +112 -0
  133. package/@types/ui-react-inspector/index.d.cts +6 -2
  134. package/@types/ui-react-inspector/index.d.ts +6 -2
  135. package/@types/ui-react-inspector/with-schemas/index.d.cts +118 -2
  136. package/@types/ui-react-inspector/with-schemas/index.d.ts +118 -2
  137. package/@types/with-schemas/index.d.cts +1 -0
  138. package/@types/with-schemas/index.d.ts +1 -0
  139. package/cjs/es6/index.cjs +2 -2
  140. package/cjs/es6/min/synchronizers/synchronizer-broadcast-channel/index.cjs +1 -0
  141. package/cjs/es6/min/synchronizers/synchronizer-broadcast-channel/index.cjs.gz +0 -0
  142. package/cjs/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs +1 -0
  143. package/cjs/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs.gz +0 -0
  144. package/cjs/es6/min/synchronizers/synchronizer-ws-client/index.cjs +1 -1
  145. package/cjs/es6/min/synchronizers/synchronizer-ws-client/index.cjs.gz +0 -0
  146. package/cjs/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.cjs +1 -1
  147. package/cjs/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.cjs.gz +0 -0
  148. package/cjs/es6/synchronizers/index.cjs +2 -2
  149. package/cjs/es6/synchronizers/synchronizer-broadcast-channel/index.cjs +628 -0
  150. package/cjs/es6/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs +628 -0
  151. package/cjs/es6/synchronizers/synchronizer-local/index.cjs +4 -4
  152. package/cjs/es6/synchronizers/synchronizer-local/with-schemas/index.cjs +4 -4
  153. package/cjs/es6/synchronizers/synchronizer-ws-client/index.cjs +15 -21
  154. package/cjs/es6/synchronizers/synchronizer-ws-client/with-schemas/index.cjs +15 -21
  155. package/cjs/es6/synchronizers/with-schemas/index.cjs +2 -2
  156. package/cjs/es6/with-schemas/index.cjs +2 -2
  157. package/cjs/index.cjs +2 -2
  158. package/cjs/min/synchronizers/synchronizer-broadcast-channel/index.cjs +1 -0
  159. package/cjs/min/synchronizers/synchronizer-broadcast-channel/index.cjs.gz +0 -0
  160. package/cjs/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs +1 -0
  161. package/cjs/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs.gz +0 -0
  162. package/cjs/min/synchronizers/synchronizer-ws-client/index.cjs +1 -1
  163. package/cjs/min/synchronizers/synchronizer-ws-client/index.cjs.gz +0 -0
  164. package/cjs/min/synchronizers/synchronizer-ws-client/with-schemas/index.cjs +1 -1
  165. package/cjs/min/synchronizers/synchronizer-ws-client/with-schemas/index.cjs.gz +0 -0
  166. package/cjs/synchronizers/index.cjs +2 -2
  167. package/cjs/synchronizers/synchronizer-broadcast-channel/index.cjs +500 -0
  168. package/cjs/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs +500 -0
  169. package/cjs/synchronizers/synchronizer-local/index.cjs +4 -4
  170. package/cjs/synchronizers/synchronizer-local/with-schemas/index.cjs +4 -4
  171. package/cjs/synchronizers/synchronizer-ws-client/index.cjs +15 -21
  172. package/cjs/synchronizers/synchronizer-ws-client/with-schemas/index.cjs +15 -21
  173. package/cjs/synchronizers/with-schemas/index.cjs +2 -2
  174. package/cjs/with-schemas/index.cjs +2 -2
  175. package/es6/index.js +2 -2
  176. package/es6/min/synchronizers/synchronizer-broadcast-channel/index.js +1 -0
  177. package/es6/min/synchronizers/synchronizer-broadcast-channel/index.js.gz +0 -0
  178. package/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +1 -0
  179. package/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js.gz +0 -0
  180. package/es6/min/synchronizers/synchronizer-ws-client/index.js +1 -1
  181. package/es6/min/synchronizers/synchronizer-ws-client/index.js.gz +0 -0
  182. package/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.js +1 -1
  183. package/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.js.gz +0 -0
  184. package/es6/synchronizers/index.js +2 -2
  185. package/es6/synchronizers/synchronizer-broadcast-channel/index.js +626 -0
  186. package/es6/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +626 -0
  187. package/es6/synchronizers/synchronizer-local/index.js +4 -4
  188. package/es6/synchronizers/synchronizer-local/with-schemas/index.js +4 -4
  189. package/es6/synchronizers/synchronizer-ws-client/index.js +15 -21
  190. package/es6/synchronizers/synchronizer-ws-client/with-schemas/index.js +15 -21
  191. package/es6/synchronizers/with-schemas/index.js +2 -2
  192. package/es6/with-schemas/index.js +2 -2
  193. package/index.js +2 -2
  194. package/min/synchronizers/synchronizer-broadcast-channel/index.js +1 -0
  195. package/min/synchronizers/synchronizer-broadcast-channel/index.js.gz +0 -0
  196. package/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +1 -0
  197. package/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js.gz +0 -0
  198. package/min/synchronizers/synchronizer-ws-client/index.js +1 -1
  199. package/min/synchronizers/synchronizer-ws-client/index.js.gz +0 -0
  200. package/min/synchronizers/synchronizer-ws-client/with-schemas/index.js +1 -1
  201. package/min/synchronizers/synchronizer-ws-client/with-schemas/index.js.gz +0 -0
  202. package/package.json +105 -1
  203. package/readme.md +9 -9
  204. package/releases.md +4 -4
  205. package/synchronizers/index.js +2 -2
  206. package/synchronizers/synchronizer-broadcast-channel/index.js +498 -0
  207. package/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +498 -0
  208. package/synchronizers/synchronizer-local/index.js +4 -4
  209. package/synchronizers/synchronizer-local/with-schemas/index.js +4 -4
  210. package/synchronizers/synchronizer-ws-client/index.js +15 -21
  211. package/synchronizers/synchronizer-ws-client/with-schemas/index.js +15 -21
  212. package/synchronizers/with-schemas/index.js +2 -2
  213. package/umd/es6/index.js +2 -2
  214. package/umd/es6/min/synchronizers/synchronizer-broadcast-channel/index.js +1 -0
  215. package/umd/es6/min/synchronizers/synchronizer-broadcast-channel/index.js.gz +0 -0
  216. package/umd/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +1 -0
  217. package/umd/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js.gz +0 -0
  218. package/umd/es6/min/synchronizers/synchronizer-ws-client/index.js +1 -1
  219. package/umd/es6/min/synchronizers/synchronizer-ws-client/index.js.gz +0 -0
  220. package/umd/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.js +1 -1
  221. package/umd/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.js.gz +0 -0
  222. package/umd/es6/synchronizers/index.js +2 -2
  223. package/umd/es6/synchronizers/synchronizer-broadcast-channel/index.js +654 -0
  224. package/umd/es6/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +654 -0
  225. package/umd/es6/synchronizers/synchronizer-local/index.js +4 -4
  226. package/umd/es6/synchronizers/synchronizer-local/with-schemas/index.js +4 -4
  227. package/umd/es6/synchronizers/synchronizer-ws-client/index.js +15 -21
  228. package/umd/es6/synchronizers/synchronizer-ws-client/with-schemas/index.js +15 -21
  229. package/umd/es6/synchronizers/with-schemas/index.js +2 -2
  230. package/umd/es6/with-schemas/index.js +2 -2
  231. package/umd/index.js +2 -2
  232. package/umd/min/synchronizers/synchronizer-broadcast-channel/index.js +1 -0
  233. package/umd/min/synchronizers/synchronizer-broadcast-channel/index.js.gz +0 -0
  234. package/umd/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +1 -0
  235. package/umd/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js.gz +0 -0
  236. package/umd/min/synchronizers/synchronizer-ws-client/index.js +1 -1
  237. package/umd/min/synchronizers/synchronizer-ws-client/index.js.gz +0 -0
  238. package/umd/min/synchronizers/synchronizer-ws-client/with-schemas/index.js +1 -1
  239. package/umd/min/synchronizers/synchronizer-ws-client/with-schemas/index.js.gz +0 -0
  240. package/umd/synchronizers/index.js +2 -2
  241. package/umd/synchronizers/synchronizer-broadcast-channel/index.js +516 -0
  242. package/umd/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +516 -0
  243. package/umd/synchronizers/synchronizer-local/index.js +4 -4
  244. package/umd/synchronizers/synchronizer-local/with-schemas/index.js +4 -4
  245. package/umd/synchronizers/synchronizer-ws-client/index.js +15 -21
  246. package/umd/synchronizers/synchronizer-ws-client/with-schemas/index.js +15 -21
  247. package/umd/synchronizers/with-schemas/index.js +2 -2
  248. package/umd/with-schemas/index.js +2 -2
  249. package/with-schemas/index.js +2 -2
@@ -50,25 +50,35 @@ type TablesProps<Schemas extends OptionalSchemas> = {
50
50
  /**
51
51
  * The Store to be accessed: omit for the default context Store, provide an Id
52
52
  * for a named context Store, or provide an explicit reference.
53
+ * @category Prop
54
+ * @since v1.0.0
53
55
  */
54
56
  readonly store?: StoreOrStoreId<Schemas>;
55
57
  /**
56
58
  * A component for rendering each Table in the Store (to override the default
57
59
  * TableView component).
60
+ * @category Prop
61
+ * @since v1.0.0
58
62
  */
59
63
  readonly tableComponent?: ComponentType<TableProps<Schemas>>;
60
64
  /**
61
65
  * A custom function for generating extra props for each Table component based
62
66
  * on its Id.
67
+ * @category Prop
68
+ * @since v1.0.0
63
69
  */
64
70
  readonly getTableComponentProps?: (tableId: Id) => ExtraProps;
65
71
  /**
66
72
  * A component or string to separate each Table component.
73
+ * @category Prop
74
+ * @since v1.0.0
67
75
  */
68
76
  readonly separator?: ReactElement | string;
69
77
  /**
70
78
  * Whether the component should also render the Ids of each Table, and its
71
79
  * descendent objects, to assist with debugging.
80
+ * @category Prop
81
+ * @since v1.0.0
72
82
  */
73
83
  readonly debugIds?: boolean;
74
84
  };
@@ -83,35 +93,49 @@ export type TableProps<
83
93
  ? {
84
94
  /**
85
95
  * The Id of the Table in the Store to be rendered.
96
+ * @category Prop
97
+ * @since v1.0.0
86
98
  */
87
99
  readonly tableId: TableId;
88
100
  /**
89
101
  * The Store to be accessed: omit for the default context Store, provide an Id
90
102
  * for a named context Store, or provide an explicit reference.
103
+ * @category Prop
104
+ * @since v1.0.0
91
105
  */
92
106
  readonly store?: StoreOrStoreId<Schemas>;
93
107
  /**
94
108
  * A custom component for rendering each Row in the Table (to override the
95
109
  * default RowView component).
110
+ * @category Prop
111
+ * @since v1.0.0
96
112
  */
97
113
  readonly rowComponent?: ComponentType<RowProps<Schemas, TableId>>;
98
114
  /**
99
115
  * A function for generating extra props for each custom Row component based
100
116
  * on its Id.
117
+ * @category Prop
118
+ * @since v1.0.0
101
119
  */
102
120
  readonly getRowComponentProps?: (rowId: Id) => ExtraProps;
103
121
  /**
104
122
  * An optional list of Cell Ids to use for rendering a prescribed set of the
105
123
  * Table's Cells in a given order.
124
+ * @category Prop
125
+ * @since v1.0.0
106
126
  */
107
127
  readonly customCellIds?: CellIdFromSchema<Schemas[0], TableId>[];
108
128
  /**
109
129
  * A component or string to separate each Row component.
130
+ * @category Prop
131
+ * @since v1.0.0
110
132
  */
111
133
  readonly separator?: ReactElement | string;
112
134
  /**
113
135
  * Whether the component should also render the Id of the Table, and its
114
136
  * descendent objects, to assist with debugging.
137
+ * @category Prop
138
+ * @since v1.0.0
115
139
  */
116
140
  readonly debugIds?: boolean;
117
141
  }
@@ -128,52 +152,74 @@ export type SortedTableProps<
128
152
  ? {
129
153
  /**
130
154
  * The Id of the Table in the Store to be rendered.
155
+ * @category Prop
156
+ * @since v1.0.0
131
157
  */
132
158
  readonly tableId: TableId;
133
159
  /**
134
160
  * The Id of the Cell whose values are used for the sorting. If omitted, the
135
161
  * view will sort the Row Id itself.
162
+ * @category Prop
163
+ * @since v1.0.0
136
164
  */
137
165
  readonly cellId?: CellIdFromSchema<Schemas[0], TableId>;
138
166
  /**
139
167
  * Whether the sorting should be in descending order.
168
+ * @category Prop
169
+ * @since v1.0.0
140
170
  */
141
171
  readonly descending?: boolean;
142
172
  /**
143
173
  * The number of Row Ids to skip for pagination purposes.
174
+ * @category Prop
175
+ * @since v1.0.0
144
176
  */
145
177
  readonly offset?: number;
146
178
  /**
147
179
  * The maximum number of Row Ids to return.
180
+ * @category Prop
181
+ * @since v1.0.0
148
182
  */
149
183
  readonly limit?: number;
150
184
  /**
151
185
  * The Store to be accessed: omit for the default context Store, provide an Id
152
186
  * for a named context Store, or provide an explicit reference.
187
+ * @category Prop
188
+ * @since v1.0.0
153
189
  */
154
190
  readonly store?: StoreOrStoreId<Schemas>;
155
191
  /**
156
192
  * A custom component for rendering each Row in the Table (to override the
157
193
  * default RowView component).
194
+ * @category Prop
195
+ * @since v1.0.0
158
196
  */
159
197
  readonly rowComponent?: ComponentType<RowProps<Schemas, TableId>>;
160
198
  /**
161
199
  * A function for generating extra props for each custom Row component based
162
200
  * on its Id.
201
+ * @category Prop
202
+ * @since v1.0.0
163
203
  */
164
204
  readonly getRowComponentProps?: (rowId: Id) => ExtraProps;
165
205
  /**
166
206
  * An optional list of Cell Ids to use for rendering a prescribed set of the
167
207
  * sorted Table's Cells in a given order.
208
+ * @category Prop
209
+ * @since v1.0.0
168
210
  */
169
211
  readonly customCellIds?: CellIdFromSchema<Schemas[0], TableId>[];
170
212
  /**
171
213
  * A component or string to separate each Row component.
214
+ * @category Prop
215
+ * @since v1.0.0
172
216
  */
173
217
  readonly separator?: ReactElement | string;
174
218
  /**
175
219
  * Whether the component should also render the Id of the Table, and its
176
220
  * descendent objects, to assist with debugging.
221
+ * @category Prop
222
+ * @since v1.0.0
177
223
  */
178
224
  readonly debugIds?: boolean;
179
225
  }
@@ -190,39 +236,55 @@ export type RowProps<
190
236
  ? {
191
237
  /**
192
238
  * The Id of the Table in the Store.
239
+ * @category Prop
240
+ * @since v1.0.0
193
241
  */
194
242
  readonly tableId: TableId;
195
243
  /**
196
244
  * The Id of the Row in the Table to be rendered.
245
+ * @category Prop
246
+ * @since v1.0.0
197
247
  */
198
248
  readonly rowId: Id;
199
249
  /**
200
250
  * The Store to be accessed: omit for the default context Store, provide an Id
201
251
  * for a named context Store, or provide an explicit reference.
252
+ * @category Prop
253
+ * @since v1.0.0
202
254
  */
203
255
  readonly store?: StoreOrStoreId<Schemas>;
204
256
  /**
205
257
  * A custom component for rendering each Cell in the Row (to override the
206
258
  * default CellView component).
259
+ * @category Prop
260
+ * @since v1.0.0
207
261
  */
208
262
  readonly cellComponent?: ComponentType<CellProps<Schemas, TableId>>;
209
263
  /**
210
264
  * A function for generating extra props for each custom Cell component based
211
265
  * on its Id.
266
+ * @category Prop
267
+ * @since v1.0.0
212
268
  */
213
269
  readonly getCellComponentProps?: (cellId: Id) => ExtraProps;
214
270
  /**
215
271
  * An optional list of Cell Ids to use for rendering a prescribed set of the
216
272
  * Row's Cells in a given order.
273
+ * @category Prop
274
+ * @since v1.0.0
217
275
  */
218
276
  readonly customCellIds?: CellIdFromSchema<Schemas[0], TableId>[];
219
277
  /**
220
278
  * A component or string to separate each Cell component.
279
+ * @category Prop
280
+ * @since v1.0.0
221
281
  */
222
282
  readonly separator?: ReactElement | string;
223
283
  /**
224
284
  * Whether the component should also render the Id of the Row, and its
225
285
  * descendent objects, to assist with debugging.
286
+ * @category Prop
287
+ * @since v1.0.0
226
288
  */
227
289
  readonly debugIds?: boolean;
228
290
  }
@@ -251,24 +313,34 @@ export type CellPropsForTableIdAndCellId<
251
313
  > = {
252
314
  /**
253
315
  * The Id of the Table in the Store.
316
+ * @category Prop
317
+ * @since v1.0.0
254
318
  */
255
319
  readonly tableId: TableId;
256
320
  /**
257
321
  * The Id of the Row in the Table.
322
+ * @category Prop
323
+ * @since v1.0.0
258
324
  */
259
325
  readonly rowId: Id;
260
326
  /**
261
327
  * The Id of the Cell in the Row to be rendered.
328
+ * @category Prop
329
+ * @since v1.0.0
262
330
  */
263
331
  readonly cellId: CellId;
264
332
  /**
265
333
  * The Store to be accessed: omit for the default context Store, provide an Id
266
334
  * for a named context Store, or provide an explicit reference.
335
+ * @category Prop
336
+ * @since v1.0.0
267
337
  */
268
338
  readonly store?: StoreOrStoreId<Schemas>;
269
339
  /**
270
340
  * Whether the component should also render the Id of the Cell to assist with
271
341
  * debugging.
342
+ * @category Prop
343
+ * @since v1.0.0
272
344
  */
273
345
  readonly debugIds?: boolean;
274
346
  };
@@ -277,25 +349,35 @@ export type ValuesProps<Schemas extends OptionalSchemas> = {
277
349
  /**
278
350
  * The Store to be accessed: omit for the default context Store, provide an Id
279
351
  * for a named context Store, or provide an explicit reference.
352
+ * @category Prop
353
+ * @since v1.0.0
280
354
  */
281
355
  readonly store?: StoreOrStoreId<Schemas>;
282
356
  /**
283
357
  * A custom component for rendering each Value in the Store (to override the
284
358
  * default ValueView component).
359
+ * @category Prop
360
+ * @since v1.0.0
285
361
  */
286
362
  readonly valueComponent?: ComponentType<ValueProps<Schemas>>;
287
363
  /**
288
364
  * A function for generating extra props for each custom Value component based
289
365
  * on its Id.
366
+ * @category Prop
367
+ * @since v1.0.0
290
368
  */
291
369
  readonly getValueComponentProps?: (valueId: Id) => ExtraProps;
292
370
  /**
293
371
  * A component or string to separate each Value component.
372
+ * @category Prop
373
+ * @since v1.0.0
294
374
  */
295
375
  readonly separator?: ReactElement | string;
296
376
  /**
297
377
  * Whether the component should also render the Ids of each Value to assist
298
378
  * with debugging.
379
+ * @category Prop
380
+ * @since v1.0.0
299
381
  */
300
382
  readonly debugIds?: boolean;
301
383
  };
@@ -303,16 +385,22 @@ export type ValuesProps<Schemas extends OptionalSchemas> = {
303
385
  export type ValueProps<Schemas extends OptionalSchemas> = {
304
386
  /**
305
387
  * The Id of the Value in the Row to be rendered.
388
+ * @category Prop
389
+ * @since v1.0.0
306
390
  */
307
391
  readonly valueId: ValueIdFromSchema<Schemas[1]>;
308
392
  /**
309
393
  * The Store to be accessed: omit for the default context Store, provide an Id
310
394
  * for a named context Store, or provide an explicit reference.
395
+ * @category Prop
396
+ * @since v1.0.0
311
397
  */
312
398
  readonly store?: StoreOrStoreId<Schemas>;
313
399
  /**
314
400
  * Whether the component should also render the Id of the Value to assist with
315
401
  * debugging.
402
+ * @category Prop
403
+ * @since v1.0.0
316
404
  */
317
405
  readonly debugIds?: boolean;
318
406
  };
@@ -320,17 +408,23 @@ export type ValueProps<Schemas extends OptionalSchemas> = {
320
408
  export type MetricProps<Schemas extends OptionalSchemas> = {
321
409
  /**
322
410
  * The Id of the Metric in the Metrics object to be rendered.
411
+ * @category Prop
412
+ * @since v1.0.0
323
413
  */
324
414
  readonly metricId: Id;
325
415
  /**
326
416
  * The Metrics object to be accessed: omit for the default context Metrics
327
417
  * object, provide an Id for a named context Metrics object, or provide an
328
418
  * explicit reference.
419
+ * @category Prop
420
+ * @since v1.0.0
329
421
  */
330
422
  readonly metrics?: MetricsOrMetricsId<Schemas>;
331
423
  /**
332
424
  * Whether the component should also render the Id of the Metric to assist
333
425
  * with debugging.
426
+ * @category Prop
427
+ * @since v1.0.0
334
428
  */
335
429
  readonly debugIds?: boolean;
336
430
  };
@@ -338,30 +432,42 @@ export type MetricProps<Schemas extends OptionalSchemas> = {
338
432
  export type IndexProps<Schemas extends OptionalSchemas> = {
339
433
  /**
340
434
  * The Id of the Index in the Indexes object to be rendered.
435
+ * @category Prop
436
+ * @since v1.0.0
341
437
  */
342
438
  readonly indexId: Id;
343
439
  /**
344
440
  * The Indexes object to be accessed: omit for the default context Indexes
345
441
  * object, provide an Id for a named context Indexes object, or provide an
346
442
  * explicit reference.
443
+ * @category Prop
444
+ * @since v1.0.0
347
445
  */
348
446
  readonly indexes?: IndexesOrIndexesId<Schemas>;
349
447
  /**
350
448
  * A component for rendering each Slice in the Index.
449
+ * @category Prop
450
+ * @since v1.0.0
351
451
  */
352
452
  readonly sliceComponent?: ComponentType<SliceProps<Schemas>>;
353
453
  /**
354
454
  * A function for generating extra props for each Slice component based on its
355
455
  * Id.
456
+ * @category Prop
457
+ * @since v1.0.0
356
458
  */
357
459
  readonly getSliceComponentProps?: (sliceId: Id) => ExtraProps;
358
460
  /**
359
461
  * A component or string to separate each Slice component.
462
+ * @category Prop
463
+ * @since v1.0.0
360
464
  */
361
465
  readonly separator?: ReactElement | string;
362
466
  /**
363
467
  * Whether the component should also render the Id of the Index, and its
364
468
  * descendent objects, to assist with debugging.
469
+ * @category Prop
470
+ * @since v1.0.0
365
471
  */
366
472
  readonly debugIds?: boolean;
367
473
  };
@@ -369,34 +475,48 @@ export type IndexProps<Schemas extends OptionalSchemas> = {
369
475
  export type SliceProps<Schemas extends OptionalSchemas> = {
370
476
  /**
371
477
  * The Id of the Index in the Indexes object.
478
+ * @category Prop
479
+ * @since v1.0.0
372
480
  */
373
481
  readonly indexId: Id;
374
482
  /**
375
483
  * The Id of the Slice in the Index to be rendered.
484
+ * @category Prop
485
+ * @since v1.0.0
376
486
  */
377
487
  readonly sliceId: Id;
378
488
  /**
379
489
  * The Indexes object to be accessed: omit for the default context Indexes
380
490
  * object, provide an Id for a named context Indexes object, or provide an
381
491
  * explicit reference.
492
+ * @category Prop
493
+ * @since v1.0.0
382
494
  */
383
495
  readonly indexes?: IndexesOrIndexesId<Schemas>;
384
496
  /**
385
497
  * A component for rendering each Row in the Index.
498
+ * @category Prop
499
+ * @since v1.0.0
386
500
  */
387
501
  readonly rowComponent?: ComponentType<RowProps<Schemas>>;
388
502
  /**
389
503
  * A function for generating extra props for each Row component based on its
390
504
  * Id.
505
+ * @category Prop
506
+ * @since v1.0.0
391
507
  */
392
508
  readonly getRowComponentProps?: (rowId: Id) => ExtraProps;
393
509
  /**
394
510
  * A component or string to separate each Row component.
511
+ * @category Prop
512
+ * @since v1.0.0
395
513
  */
396
514
  readonly separator?: ReactElement | string;
397
515
  /**
398
516
  * Whether the component should also render the Id of the Slice, and its
399
517
  * descendent objects, to assist with debugging.
518
+ * @category Prop
519
+ * @since v1.0.0
400
520
  */
401
521
  readonly debugIds?: boolean;
402
522
  };
@@ -404,31 +524,43 @@ export type SliceProps<Schemas extends OptionalSchemas> = {
404
524
  export type RemoteRowProps<Schemas extends OptionalSchemas> = {
405
525
  /**
406
526
  * The Id of the Relationship in the Relationships object.
527
+ * @category Prop
528
+ * @since v1.0.0
407
529
  */
408
530
  readonly relationshipId: Id;
409
531
  /**
410
532
  * The Id of the local Row for which to render the remote Row.
533
+ * @category Prop
534
+ * @since v1.0.0
411
535
  */
412
536
  readonly localRowId: Id;
413
537
  /**
414
538
  * The Relationships object to be accessed: omit for the default context
415
539
  * Relationships object, provide an Id for a named context Relationships
416
540
  * object, or provide an explicit reference.
541
+ * @category Prop
542
+ * @since v1.0.0
417
543
  */
418
544
  readonly relationships?: RelationshipsOrRelationshipsId<Schemas>;
419
545
  /**
420
546
  * A component for rendering each (remote, local, or linked) Row in the
421
547
  * Relationship.
548
+ * @category Prop
549
+ * @since v1.0.0
422
550
  */
423
551
  readonly rowComponent?: ComponentType<RowProps<Schemas>>;
424
552
  /**
425
553
  * A function for generating extra props for each Row component based on its
426
554
  * Id.
555
+ * @category Prop
556
+ * @since v1.0.0
427
557
  */
428
558
  readonly getRowComponentProps?: (rowId: Id) => ExtraProps;
429
559
  /**
430
560
  * Whether the component should also render the Id of the Row in the
431
561
  * Relationship, and its descendent objects, to assist with debugging.
562
+ * @category Prop
563
+ * @since v1.0.0
432
564
  */
433
565
  readonly debugIds?: boolean;
434
566
  };
@@ -436,35 +568,49 @@ export type RemoteRowProps<Schemas extends OptionalSchemas> = {
436
568
  export type LocalRowsProps<Schemas extends OptionalSchemas> = {
437
569
  /**
438
570
  * The Id of the Relationship in the Relationships object.
571
+ * @category Prop
572
+ * @since v1.0.0
439
573
  */
440
574
  readonly relationshipId: Id;
441
575
  /**
442
576
  * The Id of the remote Row for which to render the local Rows.
577
+ * @category Prop
578
+ * @since v1.0.0
443
579
  */
444
580
  readonly remoteRowId: Id;
445
581
  /**
446
582
  * The Relationships object to be accessed: omit for the default context
447
583
  * Relationships object, provide an Id for a named context Relationships
448
584
  * object, or provide an explicit reference.
585
+ * @category Prop
586
+ * @since v1.0.0
449
587
  */
450
588
  readonly relationships?: RelationshipsOrRelationshipsId<Schemas>;
451
589
  /**
452
590
  * A component for rendering each (remote, local, or linked) Row in the
453
591
  * Relationship.
592
+ * @category Prop
593
+ * @since v1.0.0
454
594
  */
455
595
  readonly rowComponent?: ComponentType<RowProps<Schemas>>;
456
596
  /**
457
597
  * A function for generating extra props for each Row component based on its
458
598
  * Id.
599
+ * @category Prop
600
+ * @since v1.0.0
459
601
  */
460
602
  readonly getRowComponentProps?: (rowId: Id) => ExtraProps;
461
603
  /**
462
604
  * A component or string to separate each Row component.
605
+ * @category Prop
606
+ * @since v1.0.0
463
607
  */
464
608
  readonly separator?: ReactElement | string;
465
609
  /**
466
610
  * Whether the component should also render the Id of the Row in the
467
611
  * Relationship, and its descendent objects, to assist with debugging.
612
+ * @category Prop
613
+ * @since v1.0.0
468
614
  */
469
615
  readonly debugIds?: boolean;
470
616
  };
@@ -472,35 +618,49 @@ export type LocalRowsProps<Schemas extends OptionalSchemas> = {
472
618
  export type LinkedRowsProps<Schemas extends OptionalSchemas> = {
473
619
  /**
474
620
  * The Id of the Relationship in the Relationships object.
621
+ * @category Prop
622
+ * @since v1.0.0
475
623
  */
476
624
  readonly relationshipId: Id;
477
625
  /**
478
626
  * The Id of the first Row in the linked list Relationship.
627
+ * @category Prop
628
+ * @since v1.0.0
479
629
  */
480
630
  readonly firstRowId: Id;
481
631
  /**
482
632
  * The Relationships object to be accessed: omit for the default context
483
633
  * Relationships object, provide an Id for a named context Relationships
484
634
  * object, or provide an explicit reference.
635
+ * @category Prop
636
+ * @since v1.0.0
485
637
  */
486
638
  readonly relationships?: RelationshipsOrRelationshipsId<Schemas>;
487
639
  /**
488
640
  * A component for rendering each (remote, local, or linked) Row in the
489
641
  * Relationship.
642
+ * @category Prop
643
+ * @since v1.0.0
490
644
  */
491
645
  readonly rowComponent?: ComponentType<RowProps<Schemas>>;
492
646
  /**
493
647
  * A function for generating extra props for each Row component based on its
494
648
  * Id.
649
+ * @category Prop
650
+ * @since v1.0.0
495
651
  */
496
652
  readonly getRowComponentProps?: (rowId: Id) => ExtraProps;
497
653
  /**
498
654
  * A component or string to separate each Row component.
655
+ * @category Prop
656
+ * @since v1.0.0
499
657
  */
500
658
  readonly separator?: ReactElement | string;
501
659
  /**
502
660
  * Whether the component should also render the Id of the Row in the
503
661
  * Relationship, and its descendent objects, to assist with debugging.
662
+ * @category Prop
663
+ * @since v1.0.0
504
664
  */
505
665
  readonly debugIds?: boolean;
506
666
  };
@@ -509,31 +669,43 @@ export type ResultTableProps<Schemas extends OptionalSchemas> = {
509
669
  /**
510
670
  * The Id of the query in the Queries object for which the ResultTable will be
511
671
  * rendered.
672
+ * @category Prop
673
+ * @since v1.0.0
512
674
  */
513
675
  readonly queryId: Id;
514
676
  /**
515
677
  * The Queries object to be accessed: omit for the default context Queries
516
678
  * object, provide an Id for a named context Queries object, or provide an
517
679
  * explicit reference.
680
+ * @category Prop
681
+ * @since v1.0.0
518
682
  */
519
683
  readonly queries?: QueriesOrQueriesId<Schemas>;
520
684
  /**
521
685
  * A custom component for rendering each Row in the Table (to override the
522
686
  * default ResultRowView component).
687
+ * @category Prop
688
+ * @since v1.0.0
523
689
  */
524
690
  readonly resultRowComponent?: ComponentType<ResultRowProps<Schemas>>;
525
691
  /**
526
692
  * A function for generating extra props for each custom Row component based
527
693
  * on its Id.
694
+ * @category Prop
695
+ * @since v1.0.0
528
696
  */
529
697
  readonly getResultRowComponentProps?: (rowId: Id) => ExtraProps;
530
698
  /**
531
699
  * A component or string to separate each Row component.
700
+ * @category Prop
701
+ * @since v1.0.0
532
702
  */
533
703
  readonly separator?: ReactElement | string;
534
704
  /**
535
705
  * Whether the component should also render the Id of the query, and its
536
706
  * descendent objects, to assist with debugging.
707
+ * @category Prop
708
+ * @since v1.0.0
537
709
  */
538
710
  readonly debugIds?: boolean;
539
711
  };
@@ -542,48 +714,68 @@ export type ResultSortedTableProps<Schemas extends OptionalSchemas> = {
542
714
  /**
543
715
  * The Id of the query in the Queries object for which the sorted ResultTable
544
716
  * will be rendered.
717
+ * @category Prop
718
+ * @since v1.0.0
545
719
  */
546
720
  readonly queryId: Id;
547
721
  /**
548
722
  * The Id of the Cell whose values are used for the sorting. If omitted, the
549
723
  * view will sort the Row Id itself.
724
+ * @category Prop
725
+ * @since v1.0.0
550
726
  */
551
727
  readonly cellId?: Id;
552
728
  /**
553
729
  * Whether the sorting should be in descending order.
730
+ * @category Prop
731
+ * @since v1.0.0
554
732
  */
555
733
  readonly descending?: boolean;
556
734
  /**
557
735
  * The number of Row Ids to skip for pagination purposes.
736
+ * @category Prop
737
+ * @since v1.0.0
558
738
  */
559
739
  readonly offset?: number;
560
740
  /**
561
741
  * The maximum number of Row Ids to return.
742
+ * @category Prop
743
+ * @since v1.0.0
562
744
  */
563
745
  readonly limit?: number;
564
746
  /**
565
747
  * The Queries object to be accessed: omit for the default context Queries
566
748
  * object, provide an Id for a named context Queries object, or provide an
567
749
  * explicit reference.
750
+ * @category Prop
751
+ * @since v1.0.0
568
752
  */
569
753
  readonly queries?: QueriesOrQueriesId<Schemas>;
570
754
  /**
571
755
  * A custom component for rendering each Row in the Table (to override the
572
756
  * default ResultRowView component).
757
+ * @category Prop
758
+ * @since v1.0.0
573
759
  */
574
760
  readonly resultRowComponent?: ComponentType<ResultRowProps<Schemas>>;
575
761
  /**
576
762
  * A function for generating extra props for each custom Row component based
577
763
  * on its Id.
764
+ * @category Prop
765
+ * @since v1.0.0
578
766
  */
579
767
  readonly getResultRowComponentProps?: (rowId: Id) => ExtraProps;
580
768
  /**
581
769
  * A component or string to separate each Row component.
770
+ * @category Prop
771
+ * @since v1.0.0
582
772
  */
583
773
  readonly separator?: ReactElement | string;
584
774
  /**
585
775
  * Whether the component should also render the Id of the query, and its
586
776
  * descendent objects, to assist with debugging.
777
+ * @category Prop
778
+ * @since v1.0.0
587
779
  */
588
780
  readonly debugIds?: boolean;
589
781
  };
@@ -592,35 +784,49 @@ export type ResultRowProps<Schemas extends OptionalSchemas> = {
592
784
  /**
593
785
  * The Id of the query in the Queries object for which the ResultTable will be
594
786
  * rendered.
787
+ * @category Prop
788
+ * @since v1.0.0
595
789
  */
596
790
  readonly queryId: Id;
597
791
  /**
598
792
  * The Id of the Row in the ResultTable to be rendered.
793
+ * @category Prop
794
+ * @since v1.0.0
599
795
  */
600
796
  readonly rowId: Id;
601
797
  /**
602
798
  * The Queries object to be accessed: omit for the default context Queries
603
799
  * object, provide an Id for a named context Queries object, or provide an
604
800
  * explicit reference.
801
+ * @category Prop
802
+ * @since v1.0.0
605
803
  */
606
804
  readonly queries?: QueriesOrQueriesId<Schemas>;
607
805
  /**
608
806
  * A custom component for rendering each Cell in the Row (to override the
609
807
  * default CellView component).
808
+ * @category Prop
809
+ * @since v1.0.0
610
810
  */
611
811
  readonly resultCellComponent?: ComponentType<ResultCellProps<Schemas>>;
612
812
  /**
613
813
  * A function for generating extra props for each custom Cell component based
614
814
  * on its Id.
815
+ * @category Prop
816
+ * @since v1.0.0
615
817
  */
616
818
  readonly getResultCellComponentProps?: (cellId: Id) => ExtraProps;
617
819
  /**
618
820
  * A component or string to separate each Cell component.
821
+ * @category Prop
822
+ * @since v1.0.0
619
823
  */
620
824
  readonly separator?: ReactElement | string;
621
825
  /**
622
826
  * Whether the component should also render the Id of the Row, and its
623
827
  * descendent objects, to assist with debugging.
828
+ * @category Prop
829
+ * @since v1.0.0
624
830
  */
625
831
  readonly debugIds?: boolean;
626
832
  };
@@ -629,25 +835,35 @@ export type ResultCellProps<Schemas extends OptionalSchemas> = {
629
835
  /**
630
836
  * The Id of the query in the Queries object for which the ResultTable will be
631
837
  * rendered.
838
+ * @category Prop
839
+ * @since v1.0.0
632
840
  */
633
841
  readonly queryId: Id;
634
842
  /**
635
843
  * The Id of the Row in the Table.
844
+ * @category Prop
845
+ * @since v1.0.0
636
846
  */
637
847
  readonly rowId: Id;
638
848
  /**
639
849
  * The Id of the Cell in the Row to be rendered.
850
+ * @category Prop
851
+ * @since v1.0.0
640
852
  */
641
853
  readonly cellId: Id;
642
854
  /**
643
855
  * The Queries object to be accessed: omit for the default context Queries
644
856
  * object, provide an Id for a named context Queries object, or provide an
645
857
  * explicit reference.
858
+ * @category Prop
859
+ * @since v1.0.0
646
860
  */
647
861
  readonly queries?: QueriesOrQueriesId<Schemas>;
648
862
  /**
649
863
  * Whether the component should also render the Id of the Cell to assist with
650
864
  * debugging.
865
+ * @category Prop
866
+ * @since v1.0.0
651
867
  */
652
868
  readonly debugIds?: boolean;
653
869
  };
@@ -655,17 +871,23 @@ export type ResultCellProps<Schemas extends OptionalSchemas> = {
655
871
  export type CheckpointProps<Schemas extends OptionalSchemas> = {
656
872
  /**
657
873
  * The Id of the checkpoint in the Checkpoints object.
874
+ * @category Prop
875
+ * @since v1.0.0
658
876
  */
659
877
  readonly checkpointId: Id;
660
878
  /**
661
879
  * The Checkpoints object to be accessed: omit for the default context
662
880
  * Checkpoints object, provide an Id for a named context Checkpoints object,
663
881
  * or provide an explicit reference.
882
+ * @category Prop
883
+ * @since v1.0.0
664
884
  */
665
885
  readonly checkpoints?: CheckpointsOrCheckpointsId<Schemas>;
666
886
  /**
667
887
  * Whether the component should also render the Id of the checkpoint to assist
668
888
  * with debugging.
889
+ * @category Prop
890
+ * @since v1.0.0
669
891
  */
670
892
  readonly debugIds?: boolean;
671
893
  };
@@ -675,24 +897,34 @@ export type BackwardCheckpointsProps<Schemas extends OptionalSchemas> = {
675
897
  * The Checkpoints object to be accessed: omit for the default context
676
898
  * Checkpoints object, provide an Id for a named context Checkpoints object,
677
899
  * or provide an explicit reference.
900
+ * @category Prop
901
+ * @since v1.0.0
678
902
  */
679
903
  readonly checkpoints?: CheckpointsOrCheckpointsId<Schemas>;
680
904
  /**
681
905
  * A component for rendering each checkpoint in the Checkpoints object.
906
+ * @category Prop
907
+ * @since v1.0.0
682
908
  */
683
909
  readonly checkpointComponent?: ComponentType<CheckpointProps<Schemas>>;
684
910
  /**
685
911
  * A function for generating extra props for each checkpoint component based
686
912
  * on its Id.
913
+ * @category Prop
914
+ * @since v1.0.0
687
915
  */
688
916
  readonly getCheckpointComponentProps?: (checkpointId: Id) => ExtraProps;
689
917
  /**
690
918
  * A component or string to separate each Checkpoint component.
919
+ * @category Prop
920
+ * @since v1.0.0
691
921
  */
692
922
  readonly separator?: ReactElement | string;
693
923
  /**
694
924
  * Whether the component should also render the Ids of the checkpoints to
695
925
  * assist with debugging.
926
+ * @category Prop
927
+ * @since v1.0.0
696
928
  */
697
929
  readonly debugIds?: boolean;
698
930
  };
@@ -702,20 +934,28 @@ export type CurrentCheckpointProps<Schemas extends OptionalSchemas> = {
702
934
  * The Checkpoints object to be accessed: omit for the default context
703
935
  * Checkpoints object, provide an Id for a named context Checkpoints object,
704
936
  * or provide an explicit reference.
937
+ * @category Prop
938
+ * @since v1.0.0
705
939
  */
706
940
  readonly checkpoints?: CheckpointsOrCheckpointsId<Schemas>;
707
941
  /**
708
942
  * A component for rendering each checkpoint in the Checkpoints object.
943
+ * @category Prop
944
+ * @since v1.0.0
709
945
  */
710
946
  readonly checkpointComponent?: ComponentType<CheckpointProps<Schemas>>;
711
947
  /**
712
948
  * A function for generating extra props for each checkpoint component based
713
949
  * on its Id.
950
+ * @category Prop
951
+ * @since v1.0.0
714
952
  */
715
953
  readonly getCheckpointComponentProps?: (checkpointId: Id) => ExtraProps;
716
954
  /**
717
955
  * Whether the component should also render the Ids of the checkpoints to
718
956
  * assist with debugging.
957
+ * @category Prop
958
+ * @since v1.0.0
719
959
  */
720
960
  readonly debugIds?: boolean;
721
961
  };
@@ -725,24 +965,34 @@ export type ForwardCheckpointsProps<Schemas extends OptionalSchemas> = {
725
965
  * The Checkpoints object to be accessed: omit for the default context
726
966
  * Checkpoints object, provide an Id for a named context Checkpoints object,
727
967
  * or provide an explicit reference.
968
+ * @category Prop
969
+ * @since v1.0.0
728
970
  */
729
971
  readonly checkpoints?: CheckpointsOrCheckpointsId<Schemas>;
730
972
  /**
731
973
  * A component for rendering each checkpoint in the Checkpoints object.
974
+ * @category Prop
975
+ * @since v1.0.0
732
976
  */
733
977
  readonly checkpointComponent?: ComponentType<CheckpointProps<Schemas>>;
734
978
  /**
735
979
  * A function for generating extra props for each checkpoint component based
736
980
  * on its Id.
981
+ * @category Prop
982
+ * @since v1.0.0
737
983
  */
738
984
  readonly getCheckpointComponentProps?: (checkpointId: Id) => ExtraProps;
739
985
  /**
740
986
  * A component or string to separate each Checkpoint component.
987
+ * @category Prop
988
+ * @since v1.0.0
741
989
  */
742
990
  readonly separator?: ReactElement | string;
743
991
  /**
744
992
  * Whether the component should also render the Ids of the checkpoints to
745
993
  * assist with debugging.
994
+ * @category Prop
995
+ * @since v1.0.0
746
996
  */
747
997
  readonly debugIds?: boolean;
748
998
  };
@@ -751,61 +1001,85 @@ export type ProviderProps<Schemas extends OptionalSchemas> = {
751
1001
  /**
752
1002
  * A default single Store object that will be available within the Provider
753
1003
  * context.
1004
+ * @category Prop
1005
+ * @since v1.0.0
754
1006
  */
755
1007
  readonly store?: Store<Schemas>;
756
1008
  /**
757
1009
  * An object containing multiple Store objects that will be available within
758
1010
  * the Provider context by their Id.
1011
+ * @category Prop
1012
+ * @since v1.0.0
759
1013
  */
760
1014
  readonly storesById?: {[storeId: Id]: Store<Schemas>};
761
1015
  /**
762
1016
  * A default single Metrics object that will be available within the Provider
763
1017
  * context.
1018
+ * @category Prop
1019
+ * @since v1.0.0
764
1020
  */
765
1021
  readonly metrics?: Metrics<Schemas>;
766
1022
  /**
767
1023
  * An object containing multiple Metrics objects that will be available within
768
1024
  * the Provider context by their Id.
1025
+ * @category Prop
1026
+ * @since v1.0.0
769
1027
  */
770
1028
  readonly metricsById?: {[metricsId: Id]: Metrics<Schemas>};
771
1029
  /**
772
1030
  * A default single Indexes object that will be available within the Provider
773
1031
  * context.
1032
+ * @category Prop
1033
+ * @since v1.0.0
774
1034
  */
775
1035
  readonly indexes?: Indexes<Schemas>;
776
1036
  /**
777
1037
  * An object containing multiple Indexes objects that will be available within
778
1038
  * the Provider context by their Id.
1039
+ * @category Prop
1040
+ * @since v1.0.0
779
1041
  */
780
1042
  readonly indexesById?: {[indexesId: Id]: Indexes<Schemas>};
781
1043
  /**
782
1044
  * A default single Relationships object that will be available within the
783
1045
  * Provider context.
1046
+ * @category Prop
1047
+ * @since v1.0.0
784
1048
  */
785
1049
  readonly relationships?: Relationships<Schemas>;
786
1050
  /**
787
1051
  * An object containing multiple Relationships objects that will be available
788
1052
  * within the Provider context by their Id.
1053
+ * @category Prop
1054
+ * @since v1.0.0
789
1055
  */
790
1056
  readonly relationshipsById?: {[relationshipsId: Id]: Relationships<Schemas>};
791
1057
  /**
792
1058
  * A default single Queries object that will be available within the Provider
793
1059
  * context, since v2.0.
1060
+ * @category Prop
1061
+ * @since v1.0.0
794
1062
  */
795
1063
  readonly queries?: Queries<Schemas>;
796
1064
  /**
797
1065
  * An object containing multiple Queries objects that will be available within
798
1066
  * the Provider context by their Id, since v2.0.
1067
+ * @category Prop
1068
+ * @since v1.0.0
799
1069
  */
800
1070
  readonly queriesById?: {[queriesId: Id]: Queries<Schemas>};
801
1071
  /**
802
1072
  * A default single Checkpoints object that will be available within the
803
1073
  * Provider context.
1074
+ * @category Prop
1075
+ * @since v1.0.0
804
1076
  */
805
1077
  readonly checkpoints?: Checkpoints<Schemas>;
806
1078
  /**
807
1079
  * An object containing multiple Checkpoints objects that will be available
808
1080
  * within the Provider context by their Id.
1081
+ * @category Prop
1082
+ * @since v1.0.0
809
1083
  */
810
1084
  readonly checkpointsById?: {[checkpointsId: Id]: Checkpoints<Schemas>};
811
1085
  };