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
@@ -8,6 +8,7 @@
8
8
  * tabular data within.
9
9
  * @packageDocumentation
10
10
  * @module store
11
+ * @since v1.0.0
11
12
  */
12
13
 
13
14
  import type {Id, IdOrNull, Ids, Json} from '../common/index.d.ts';
@@ -36,6 +37,7 @@ import type {StoreAlias} from '../_internal/store/index.d.ts';
36
37
  * };
37
38
  * ```
38
39
  * @category Schema
40
+ * @since v1.0.0
39
41
  */
40
42
  export type TablesSchema = {[tableId: Id]: {[cellId: Id]: CellSchema}};
41
43
 
@@ -66,6 +68,7 @@ export type TablesSchema = {[tableId: Id]: {[cellId: Id]: CellSchema}};
66
68
  * };
67
69
  * ```
68
70
  * @category Schema
71
+ * @since v1.0.0
69
72
  */
70
73
  export type CellSchema =
71
74
  | {type: 'string'; default?: string}
@@ -132,6 +135,7 @@ export type ValueSchema =
132
135
  * The NoTablesSchema type is a TablesSchema-like type for when one has not been
133
136
  * provided.
134
137
  * @category Schema
138
+ * @since v1.0.0
135
139
  */
136
140
  export type NoTablesSchema = {[tableId: Id]: {[cellId: Id]: {type: 'any'}}};
137
141
 
@@ -139,6 +143,7 @@ export type NoTablesSchema = {[tableId: Id]: {[cellId: Id]: {type: 'any'}}};
139
143
  * The NoValuesSchema type is a ValuesSchema-like type for when one has not been
140
144
  * provided.
141
145
  * @category Schema
146
+ * @since v1.0.0
142
147
  */
143
148
  export type NoValuesSchema = {[valueId: Id]: {type: 'any'}};
144
149
 
@@ -146,6 +151,7 @@ export type NoValuesSchema = {[valueId: Id]: {type: 'any'}};
146
151
  * The OptionalTablesSchema type is used by generic types that can optionally
147
152
  * take a TablesSchema.
148
153
  * @category Schema
154
+ * @since v1.0.0
149
155
  */
150
156
  export type OptionalTablesSchema = TablesSchema | NoTablesSchema;
151
157
 
@@ -153,6 +159,7 @@ export type OptionalTablesSchema = TablesSchema | NoTablesSchema;
153
159
  * The OptionalValuesSchema type is used by generic types that can optionally
154
160
  * take a ValuesSchema.
155
161
  * @category Schema
162
+ * @since v1.0.0
156
163
  */
157
164
  export type OptionalValuesSchema = ValuesSchema | NoValuesSchema;
158
165
 
@@ -160,6 +167,7 @@ export type OptionalValuesSchema = ValuesSchema | NoValuesSchema;
160
167
  * The OptionalSchemas type is used by generic types that can optionally take
161
168
  * either or both of a TablesSchema and ValuesSchema.
162
169
  * @category Schema
170
+ * @since v1.0.0
163
171
  */
164
172
  export type OptionalSchemas = [OptionalTablesSchema, OptionalValuesSchema];
165
173
 
@@ -167,6 +175,7 @@ export type OptionalSchemas = [OptionalTablesSchema, OptionalValuesSchema];
167
175
  * The NoSchemas type is used as a default by generic types that can optionally
168
176
  * take either or both of a TablesSchema and ValuesSchema.
169
177
  * @category Schema
178
+ * @since v1.0.0
170
179
  */
171
180
  export type NoSchemas = [NoTablesSchema, NoValuesSchema];
172
181
 
@@ -225,6 +234,7 @@ export type Content = [Tables, Values];
225
234
  * };
226
235
  * ```
227
236
  * @category Store
237
+ * @since v1.0.0
228
238
  */
229
239
  export type Tables = {[tableId: Id]: Table};
230
240
 
@@ -245,6 +255,7 @@ export type Tables = {[tableId: Id]: Table};
245
255
  * };
246
256
  * ```
247
257
  * @category Store
258
+ * @since v1.0.0
248
259
  */
249
260
  export type Table = {[rowId: Id]: Row};
250
261
 
@@ -261,6 +272,7 @@ export type Table = {[rowId: Id]: Row};
261
272
  * export const row: Row = {species: 'dog', color: 'brown'};
262
273
  * ```
263
274
  * @category Store
275
+ * @since v1.0.0
264
276
  */
265
277
  export type Row = {[cellId: Id]: Cell};
266
278
 
@@ -277,6 +289,7 @@ export type Row = {[cellId: Id]: Cell};
277
289
  * export const cell: Cell = 'dog';
278
290
  * ```
279
291
  * @category Store
292
+ * @since v1.0.0
280
293
  */
281
294
  export type Cell = string | number | boolean;
282
295
 
@@ -288,6 +301,7 @@ export type Cell = string | number | boolean;
288
301
  * such as when it has been deleted, or when describing a previous state where
289
302
  * the Cell value has since been added.
290
303
  * @category Store
304
+ * @since v1.0.0
291
305
  */
292
306
  export type CellOrUndefined = Cell | undefined;
293
307
 
@@ -351,6 +365,7 @@ export type ValueOrUndefined = Value | undefined;
351
365
  * @param forEachRow A function that will let you iterate over the Row objects
352
366
  * in this Table.
353
367
  * @category Callback
368
+ * @since v1.0.0
354
369
  */
355
370
  export type TableCallback = (
356
371
  tableId: Id,
@@ -367,6 +382,7 @@ export type TableCallback = (
367
382
  * @param cellId The Id of the Cell that the callback can operate on.
368
383
  * @param count The number of times this Cell is used across a whole Table.
369
384
  * @category Callback
385
+ * @since v1.0.0
370
386
  */
371
387
  export type TableCellCallback = (cellId: Id, count: number) => void;
372
388
 
@@ -381,6 +397,7 @@ export type TableCellCallback = (cellId: Id, count: number) => void;
381
397
  * @param forEachRow A function that will let you iterate over the Cell values
382
398
  * in this Row.
383
399
  * @category Callback
400
+ * @since v1.0.0
384
401
  */
385
402
  export type RowCallback = (
386
403
  rowId: Id,
@@ -397,6 +414,7 @@ export type RowCallback = (
397
414
  * @param cellId The Id of the Cell that the callback can operate on.
398
415
  * @param cell The value of the Cell.
399
416
  * @category Callback
417
+ * @since v1.0.0
400
418
  */
401
419
  export type CellCallback = (cellId: Id, cell: Cell) => void;
402
420
 
@@ -423,6 +441,7 @@ export type ValueCallback = (valueId: Id, value: Value) => void;
423
441
  * examples.
424
442
  * @param cell The current value of the Cell to map to a new value.
425
443
  * @category Callback
444
+ * @since v1.0.0
426
445
  */
427
446
  export type MapCell = (cell: CellOrUndefined) => Cell;
428
447
 
@@ -448,6 +467,7 @@ export type MapValue = (value: ValueOrUndefined) => Value;
448
467
  * method of an Indexes object. See those methods for specific examples.
449
468
  * @param cellId The Id of the Cell to fetch the value for.
450
469
  * @category Callback
470
+ * @since v1.0.0
451
471
  */
452
472
  export type GetCell = (cellId: Id) => CellOrUndefined;
453
473
 
@@ -552,6 +572,7 @@ export type ChangedValueIds = {[valueId: Id]: IdAddedOrRemoved};
552
572
  * Store directly to decide whether to do the rollback.
553
573
  * @param store A reference to the Store that is completing a transaction.
554
574
  * @category Callback
575
+ * @since v1.0.0
555
576
  */
556
577
  export type DoRollback = (store: Store) => boolean;
557
578
 
@@ -569,6 +590,7 @@ export type DoRollback = (store: Store) => boolean;
569
590
  * transaction.
570
591
  * @param store A reference to the Store that is completing a transaction.
571
592
  * @category Listener
593
+ * @since v1.0.0
572
594
  */
573
595
  export type TransactionListener<Store extends StoreAlias = StoreAlias> = (
574
596
  store: Store,
@@ -612,6 +634,7 @@ export type HasTablesListener<Store extends StoreAlias = StoreAlias> = (
612
634
  * @param getCellChange A function that returns information about any Cell's
613
635
  * changes.
614
636
  * @category Listener
637
+ * @since v1.0.0
615
638
  */
616
639
  export type TablesListener<Store extends StoreAlias = StoreAlias> = (
617
640
  store: Store,
@@ -633,6 +656,7 @@ export type TablesListener<Store extends StoreAlias = StoreAlias> = (
633
656
  * @param getIdChanges A function that returns information about the Id changes,
634
657
  * since v3.3.
635
658
  * @category Listener
659
+ * @since v1.0.0
636
660
  */
637
661
  export type TableIdsListener<Store extends StoreAlias = StoreAlias> = (
638
662
  store: Store,
@@ -681,6 +705,7 @@ export type HasTableListener<Store extends StoreAlias = StoreAlias> = (
681
705
  * @param getCellChange A function that returns information about any Cell's
682
706
  * changes.
683
707
  * @category Listener
708
+ * @since v1.0.0
684
709
  */
685
710
  export type TableListener<Store extends StoreAlias = StoreAlias> = (
686
711
  store: Store,
@@ -773,6 +798,7 @@ export type RowCountListener<Store extends StoreAlias = StoreAlias> = (
773
798
  * @param getIdChanges A function that returns information about the Id changes,
774
799
  * since v3.3.
775
800
  * @category Listener
801
+ * @since v1.0.0
776
802
  */
777
803
  export type RowIdsListener<Store extends StoreAlias = StoreAlias> = (
778
804
  store: Store,
@@ -859,6 +885,7 @@ export type HasRowListener<Store extends StoreAlias = StoreAlias> = (
859
885
  * @param getCellChange A function that returns information about any Cell's
860
886
  * changes.
861
887
  * @category Listener
888
+ * @since v1.0.0
862
889
  */
863
890
  export type RowListener<Store extends StoreAlias = StoreAlias> = (
864
891
  store: Store,
@@ -885,6 +912,7 @@ export type RowListener<Store extends StoreAlias = StoreAlias> = (
885
912
  * @param getIdChanges A function that returns information about the Id changes,
886
913
  * since v3.3.
887
914
  * @category Listener
915
+ * @since v1.0.0
888
916
  */
889
917
  export type CellIdsListener<Store extends StoreAlias = StoreAlias> = (
890
918
  store: Store,
@@ -946,6 +974,7 @@ export type HasCellListener<Store extends StoreAlias = StoreAlias> = (
946
974
  * @param getCellChange A function that returns information about any Cell's
947
975
  * changes.
948
976
  * @category Listener
977
+ * @since v1.0.0
949
978
  */
950
979
  export type CellListener<Store extends StoreAlias = StoreAlias> = (
951
980
  store: Store,
@@ -995,6 +1024,7 @@ export type HasValuesListener<Store extends StoreAlias = StoreAlias> = (
995
1024
  * @param getValueChange A function that returns information about any Value's
996
1025
  * changes.
997
1026
  * @category Listener
1027
+ * @since v1.0.0
998
1028
  */
999
1029
  export type ValuesListener<Store extends StoreAlias = StoreAlias> = (
1000
1030
  store: Store,
@@ -1016,6 +1046,7 @@ export type ValuesListener<Store extends StoreAlias = StoreAlias> = (
1016
1046
  * @param getIdChanges A function that returns information about the Id changes,
1017
1047
  * since v3.3.
1018
1048
  * @category Listener
1049
+ * @since v1.0.0
1019
1050
  */
1020
1051
  export type ValueIdsListener<Store extends StoreAlias = StoreAlias> = (
1021
1052
  store: Store,
@@ -1161,6 +1192,7 @@ export type GetIdChanges = () => {[id: Id]: 1 | -1};
1161
1192
  * @param cellId The Id of the Cell to inspect.
1162
1193
  * @returns A CellChange array containing information about the Cell's changes.
1163
1194
  * @category Listener
1195
+ * @since v1.0.0
1164
1196
  */
1165
1197
  export type GetCellChange = (tableId: Id, rowId: Id, cellId: Id) => CellChange;
1166
1198
 
@@ -1172,6 +1204,7 @@ export type GetCellChange = (tableId: Id, rowId: Id, cellId: Id) => CellChange;
1172
1204
  * the current transaction, the new value after it, and a convenience flag that
1173
1205
  * indicates that the value has changed.
1174
1206
  * @category Listener
1207
+ * @since v1.0.0
1175
1208
  */
1176
1209
  export type CellChange = [
1177
1210
  changed: boolean,
@@ -1191,6 +1224,7 @@ export type CellChange = [
1191
1224
  * @returns A ValueChange array containing information about the Value's
1192
1225
  * changes.
1193
1226
  * @category Listener
1227
+ * @since v1.0.0
1194
1228
  */
1195
1229
  export type GetValueChange = (valueId: Id) => ValueChange;
1196
1230
 
@@ -1202,6 +1236,7 @@ export type GetValueChange = (valueId: Id) => ValueChange;
1202
1236
  * before the current transaction, the new value after it, and a convenience
1203
1237
  * flag that indicates that the value has changed.
1204
1238
  * @category Listener
1239
+ * @since v1.0.0
1205
1240
  */
1206
1241
  export type ValueChange = [
1207
1242
  changed: boolean,
@@ -1453,111 +1488,158 @@ export type TransactionLog = [
1453
1488
  * listener. Totals include both mutator and non-mutator listeners. A
1454
1489
  * StoreListenerStats object is returned from the getListenerStats method.
1455
1490
  * @category Development
1491
+ * @since v1.0.0
1456
1492
  */
1457
1493
  export type StoreListenerStats = {
1458
1494
  /**
1459
1495
  * The number of HasTablesListener functions registered with the Store, since
1460
1496
  * v4.4.
1497
+ * @category Stat
1498
+ * @since v1.0.0
1461
1499
  */
1462
1500
  hasTables: number;
1463
1501
  /**
1464
1502
  * The number of TablesListener functions registered with the Store.
1503
+ * @category Stat
1504
+ * @since v1.0.0
1465
1505
  */
1466
1506
  tables: number;
1467
1507
  /**
1468
1508
  * The number of TableIdsListener functions registered with the Store.
1509
+ * @category Stat
1510
+ * @since v1.0.0
1469
1511
  */
1470
1512
  tableIds: number;
1471
1513
  /**
1472
1514
  * The number of HasTableListener functions registered with the Store, since
1473
1515
  * v4.4.
1516
+ * @category Stat
1517
+ * @since v1.0.0
1474
1518
  */
1475
1519
  hasTable: number;
1476
1520
  /**
1477
1521
  * The number of TableListener functions registered with the Store.
1522
+ * @category Stat
1523
+ * @since v1.0.0
1478
1524
  */
1479
1525
  table: number;
1480
1526
  /**
1481
1527
  * The number of TableCellIdsListener functions registered with the Store,
1482
1528
  * since v3.3.
1529
+ * @category Stat
1530
+ * @since v1.0.0
1483
1531
  */
1484
1532
  tableCellIds: number;
1485
1533
  /**
1486
1534
  * The number of HasTableCellListener functions registered with the Store,
1487
1535
  * since v4.4.
1536
+ * @category Stat
1537
+ * @since v1.0.0
1488
1538
  */
1489
1539
  hasTableCell: number;
1490
1540
  /**
1491
1541
  * The number of RowCountListener functions registered with the Store, since
1492
1542
  * v4.1.0.
1543
+ * @category Stat
1544
+ * @since v1.0.0
1493
1545
  */
1494
1546
  rowCount: number;
1495
1547
  /**
1496
1548
  * The number of RowIdsListener functions registered with the Store.
1549
+ * @category Stat
1550
+ * @since v1.0.0
1497
1551
  */
1498
1552
  rowIds: number;
1499
1553
  /**
1500
1554
  * The number of SortedRowIdsListener functions registered with the Store.
1555
+ * @category Stat
1556
+ * @since v1.0.0
1501
1557
  */
1502
1558
  sortedRowIds: number;
1503
1559
  /**
1504
1560
  * The number of HasRowListener functions registered with the Store, since
1505
1561
  * v4.4.
1562
+ * @category Stat
1563
+ * @since v1.0.0
1506
1564
  */
1507
1565
  hasRow: number;
1508
1566
  /**
1509
1567
  * The number of RowListener functions registered with the Store.
1568
+ * @category Stat
1569
+ * @since v1.0.0
1510
1570
  */
1511
1571
  row: number;
1512
1572
  /**
1513
1573
  * The number of CellIdsListener functions registered with the Store.
1574
+ * @category Stat
1575
+ * @since v1.0.0
1514
1576
  */
1515
1577
  cellIds: number;
1516
1578
  /**
1517
1579
  * The number of HasCellListener functions registered with the Store, since
1518
1580
  * v4.4.
1581
+ * @category Stat
1582
+ * @since v1.0.0
1519
1583
  */
1520
1584
  hasCell: number;
1521
1585
  /**
1522
1586
  * The number of CellListener functions registered with the Store.
1587
+ * @category Stat
1588
+ * @since v1.0.0
1523
1589
  */
1524
1590
  cell: number;
1525
1591
  /**
1526
1592
  * The number of InvalidCellListener functions registered with the Store.
1593
+ * @category Stat
1594
+ * @since v1.0.0
1527
1595
  */
1528
1596
  invalidCell: number;
1529
1597
  /**
1530
1598
  * The number of HasValuesListener functions registered with the Store, since
1531
1599
  * v4.4.
1600
+ * @category Stat
1601
+ * @since v1.0.0
1532
1602
  */
1533
1603
  hasValues: number;
1534
1604
  /**
1535
1605
  * The number of ValuesListener functions registered with the Store, since
1536
1606
  * v3.0.
1607
+ * @category Stat
1608
+ * @since v1.0.0
1537
1609
  */
1538
1610
  values: number;
1539
1611
  /**
1540
1612
  * The number of ValueIdsListener functions registered with the Store, since
1541
1613
  * v3.0.
1614
+ * @category Stat
1615
+ * @since v1.0.0
1542
1616
  */
1543
1617
  valueIds: number;
1544
1618
  /**
1545
1619
  * The number of HasValueListener functions registered with the Store, since
1546
1620
  * v4.4.
1621
+ * @category Stat
1622
+ * @since v1.0.0
1547
1623
  */
1548
1624
  hasValue: number;
1549
1625
  /**
1550
1626
  * The number of ValueListener functions registered with the Store, since
1551
1627
  * v3.0.
1628
+ * @category Stat
1629
+ * @since v1.0.0
1552
1630
  */
1553
1631
  value: number;
1554
1632
  /**
1555
1633
  * The number of InvalidValueListener functions registered with the Store,
1556
1634
  * since v3.0.
1635
+ * @category Stat
1636
+ * @since v1.0.0
1557
1637
  */
1558
1638
  invalidValue: number;
1559
1639
  /**
1560
1640
  * The number of TransactionListener functions registered with the Store.
1641
+ * @category Stat
1642
+ * @since v1.0.0
1561
1643
  */
1562
1644
  transaction: number;
1563
1645
  };
@@ -1746,6 +1828,7 @@ export type StoreListenerStats = {
1746
1828
  * @see Hello World demos
1747
1829
  * @see Todo App demos
1748
1830
  * @category Store
1831
+ * @since v1.0.0
1749
1832
  */
1750
1833
  export interface Store {
1751
1834
  //
@@ -1818,6 +1901,7 @@ export interface Store {
1818
1901
  * // -> {}
1819
1902
  * ```
1820
1903
  * @category Getter
1904
+ * @since v1.0.0
1821
1905
  */
1822
1906
  getTables(): Tables;
1823
1907
 
@@ -1852,6 +1936,7 @@ export interface Store {
1852
1936
  * // -> []
1853
1937
  * ```
1854
1938
  * @category Getter
1939
+ * @since v1.0.0
1855
1940
  */
1856
1941
  getTableIds(): Ids;
1857
1942
 
@@ -1889,6 +1974,7 @@ export interface Store {
1889
1974
  * // -> {}
1890
1975
  * ```
1891
1976
  * @category Getter
1977
+ * @since v1.0.0
1892
1978
  */
1893
1979
  getTable(tableId: Id): Table;
1894
1980
 
@@ -2006,6 +2092,7 @@ export interface Store {
2006
2092
  * // -> []
2007
2093
  * ```
2008
2094
  * @category Getter
2095
+ * @since v1.0.0
2009
2096
  */
2010
2097
  getRowIds(tableId: Id): Ids;
2011
2098
 
@@ -2162,6 +2249,7 @@ export interface Store {
2162
2249
  * // -> {}
2163
2250
  * ```
2164
2251
  * @category Getter
2252
+ * @since v1.0.0
2165
2253
  */
2166
2254
  getRow(tableId: Id, rowId: Id): Row;
2167
2255
 
@@ -2200,6 +2288,7 @@ export interface Store {
2200
2288
  * // -> []
2201
2289
  * ```
2202
2290
  * @category Getter
2291
+ * @since v1.0.0
2203
2292
  */
2204
2293
  getCellIds(tableId: Id, rowId: Id): Ids;
2205
2294
 
@@ -2233,6 +2322,7 @@ export interface Store {
2233
2322
  * // -> undefined
2234
2323
  * ```
2235
2324
  * @category Getter
2325
+ * @since v1.0.0
2236
2326
  */
2237
2327
  getCell(tableId: Id, rowId: Id, cellId: Id): CellOrUndefined;
2238
2328
 
@@ -2349,6 +2439,7 @@ export interface Store {
2349
2439
  * // -> true
2350
2440
  * ```
2351
2441
  * @category Getter
2442
+ * @since v1.0.0
2352
2443
  */
2353
2444
  hasTables(): boolean;
2354
2445
 
@@ -2370,6 +2461,7 @@ export interface Store {
2370
2461
  * // -> false
2371
2462
  * ```
2372
2463
  * @category Getter
2464
+ * @since v1.0.0
2373
2465
  */
2374
2466
  hasTable(tableId: Id): boolean;
2375
2467
 
@@ -2419,6 +2511,7 @@ export interface Store {
2419
2511
  * // -> false
2420
2512
  * ```
2421
2513
  * @category Getter
2514
+ * @since v1.0.0
2422
2515
  */
2423
2516
  hasRow(tableId: Id, rowId: Id): boolean;
2424
2517
 
@@ -2442,6 +2535,7 @@ export interface Store {
2442
2535
  * // -> false
2443
2536
  * ```
2444
2537
  * @category Getter
2538
+ * @since v1.0.0
2445
2539
  */
2446
2540
  hasCell(tableId: Id, rowId: Id, cellId: Id): boolean;
2447
2541
 
@@ -2579,6 +2673,7 @@ export interface Store {
2579
2673
  * // -> '[{},{}]'
2580
2674
  * ```
2581
2675
  * @category Getter
2676
+ * @since v1.0.0
2582
2677
  */
2583
2678
  getJson(): Json;
2584
2679
 
@@ -2695,6 +2790,7 @@ export interface Store {
2695
2790
  * // -> '[{},{}]'
2696
2791
  * ```
2697
2792
  * @category Getter
2793
+ * @since v1.0.0
2698
2794
  */
2699
2795
  getSchemaJson(): Json;
2700
2796
 
@@ -2861,6 +2957,7 @@ export interface Store {
2861
2957
  * // -> {pets: {felix: {species: 'cat'}}}
2862
2958
  * ```
2863
2959
  * @category Setter
2960
+ * @since v1.0.0
2864
2961
  */
2865
2962
  setTables(tables: Tables): this;
2866
2963
 
@@ -2916,6 +3013,7 @@ export interface Store {
2916
3013
  * // -> {pets: {felix: {species: 'cat'}}}
2917
3014
  * ```
2918
3015
  * @category Setter
3016
+ * @since v1.0.0
2919
3017
  */
2920
3018
  setTable(tableId: Id, table: Table): this;
2921
3019
 
@@ -2969,6 +3067,7 @@ export interface Store {
2969
3067
  * // -> {pets: {fido: {color: 'brown'}}}
2970
3068
  * ```
2971
3069
  * @category Setter
3070
+ * @since v1.0.0
2972
3071
  */
2973
3072
  setRow(tableId: Id, rowId: Id, row: Row): this;
2974
3073
 
@@ -3034,6 +3133,7 @@ export interface Store {
3034
3133
  * // -> {pets: {'0': {species: 'dog'}, '1': {species: 'cat'}}}
3035
3134
  * ```
3036
3135
  * @category Setter
3136
+ * @since v1.0.0
3037
3137
  */
3038
3138
  addRow(tableId: Id, row: Row, reuseRowIds?: boolean): Id | undefined;
3039
3139
 
@@ -3089,6 +3189,7 @@ export interface Store {
3089
3189
  * // -> {pets: {fido: {species: 'dog', color: 'brown'}}}
3090
3190
  * ```
3091
3191
  * @category Setter
3192
+ * @since v1.0.0
3092
3193
  */
3093
3194
  setPartialRow(tableId: Id, rowId: Id, partialRow: Row): this;
3094
3195
 
@@ -3152,6 +3253,7 @@ export interface Store {
3152
3253
  * // -> {pets: {fido: {species: 'dog'}}}
3153
3254
  * ```
3154
3255
  * @category Setter
3256
+ * @since v1.0.0
3155
3257
  */
3156
3258
  setCell(tableId: Id, rowId: Id, cellId: Id, cell: Cell | MapCell): this;
3157
3259
 
@@ -3495,6 +3597,7 @@ export interface Store {
3495
3597
  * // -> {}
3496
3598
  * ```
3497
3599
  * @category Setter
3600
+ * @since v1.0.0
3498
3601
  */
3499
3602
  setJson(tablesAndValuesJson: Json): this;
3500
3603
 
@@ -3622,6 +3725,7 @@ export interface Store {
3622
3725
  * // -> {pets: {0: {species: 'dog', sold: false}}}
3623
3726
  * ```
3624
3727
  * @category Setter
3728
+ * @since v1.0.0
3625
3729
  */
3626
3730
  setSchema(tablesSchema: TablesSchema, valuesSchema?: ValuesSchema): this;
3627
3731
 
@@ -3641,6 +3745,7 @@ export interface Store {
3641
3745
  * // -> {}
3642
3746
  * ```
3643
3747
  * @category Deleter
3748
+ * @since v1.0.0
3644
3749
  */
3645
3750
  delTables(): this;
3646
3751
 
@@ -3664,6 +3769,7 @@ export interface Store {
3664
3769
  * // -> {species: {dog: {price: 5}}}
3665
3770
  * ```
3666
3771
  * @category Deleter
3772
+ * @since v1.0.0
3667
3773
  */
3668
3774
  delTable(tableId: Id): this;
3669
3775
 
@@ -3689,6 +3795,7 @@ export interface Store {
3689
3795
  * // -> {pets: {felix: {species: 'cat'}}}
3690
3796
  * ```
3691
3797
  * @category Deleter
3798
+ * @since v1.0.0
3692
3799
  */
3693
3800
  delRow(tableId: Id, rowId: Id): this;
3694
3801
 
@@ -3778,6 +3885,7 @@ export interface Store {
3778
3885
  * // -> {pets: {felix: {species: 'cat', sold: false}}}
3779
3886
  * ```
3780
3887
  * @category Deleter
3888
+ * @since v1.0.0
3781
3889
  */
3782
3890
  delCell(tableId: Id, rowId: Id, cellId: Id, forceDel?: boolean): this;
3783
3891
 
@@ -3883,6 +3991,7 @@ export interface Store {
3883
3991
  * // -> '{}'
3884
3992
  * ```
3885
3993
  * @category Deleter
3994
+ * @since v1.0.0
3886
3995
  */
3887
3996
  delTablesSchema(): this;
3888
3997
 
@@ -4064,6 +4173,7 @@ export interface Store {
4064
4173
  * // -> {open: true}
4065
4174
  * ```
4066
4175
  * @category Transaction
4176
+ * @since v1.0.0
4067
4177
  */
4068
4178
  transaction<Return>(actions: () => Return, doRollback?: DoRollback): Return;
4069
4179
 
@@ -4332,6 +4442,7 @@ export interface Store {
4332
4442
  * // -> '- dog'
4333
4443
  * ```
4334
4444
  * @category Iterator
4445
+ * @since v1.0.0
4335
4446
  */
4336
4447
  forEachTable(tableCallback: TableCallback): void;
4337
4448
 
@@ -4399,6 +4510,7 @@ export interface Store {
4399
4510
  * // -> '- color'
4400
4511
  * ```
4401
4512
  * @category Iterator
4513
+ * @since v1.0.0
4402
4514
  */
4403
4515
  forEachRow(tableId: Id, rowCallback: RowCallback): void;
4404
4516
 
@@ -4428,6 +4540,7 @@ export interface Store {
4428
4540
  * // -> 'color: brown'
4429
4541
  * ```
4430
4542
  * @category Iterator
4543
+ * @since v1.0.0
4431
4544
  */
4432
4545
  forEachCell(tableId: Id, rowId: Id, cellCallback: CellCallback): void;
4433
4546
 
@@ -4593,6 +4706,7 @@ export interface Store {
4593
4706
  * store.delListener(listenerId);
4594
4707
  * ```
4595
4708
  * @category Listener
4709
+ * @since v1.0.0
4596
4710
  */
4597
4711
  addTablesListener(listener: TablesListener<this>, mutator?: boolean): Id;
4598
4712
 
@@ -4659,6 +4773,7 @@ export interface Store {
4659
4773
  * store.delListener(listenerId);
4660
4774
  * ```
4661
4775
  * @category Listener
4776
+ * @since v1.0.0
4662
4777
  */
4663
4778
  addTableIdsListener(listener: TableIdsListener<this>, mutator?: boolean): Id;
4664
4779
 
@@ -4864,6 +4979,7 @@ export interface Store {
4864
4979
  * store.delListener(listenerId);
4865
4980
  * ```
4866
4981
  * @category Listener
4982
+ * @since v1.0.0
4867
4983
  */
4868
4984
  addTableListener(
4869
4985
  tableId: IdOrNull,
@@ -4974,6 +5090,7 @@ export interface Store {
4974
5090
  * store.delListener(listenerId);
4975
5091
  * ```
4976
5092
  * @category Listener
5093
+ * @since v1.0.0
4977
5094
  */
4978
5095
  addTableCellIdsListener(
4979
5096
  tableId: IdOrNull,
@@ -5295,6 +5412,7 @@ export interface Store {
5295
5412
  * store.delListener(listenerId);
5296
5413
  * ```
5297
5414
  * @category Listener
5415
+ * @since v1.0.0
5298
5416
  */
5299
5417
  addRowIdsListener(
5300
5418
  tableId: IdOrNull,
@@ -5767,6 +5885,7 @@ export interface Store {
5767
5885
  * store.delListener(listenerId);
5768
5886
  * ```
5769
5887
  * @category Listener
5888
+ * @since v1.0.0
5770
5889
  */
5771
5890
  addRowListener(
5772
5891
  tableId: IdOrNull,
@@ -5878,6 +5997,7 @@ export interface Store {
5878
5997
  * store.delListener(listenerId);
5879
5998
  * ```
5880
5999
  * @category Listener
6000
+ * @since v1.0.0
5881
6001
  */
5882
6002
  addCellIdsListener(
5883
6003
  tableId: IdOrNull,
@@ -6132,6 +6252,7 @@ export interface Store {
6132
6252
  * store.delListener(listenerId);
6133
6253
  * ```
6134
6254
  * @category Listener
6255
+ * @since v1.0.0
6135
6256
  */
6136
6257
  addCellListener(
6137
6258
  tableId: IdOrNull,
@@ -7326,6 +7447,7 @@ export interface Store {
7326
7447
  * store.delListener(listenerId2);
7327
7448
  * ```
7328
7449
  * @category Listener
7450
+ * @since v1.0.0
7329
7451
  */
7330
7452
  callListener(listenerId: Id): this;
7331
7453
 
@@ -7360,6 +7482,7 @@ export interface Store {
7360
7482
  * // The listener is not called.
7361
7483
  * ```
7362
7484
  * @category Listener
7485
+ * @since v1.0.0
7363
7486
  */
7364
7487
  delListener(listenerId: Id): this;
7365
7488
 
@@ -7390,6 +7513,7 @@ export interface Store {
7390
7513
  * // -> 1
7391
7514
  * ```
7392
7515
  * @category Development
7516
+ * @since v1.0.0
7393
7517
  */
7394
7518
  getListenerStats(): StoreListenerStats;
7395
7519
 
@@ -7450,5 +7574,6 @@ export interface Store {
7450
7574
  * ```
7451
7575
  * @see The Basics guides
7452
7576
  * @category Creation
7577
+ * @since v1.0.0
7453
7578
  */
7454
7579
  export function createStore(): Store;