@minca/core 0.2.0 → 0.3.1

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 (313) hide show
  1. package/dist/identity/abilities.d.ts +0 -2
  2. package/dist/identity/abilities.d.ts.map +1 -1
  3. package/dist/identity/abilities.js +2 -2
  4. package/dist/identity/abilities.js.map +1 -1
  5. package/dist/identity/account-vault.d.ts +0 -2
  6. package/dist/identity/account-vault.d.ts.map +1 -1
  7. package/dist/identity/account-vault.js +1 -1
  8. package/dist/identity/account-vault.js.map +1 -1
  9. package/dist/identity/crypto-p256.d.ts +1 -1
  10. package/dist/identity/crypto-p256.d.ts.map +1 -1
  11. package/dist/identity/ucan.d.ts +2 -1
  12. package/dist/identity/ucan.d.ts.map +1 -1
  13. package/dist/identity/ucan.js +1 -1
  14. package/dist/identity/ucan.js.map +1 -1
  15. package/dist/inbox/inbox.d.ts +0 -21
  16. package/dist/inbox/inbox.d.ts.map +1 -1
  17. package/dist/inbox/inbox.js +4 -4
  18. package/dist/inbox/inbox.js.map +1 -1
  19. package/dist/inbox/index.d.ts +4 -5
  20. package/dist/inbox/index.d.ts.map +1 -1
  21. package/dist/inbox/index.js +2 -3
  22. package/dist/inbox/index.js.map +1 -1
  23. package/dist/inbox/names.d.ts +0 -4
  24. package/dist/inbox/names.d.ts.map +1 -1
  25. package/dist/inbox/names.js +2 -2
  26. package/dist/inbox/names.js.map +1 -1
  27. package/dist/index.d.ts +45 -71
  28. package/dist/index.d.ts.map +1 -1
  29. package/dist/index.js +34 -53
  30. package/dist/index.js.map +1 -1
  31. package/dist/network/mesh.d.ts.map +1 -1
  32. package/dist/network/mesh.js +10 -0
  33. package/dist/network/mesh.js.map +1 -1
  34. package/dist/network/rendezvous.d.ts +2 -0
  35. package/dist/network/rendezvous.d.ts.map +1 -1
  36. package/dist/network/rendezvous.js +5 -0
  37. package/dist/network/rendezvous.js.map +1 -1
  38. package/dist/network/rtc-transport.d.ts.map +1 -1
  39. package/dist/network/rtc-transport.js +8 -3
  40. package/dist/network/rtc-transport.js.map +1 -1
  41. package/dist/node/carrier.d.ts +1 -33
  42. package/dist/node/carrier.d.ts.map +1 -1
  43. package/dist/node/carrier.js +38 -68
  44. package/dist/node/carrier.js.map +1 -1
  45. package/dist/node/index.d.ts +7 -14
  46. package/dist/node/index.d.ts.map +1 -1
  47. package/dist/node/index.js +4 -8
  48. package/dist/node/index.js.map +1 -1
  49. package/dist/node/node-carriers.d.ts.map +1 -1
  50. package/dist/node/node-carriers.js +21 -52
  51. package/dist/node/node-carriers.js.map +1 -1
  52. package/dist/node/node-context.d.ts +0 -2
  53. package/dist/node/node-context.d.ts.map +1 -1
  54. package/dist/node/node-context.js.map +1 -1
  55. package/dist/node/node-hosting.d.ts.map +1 -1
  56. package/dist/node/node-hosting.js +13 -4
  57. package/dist/node/node-hosting.js.map +1 -1
  58. package/dist/node/node-records.js +1 -1
  59. package/dist/node/node-records.js.map +1 -1
  60. package/dist/node/node.d.ts.map +1 -1
  61. package/dist/node/node.js +134 -36
  62. package/dist/node/node.js.map +1 -1
  63. package/dist/node/space-checks.d.ts +3 -1
  64. package/dist/node/space-checks.d.ts.map +1 -1
  65. package/dist/node/space-checks.js +7 -3
  66. package/dist/node/space-checks.js.map +1 -1
  67. package/dist/node/space-holding.d.ts +5 -0
  68. package/dist/node/space-holding.d.ts.map +1 -1
  69. package/dist/node/space-holding.js +90 -5
  70. package/dist/node/space-holding.js.map +1 -1
  71. package/dist/node/space-lines.d.ts +3 -0
  72. package/dist/node/space-lines.d.ts.map +1 -1
  73. package/dist/node/space-lines.js +13 -1
  74. package/dist/node/space-lines.js.map +1 -1
  75. package/dist/node/space-membership.js +4 -4
  76. package/dist/node/space-membership.js.map +1 -1
  77. package/dist/node/space-peers.d.ts +5 -2
  78. package/dist/node/space-peers.d.ts.map +1 -1
  79. package/dist/node/space-peers.js +3 -2
  80. package/dist/node/space-peers.js.map +1 -1
  81. package/dist/node/space-runtime.d.ts +3 -1
  82. package/dist/node/space-runtime.d.ts.map +1 -1
  83. package/dist/node/space-runtime.js +29 -8
  84. package/dist/node/space-runtime.js.map +1 -1
  85. package/dist/node/space-standing.d.ts +1 -1
  86. package/dist/node/space-standing.d.ts.map +1 -1
  87. package/dist/node/space-standing.js +11 -4
  88. package/dist/node/space-standing.js.map +1 -1
  89. package/dist/node/space-writing.d.ts.map +1 -1
  90. package/dist/node/space-writing.js +9 -0
  91. package/dist/node/space-writing.js.map +1 -1
  92. package/dist/node/stores.d.ts +9 -1
  93. package/dist/node/stores.d.ts.map +1 -1
  94. package/dist/node/stores.js +4 -2
  95. package/dist/node/stores.js.map +1 -1
  96. package/dist/node/types.d.ts +16 -5
  97. package/dist/node/types.d.ts.map +1 -1
  98. package/dist/node/worker.d.ts +14 -6
  99. package/dist/node/worker.d.ts.map +1 -1
  100. package/dist/node/worker.js +59 -20
  101. package/dist/node/worker.js.map +1 -1
  102. package/dist/node/writer-keys.d.ts +2 -2
  103. package/dist/node/writer-keys.d.ts.map +1 -1
  104. package/dist/node/writer-keys.js +12 -14
  105. package/dist/node/writer-keys.js.map +1 -1
  106. package/dist/privacy/direct.d.ts +0 -7
  107. package/dist/privacy/direct.d.ts.map +1 -1
  108. package/dist/privacy/direct.js +2 -2
  109. package/dist/privacy/direct.js.map +1 -1
  110. package/dist/query/filter.d.ts +0 -2
  111. package/dist/query/filter.d.ts.map +1 -1
  112. package/dist/query/filter.js +1 -1
  113. package/dist/query/filter.js.map +1 -1
  114. package/dist/query/types.d.ts +2 -6
  115. package/dist/query/types.d.ts.map +1 -1
  116. package/dist/query/types.js.map +1 -1
  117. package/dist/records/key.d.ts +2 -0
  118. package/dist/records/key.d.ts.map +1 -1
  119. package/dist/records/key.js +4 -0
  120. package/dist/records/key.js.map +1 -1
  121. package/dist/records/links.js +1 -1
  122. package/dist/schemas/direct.d.ts +70 -0
  123. package/dist/schemas/direct.d.ts.map +1 -0
  124. package/dist/schemas/direct.js +39 -0
  125. package/dist/schemas/direct.js.map +1 -0
  126. package/dist/schemas/index.d.ts +10 -73
  127. package/dist/schemas/index.d.ts.map +1 -1
  128. package/dist/schemas/index.js +8 -66
  129. package/dist/schemas/index.js.map +1 -1
  130. package/dist/session/connect.d.ts +12 -5
  131. package/dist/session/connect.d.ts.map +1 -1
  132. package/dist/session/connect.js +25 -21
  133. package/dist/session/connect.js.map +1 -1
  134. package/dist/session/connection.d.ts +8 -2
  135. package/dist/session/connection.d.ts.map +1 -1
  136. package/dist/session/connection.js +140 -11
  137. package/dist/session/connection.js.map +1 -1
  138. package/dist/session/hosting.d.ts +1 -7
  139. package/dist/session/hosting.d.ts.map +1 -1
  140. package/dist/session/hosting.js +3 -3
  141. package/dist/session/hosting.js.map +1 -1
  142. package/dist/session/index.d.ts +7 -12
  143. package/dist/session/index.d.ts.map +1 -1
  144. package/dist/session/index.js +6 -9
  145. package/dist/session/index.js.map +1 -1
  146. package/dist/session/stay-signed-in.d.ts +0 -1
  147. package/dist/session/stay-signed-in.d.ts.map +1 -1
  148. package/dist/session/stay-signed-in.js +1 -1
  149. package/dist/session/stay-signed-in.js.map +1 -1
  150. package/dist/space/account-registry.d.ts +0 -3
  151. package/dist/space/account-registry.d.ts.map +1 -1
  152. package/dist/space/account-registry.js.map +1 -1
  153. package/dist/space/own-automations.d.ts +51 -95
  154. package/dist/space/own-automations.d.ts.map +1 -1
  155. package/dist/space/own-automations.js +100 -295
  156. package/dist/space/own-automations.js.map +1 -1
  157. package/dist/space/pass.d.ts +8 -3
  158. package/dist/space/pass.d.ts.map +1 -1
  159. package/dist/space/pass.js +4 -3
  160. package/dist/space/pass.js.map +1 -1
  161. package/dist/space/space-manager.d.ts +1 -3
  162. package/dist/space/space-manager.d.ts.map +1 -1
  163. package/dist/space/space-manager.js +5 -7
  164. package/dist/space/space-manager.js.map +1 -1
  165. package/dist/storage/body-cache.d.ts +26 -0
  166. package/dist/storage/body-cache.d.ts.map +1 -0
  167. package/dist/storage/body-cache.js +41 -0
  168. package/dist/storage/body-cache.js.map +1 -0
  169. package/dist/storage/encrypted-adapter.d.ts +0 -5
  170. package/dist/storage/encrypted-adapter.d.ts.map +1 -1
  171. package/dist/storage/encrypted-adapter.js +1 -1
  172. package/dist/storage/encrypted-adapter.js.map +1 -1
  173. package/dist/storage/folder-adapter.d.ts +8 -2
  174. package/dist/storage/folder-adapter.d.ts.map +1 -1
  175. package/dist/storage/folder-adapter.js +43 -26
  176. package/dist/storage/folder-adapter.js.map +1 -1
  177. package/dist/storage/indexeddb-adapter.js +27 -2
  178. package/dist/storage/indexeddb-adapter.js.map +1 -1
  179. package/dist/storage/sqlite-adapter.d.ts +57 -0
  180. package/dist/storage/sqlite-adapter.d.ts.map +1 -0
  181. package/dist/storage/sqlite-adapter.js +213 -0
  182. package/dist/storage/sqlite-adapter.js.map +1 -0
  183. package/dist/storage/storage-provider.d.ts +21 -2
  184. package/dist/storage/storage-provider.d.ts.map +1 -1
  185. package/dist/storage/storage-provider.js +149 -56
  186. package/dist/storage/storage-provider.js.map +1 -1
  187. package/dist/sync/sync-engine.d.ts +10 -4
  188. package/dist/sync/sync-engine.d.ts.map +1 -1
  189. package/dist/sync/sync-engine.js +120 -38
  190. package/dist/sync/sync-engine.js.map +1 -1
  191. package/dist/sync/sync-messages.d.ts +4 -0
  192. package/dist/sync/sync-messages.d.ts.map +1 -1
  193. package/dist/sync/sync-messages.js.map +1 -1
  194. package/dist/types.d.ts +0 -7
  195. package/dist/types.d.ts.map +1 -1
  196. package/dist/types.js +0 -1
  197. package/dist/types.js.map +1 -1
  198. package/dist/utils/step.d.ts +8 -0
  199. package/dist/utils/step.d.ts.map +1 -0
  200. package/dist/utils/step.js +15 -0
  201. package/dist/utils/step.js.map +1 -0
  202. package/docs/README.md +1 -1
  203. package/docs/actions.md +41 -2
  204. package/docs/agents.md +13 -10
  205. package/docs/automations.md +16 -48
  206. package/docs/blueprints-and-guides.md +2 -2
  207. package/docs/bots.md +3 -3
  208. package/docs/collections.md +2 -4
  209. package/docs/computed.md +1 -2
  210. package/docs/node.md +87 -23
  211. package/docs/proposing-collections.md +3 -3
  212. package/docs/sign-in.md +16 -16
  213. package/docs/spaces.md +0 -5
  214. package/docs/standard-library.md +6 -8
  215. package/docs/storage.md +78 -12
  216. package/docs/usernames.md +1 -1
  217. package/package.json +7 -8
  218. package/dist/node/actions.d.ts +0 -85
  219. package/dist/node/actions.d.ts.map +0 -1
  220. package/dist/node/actions.js +0 -921
  221. package/dist/node/actions.js.map +0 -1
  222. package/dist/node/host.d.ts +0 -187
  223. package/dist/node/host.d.ts.map +0 -1
  224. package/dist/node/host.js +0 -818
  225. package/dist/node/host.js.map +0 -1
  226. package/dist/node/usage.d.ts +0 -32
  227. package/dist/node/usage.d.ts.map +0 -1
  228. package/dist/node/usage.js +0 -217
  229. package/dist/node/usage.js.map +0 -1
  230. package/dist/node/watch-notifications.d.ts +0 -25
  231. package/dist/node/watch-notifications.d.ts.map +0 -1
  232. package/dist/node/watch-notifications.js +0 -166
  233. package/dist/node/watch-notifications.js.map +0 -1
  234. package/dist/schemas/automations.d.ts +0 -390
  235. package/dist/schemas/automations.d.ts.map +0 -1
  236. package/dist/schemas/automations.js +0 -619
  237. package/dist/schemas/automations.js.map +0 -1
  238. package/dist/schemas/blueprints.d.ts +0 -122
  239. package/dist/schemas/blueprints.d.ts.map +0 -1
  240. package/dist/schemas/blueprints.js +0 -337
  241. package/dist/schemas/blueprints.js.map +0 -1
  242. package/dist/schemas/choosing.d.ts +0 -19
  243. package/dist/schemas/choosing.d.ts.map +0 -1
  244. package/dist/schemas/choosing.js +0 -69
  245. package/dist/schemas/choosing.js.map +0 -1
  246. package/dist/schemas/connectors.d.ts +0 -202
  247. package/dist/schemas/connectors.d.ts.map +0 -1
  248. package/dist/schemas/connectors.js +0 -140
  249. package/dist/schemas/connectors.js.map +0 -1
  250. package/dist/schemas/cron.d.ts +0 -14
  251. package/dist/schemas/cron.d.ts.map +0 -1
  252. package/dist/schemas/cron.js +0 -75
  253. package/dist/schemas/cron.js.map +0 -1
  254. package/dist/schemas/geo.d.ts +0 -63
  255. package/dist/schemas/geo.d.ts.map +0 -1
  256. package/dist/schemas/geo.js +0 -131
  257. package/dist/schemas/geo.js.map +0 -1
  258. package/dist/schemas/guides.d.ts +0 -26
  259. package/dist/schemas/guides.d.ts.map +0 -1
  260. package/dist/schemas/guides.js +0 -33
  261. package/dist/schemas/guides.js.map +0 -1
  262. package/dist/schemas/library/annotations.d.ts +0 -616
  263. package/dist/schemas/library/annotations.d.ts.map +0 -1
  264. package/dist/schemas/library/annotations.js +0 -156
  265. package/dist/schemas/library/annotations.js.map +0 -1
  266. package/dist/schemas/library/collections.d.ts +0 -211
  267. package/dist/schemas/library/collections.d.ts.map +0 -1
  268. package/dist/schemas/library/collections.js +0 -57
  269. package/dist/schemas/library/collections.js.map +0 -1
  270. package/dist/schemas/library/community.d.ts +0 -1136
  271. package/dist/schemas/library/community.d.ts.map +0 -1
  272. package/dist/schemas/library/community.js +0 -315
  273. package/dist/schemas/library/community.js.map +0 -1
  274. package/dist/schemas/library/life.d.ts +0 -1440
  275. package/dist/schemas/library/life.d.ts.map +0 -1
  276. package/dist/schemas/library/life.js +0 -202
  277. package/dist/schemas/library/life.js.map +0 -1
  278. package/dist/schemas/library/media.d.ts +0 -1002
  279. package/dist/schemas/library/media.d.ts.map +0 -1
  280. package/dist/schemas/library/media.js +0 -110
  281. package/dist/schemas/library/media.js.map +0 -1
  282. package/dist/schemas/library/money.d.ts +0 -1221
  283. package/dist/schemas/library/money.d.ts.map +0 -1
  284. package/dist/schemas/library/money.js +0 -168
  285. package/dist/schemas/library/money.js.map +0 -1
  286. package/dist/schemas/library/planning.d.ts +0 -1107
  287. package/dist/schemas/library/planning.d.ts.map +0 -1
  288. package/dist/schemas/library/planning.js +0 -214
  289. package/dist/schemas/library/planning.js.map +0 -1
  290. package/dist/schemas/library/publishing.d.ts +0 -1499
  291. package/dist/schemas/library/publishing.d.ts.map +0 -1
  292. package/dist/schemas/library/publishing.js +0 -285
  293. package/dist/schemas/library/publishing.js.map +0 -1
  294. package/dist/schemas/library/social.d.ts +0 -1257
  295. package/dist/schemas/library/social.d.ts.map +0 -1
  296. package/dist/schemas/library/social.js +0 -147
  297. package/dist/schemas/library/social.js.map +0 -1
  298. package/dist/schemas/standard.d.ts +0 -21
  299. package/dist/schemas/standard.d.ts.map +0 -1
  300. package/dist/schemas/standard.js +0 -39
  301. package/dist/schemas/standard.js.map +0 -1
  302. package/dist/session/auth.d.ts +0 -411
  303. package/dist/session/auth.d.ts.map +0 -1
  304. package/dist/session/auth.js +0 -1529
  305. package/dist/session/auth.js.map +0 -1
  306. package/dist/session/credentials.d.ts +0 -30
  307. package/dist/session/credentials.d.ts.map +0 -1
  308. package/dist/session/credentials.js +0 -63
  309. package/dist/session/credentials.js.map +0 -1
  310. package/dist/session/password-strength.d.ts +0 -22
  311. package/dist/session/password-strength.d.ts.map +0 -1
  312. package/dist/session/password-strength.js +0 -130
  313. package/dist/session/password-strength.js.map +0 -1
@@ -1,1107 +0,0 @@
1
- import type { BodyOf } from '../../query/types.js';
2
- /** A calendar that events are `in`. */
3
- export declare const calendar: {
4
- readonly name: "std.calendar";
5
- readonly title: "Calendar";
6
- readonly description: "A calendar of events.";
7
- readonly schema: {
8
- readonly type: "object";
9
- readonly properties: {
10
- name: {
11
- type: 'string';
12
- minLength?: number | undefined;
13
- maxLength: number;
14
- };
15
- color: {
16
- type: 'string';
17
- minLength?: number | undefined;
18
- maxLength: number;
19
- };
20
- };
21
- readonly required: readonly ["name"];
22
- };
23
- } & import("../../index.js").Typed<{
24
- readonly name: string;
25
- readonly color?: string | undefined;
26
- }>;
27
- export type Calendar = BodyOf<typeof calendar>;
28
- /**
29
- * Something happening at a time, after JSCalendar (RFC 8984). `start` and
30
- * `end` are RFC 3339 with `tz` saying where the times are meant, or whole days
31
- * (`YYYY-MM-DD`) with `allDay`. `rrule` repeats it (RFC 5545).
32
- */
33
- export declare const event: {
34
- readonly name: "std.event";
35
- readonly title: "Event";
36
- readonly description: "Something happening at a time and place.";
37
- readonly schema: {
38
- readonly type: "object";
39
- readonly properties: {
40
- readonly title: {
41
- type: 'string';
42
- minLength?: number | undefined;
43
- maxLength: number;
44
- };
45
- readonly description: {
46
- type: 'string';
47
- minLength?: number | undefined;
48
- maxLength: number;
49
- };
50
- readonly category: {
51
- type: 'string';
52
- minLength?: number | undefined;
53
- maxLength: number;
54
- };
55
- readonly start: {
56
- type: 'string';
57
- minLength?: number | undefined;
58
- maxLength: number;
59
- } & {
60
- readonly 'x-kind': "when";
61
- };
62
- readonly end: {
63
- type: 'string';
64
- minLength?: number | undefined;
65
- maxLength: number;
66
- } & {
67
- readonly 'x-kind': "when";
68
- };
69
- readonly tz: {
70
- type: 'string';
71
- minLength?: number | undefined;
72
- maxLength: number;
73
- };
74
- readonly allDay: {
75
- readonly type: "boolean";
76
- };
77
- readonly place: {
78
- type: 'object';
79
- properties: {
80
- name: {
81
- type: 'string';
82
- minLength?: number | undefined;
83
- maxLength: number;
84
- };
85
- address: {
86
- type: 'object';
87
- properties: {
88
- street: {
89
- type: 'string';
90
- minLength?: number | undefined;
91
- maxLength: number;
92
- };
93
- locality: {
94
- type: 'string';
95
- minLength?: number | undefined;
96
- maxLength: number;
97
- };
98
- region: {
99
- type: 'string';
100
- minLength?: number | undefined;
101
- maxLength: number;
102
- };
103
- postcode: {
104
- type: 'string';
105
- minLength?: number | undefined;
106
- maxLength: number;
107
- };
108
- country: {
109
- type: 'string';
110
- minLength?: number | undefined;
111
- maxLength: number;
112
- };
113
- };
114
- };
115
- lat: {
116
- type: 'number';
117
- minimum: number;
118
- maximum: number;
119
- };
120
- lon: {
121
- type: 'number';
122
- minimum: number;
123
- maximum: number;
124
- };
125
- cells: {
126
- type: 'array';
127
- maxItems: number;
128
- items: {
129
- type: 'string';
130
- minLength?: number | undefined;
131
- maxLength: number;
132
- };
133
- description: string;
134
- };
135
- };
136
- };
137
- readonly url: {
138
- type: 'string';
139
- minLength?: number | undefined;
140
- maxLength: number;
141
- } & {
142
- readonly 'x-kind': "url";
143
- };
144
- readonly rrule: {
145
- type: 'string';
146
- minLength?: number | undefined;
147
- maxLength: number;
148
- };
149
- readonly status: {
150
- enum: ("cancelled" | "confirmed" | "tentative")[];
151
- };
152
- };
153
- readonly required: readonly ["title", "start"];
154
- };
155
- readonly links: {
156
- in: import("../../records/links.js").LinkDeclaration;
157
- };
158
- readonly topics: readonly ["place.cells"];
159
- } & import("../../index.js").Typed<{
160
- readonly title: string;
161
- readonly description?: string | undefined;
162
- readonly category?: string | undefined;
163
- readonly start: string;
164
- readonly end?: string | undefined;
165
- readonly tz?: string | undefined;
166
- readonly allDay?: boolean | undefined;
167
- readonly place?: {
168
- readonly name?: string | undefined;
169
- readonly address?: {
170
- readonly street?: string | undefined;
171
- readonly locality?: string | undefined;
172
- readonly region?: string | undefined;
173
- readonly postcode?: string | undefined;
174
- readonly country?: string | undefined;
175
- } | undefined;
176
- readonly lat?: number | undefined;
177
- readonly lon?: number | undefined;
178
- readonly cells?: readonly string[] | undefined;
179
- } | undefined;
180
- readonly url?: string | undefined;
181
- readonly rrule?: string | undefined;
182
- readonly status?: "cancelled" | "confirmed" | "tentative" | undefined;
183
- }>;
184
- export type CalendarEvent = BodyOf<typeof event>;
185
- /** Whether someone is coming: one per person per event, changed by answering again. */
186
- export declare const rsvp: {
187
- readonly name: "std.rsvp";
188
- readonly title: "RSVP";
189
- readonly description: "Whether someone is coming to an event: one answer per person.";
190
- readonly schema: {
191
- readonly type: "object";
192
- readonly properties: {
193
- respondingTo: {
194
- type: 'string';
195
- minLength?: number | undefined;
196
- maxLength: number;
197
- } & {
198
- readonly 'x-kind': "did";
199
- };
200
- status: {
201
- enum: ("going" | "maybe" | "no")[];
202
- };
203
- guests: {
204
- type: 'integer';
205
- minimum: number;
206
- maximum?: number | undefined;
207
- };
208
- note: {
209
- type: 'string';
210
- minLength?: number | undefined;
211
- maxLength: number;
212
- };
213
- };
214
- readonly required: readonly ["status"];
215
- };
216
- readonly links: {
217
- about: import("../../records/links.js").LinkDeclaration;
218
- };
219
- readonly rules: {
220
- readonly onePer: readonly ["@author", "link:about"];
221
- };
222
- readonly topics: readonly ["respondingTo"];
223
- } & import("../../index.js").Typed<{
224
- readonly respondingTo?: string | undefined;
225
- readonly status: "going" | "maybe" | "no";
226
- readonly guests?: number | undefined;
227
- readonly note?: string | undefined;
228
- }>;
229
- export type Rsvp = BodyOf<typeof rsvp>;
230
- /** A time that can be booked. Bookings are `about` it, one each. */
231
- export declare const slot: {
232
- readonly name: "std.slot";
233
- readonly title: "Slot";
234
- readonly description: "A time one person can book, by a std.claim about it.";
235
- readonly schema: {
236
- readonly type: "object";
237
- readonly properties: {
238
- start: {
239
- type: 'string';
240
- minLength?: number | undefined;
241
- maxLength: number;
242
- } & {
243
- readonly 'x-kind': "when";
244
- };
245
- end: {
246
- type: 'string';
247
- minLength?: number | undefined;
248
- maxLength: number;
249
- } & {
250
- readonly 'x-kind': "when";
251
- };
252
- tz: {
253
- type: 'string';
254
- minLength?: number | undefined;
255
- maxLength: number;
256
- };
257
- note: {
258
- type: 'string';
259
- minLength?: number | undefined;
260
- maxLength: number;
261
- };
262
- };
263
- readonly required: readonly ["start", "end"];
264
- };
265
- readonly links: {
266
- in: import("../../records/links.js").LinkDeclaration;
267
- };
268
- } & import("../../index.js").Typed<{
269
- readonly start: string;
270
- readonly end: string;
271
- readonly tz?: string | undefined;
272
- readonly note?: string | undefined;
273
- }>;
274
- export type Slot = BodyOf<typeof slot>;
275
- /** A column on a board — To do, Doing, Done — in the order it sits. */
276
- export declare const column: {
277
- readonly name: "std.column";
278
- readonly title: "Column";
279
- readonly description: "A column on a task board (To do, Doing, Done), in a std.project or on its own; tasks sit in it.";
280
- readonly schema: {
281
- readonly type: "object";
282
- readonly properties: {
283
- readonly name: {
284
- readonly type: "string";
285
- readonly minLength: 1;
286
- readonly maxLength: 200;
287
- };
288
- readonly position: {
289
- readonly type: "string";
290
- readonly minLength: 1;
291
- readonly maxLength: 200;
292
- readonly description: "Sorts where the column goes";
293
- };
294
- };
295
- readonly required: readonly ["name"];
296
- };
297
- readonly links: {
298
- in: import("../../records/links.js").LinkDeclaration;
299
- };
300
- } & import("../../index.js").Typed<{
301
- readonly name: string;
302
- readonly position?: string | undefined;
303
- }>;
304
- export type Column = BodyOf<typeof column>;
305
- /**
306
- * A task: `in` a column of a board, or in a project with no columns, and
307
- * under a parent task. `status` is for lists without columns; a board's
308
- * column says where the task is.
309
- * `assignees` is its topic, so "assigned to me" can be asked of a keeper that
310
- * can't read it.
311
- */
312
- export declare const task: {
313
- readonly name: "std.task";
314
- readonly title: "Task";
315
- readonly description: "A thing to do: a to-do, an issue, a card on a board. `status` for plain lists; on a board it sits in a std.column. Something to be reminded of about an existing record is a std.reminder.";
316
- readonly schema: {
317
- readonly type: "object";
318
- readonly properties: {
319
- readonly title: {
320
- readonly type: "string";
321
- readonly minLength: 1;
322
- readonly maxLength: 500;
323
- };
324
- readonly notes: {
325
- readonly type: "string";
326
- readonly maxLength: 10000;
327
- };
328
- readonly position: {
329
- readonly type: "string";
330
- readonly minLength: 1;
331
- readonly maxLength: 200;
332
- readonly description: "Sorts where the task goes in its column";
333
- };
334
- readonly due: {
335
- type: 'string';
336
- minLength?: number | undefined;
337
- maxLength: number;
338
- } & {
339
- readonly 'x-kind': "when";
340
- };
341
- readonly status: {
342
- enum: ("cancelled" | "doing" | "done" | "todo")[];
343
- };
344
- readonly assignees: {
345
- type: 'array';
346
- items: {
347
- type: 'string';
348
- minLength?: number | undefined;
349
- maxLength: number;
350
- } & {
351
- readonly 'x-kind': "did";
352
- };
353
- maxItems: number;
354
- };
355
- readonly priority: {
356
- type: 'integer';
357
- minimum: number;
358
- maximum?: number | undefined;
359
- };
360
- };
361
- readonly required: readonly ["title"];
362
- };
363
- readonly topics: readonly ["assignees"];
364
- readonly links: {
365
- in: import("../../records/links.js").LinkDeclaration;
366
- parent: import("../../records/links.js").LinkDeclaration;
367
- };
368
- } & import("../../index.js").Typed<{
369
- readonly title: string;
370
- readonly notes?: string | undefined;
371
- readonly position?: string | undefined;
372
- readonly due?: string | undefined;
373
- readonly status?: "cancelled" | "doing" | "done" | "todo" | undefined;
374
- readonly assignees?: readonly string[] | undefined;
375
- readonly priority?: number | undefined;
376
- }>;
377
- export type Task = BodyOf<typeof task>;
378
- /** A project that tasks belong to. */
379
- export declare const project: {
380
- readonly name: "std.project";
381
- readonly title: "Project";
382
- readonly description: "A project that tasks and board columns are in.";
383
- readonly schema: {
384
- readonly type: "object";
385
- readonly properties: {
386
- name: {
387
- type: 'string';
388
- minLength?: number | undefined;
389
- maxLength: number;
390
- };
391
- description: {
392
- type: 'string';
393
- minLength?: number | undefined;
394
- maxLength: number;
395
- };
396
- status: {
397
- enum: ("active" | "cancelled" | "done" | "paused" | "planned")[];
398
- };
399
- due: {
400
- type: 'string';
401
- minLength?: number | undefined;
402
- maxLength: number;
403
- } & {
404
- readonly 'x-kind': "when";
405
- };
406
- };
407
- readonly required: readonly ["name"];
408
- };
409
- } & import("../../index.js").Typed<{
410
- readonly name: string;
411
- readonly description?: string | undefined;
412
- readonly status?: "active" | "cancelled" | "done" | "paused" | "planned" | undefined;
413
- readonly due?: string | undefined;
414
- }>;
415
- export type Project = BodyOf<typeof project>;
416
- /** Time spent on something; running while it has no `end`. */
417
- export declare const timeEntry: {
418
- readonly name: "std.time-entry";
419
- readonly title: "Time entry";
420
- readonly description: "Time someone spent on something.";
421
- readonly schema: {
422
- readonly type: "object";
423
- readonly properties: {
424
- start: {
425
- type: 'string';
426
- minLength?: number | undefined;
427
- maxLength: number;
428
- } & {
429
- readonly 'x-kind': "when";
430
- };
431
- end: {
432
- type: 'string';
433
- minLength?: number | undefined;
434
- maxLength: number;
435
- } & {
436
- readonly 'x-kind': "when";
437
- };
438
- note: {
439
- type: 'string';
440
- minLength?: number | undefined;
441
- maxLength: number;
442
- };
443
- };
444
- readonly required: readonly ["start"];
445
- };
446
- readonly links: {
447
- about: import("../../records/links.js").LinkDeclaration;
448
- };
449
- } & import("../../index.js").Typed<{
450
- readonly start: string;
451
- readonly end?: string | undefined;
452
- readonly note?: string | undefined;
453
- }>;
454
- export type TimeEntry = BodyOf<typeof timeEntry>;
455
- /** A reminder for its author. Keep it in your own space. */
456
- export declare const reminder: {
457
- readonly name: "std.reminder";
458
- readonly title: "Reminder";
459
- readonly description: "A nudge at a time about an existing record (about), for its author. A thing to do is a std.task with `due`.";
460
- readonly schema: {
461
- readonly type: "object";
462
- readonly properties: {
463
- readonly at: {
464
- type: 'string';
465
- minLength?: number | undefined;
466
- maxLength: number;
467
- } & {
468
- readonly 'x-kind': "when";
469
- };
470
- readonly note: {
471
- type: 'string';
472
- minLength?: number | undefined;
473
- maxLength: number;
474
- };
475
- readonly done: {
476
- readonly type: "boolean";
477
- };
478
- };
479
- readonly required: readonly ["at"];
480
- };
481
- readonly links: {
482
- about: import("../../records/links.js").LinkDeclaration;
483
- };
484
- } & import("../../index.js").Typed<{
485
- readonly at: string;
486
- readonly note?: string | undefined;
487
- readonly done?: boolean | undefined;
488
- }>;
489
- export type Reminder = BodyOf<typeof reminder>;
490
- /** A habit to keep. Check-ins are `about` it. */
491
- export declare const habit: {
492
- readonly name: "std.habit";
493
- readonly title: "Habit";
494
- readonly description: "Something to do regularly.";
495
- readonly schema: {
496
- readonly type: "object";
497
- readonly properties: {
498
- readonly name: {
499
- type: 'string';
500
- minLength?: number | undefined;
501
- maxLength: number;
502
- };
503
- readonly schedule: {
504
- type: 'string';
505
- minLength?: number | undefined;
506
- maxLength: number;
507
- };
508
- readonly target: {
509
- readonly type: "number";
510
- readonly minimum: 0;
511
- readonly description: "How much a day counts as done";
512
- };
513
- readonly unit: {
514
- type: 'string';
515
- minLength?: number | undefined;
516
- maxLength: number;
517
- };
518
- readonly position: {
519
- type: 'string';
520
- minLength?: number | undefined;
521
- maxLength: number;
522
- } & {
523
- readonly 'x-kind': "position";
524
- };
525
- };
526
- readonly required: readonly ["name"];
527
- };
528
- } & import("../../index.js").Typed<{
529
- readonly name: string;
530
- readonly schedule?: string | undefined;
531
- readonly target?: number | undefined;
532
- readonly unit?: string | undefined;
533
- readonly position?: string | undefined;
534
- }>;
535
- export type Habit = BodyOf<typeof habit>;
536
- /** Doing a habit on a day: one per person per habit per day. */
537
- export declare const checkin: {
538
- readonly name: "std.checkin";
539
- readonly title: "Check-in";
540
- readonly description: "A habit done on a day: one per person per day.";
541
- readonly schema: {
542
- readonly type: "object";
543
- readonly properties: {
544
- readonly date: {
545
- type: 'string';
546
- minLength: number;
547
- maxLength: number;
548
- } & {
549
- readonly 'x-kind': "day";
550
- };
551
- readonly value: {
552
- readonly type: "number";
553
- };
554
- readonly note: {
555
- type: 'string';
556
- minLength?: number | undefined;
557
- maxLength: number;
558
- };
559
- };
560
- readonly required: readonly ["date"];
561
- };
562
- readonly links: {
563
- about: import("../../records/links.js").LinkDeclaration;
564
- };
565
- readonly rules: {
566
- readonly onePer: readonly ["@author", "link:about", "date"];
567
- };
568
- } & import("../../index.js").Typed<{
569
- readonly date: string;
570
- readonly value?: number | undefined;
571
- readonly note?: string | undefined;
572
- }>;
573
- export type Checkin = BodyOf<typeof checkin>;
574
- /** This file's part of `standardGroups` */
575
- export declare const planningGroups: {
576
- 'Time and planning': (({
577
- readonly name: "std.calendar";
578
- readonly title: "Calendar";
579
- readonly description: "A calendar of events.";
580
- readonly schema: {
581
- readonly type: "object";
582
- readonly properties: {
583
- name: {
584
- type: 'string';
585
- minLength?: number | undefined;
586
- maxLength: number;
587
- };
588
- color: {
589
- type: 'string';
590
- minLength?: number | undefined;
591
- maxLength: number;
592
- };
593
- };
594
- readonly required: readonly ["name"];
595
- };
596
- } & import("../../index.js").Typed<{
597
- readonly name: string;
598
- readonly color?: string | undefined;
599
- }>) | ({
600
- readonly name: "std.event";
601
- readonly title: "Event";
602
- readonly description: "Something happening at a time and place.";
603
- readonly schema: {
604
- readonly type: "object";
605
- readonly properties: {
606
- readonly title: {
607
- type: 'string';
608
- minLength?: number | undefined;
609
- maxLength: number;
610
- };
611
- readonly description: {
612
- type: 'string';
613
- minLength?: number | undefined;
614
- maxLength: number;
615
- };
616
- readonly category: {
617
- type: 'string';
618
- minLength?: number | undefined;
619
- maxLength: number;
620
- };
621
- readonly start: {
622
- type: 'string';
623
- minLength?: number | undefined;
624
- maxLength: number;
625
- } & {
626
- readonly 'x-kind': "when";
627
- };
628
- readonly end: {
629
- type: 'string';
630
- minLength?: number | undefined;
631
- maxLength: number;
632
- } & {
633
- readonly 'x-kind': "when";
634
- };
635
- readonly tz: {
636
- type: 'string';
637
- minLength?: number | undefined;
638
- maxLength: number;
639
- };
640
- readonly allDay: {
641
- readonly type: "boolean";
642
- };
643
- readonly place: {
644
- type: 'object';
645
- properties: {
646
- name: {
647
- type: 'string';
648
- minLength?: number | undefined;
649
- maxLength: number;
650
- };
651
- address: {
652
- type: 'object';
653
- properties: {
654
- street: {
655
- type: 'string';
656
- minLength?: number | undefined;
657
- maxLength: number;
658
- };
659
- locality: {
660
- type: 'string';
661
- minLength?: number | undefined;
662
- maxLength: number;
663
- };
664
- region: {
665
- type: 'string';
666
- minLength?: number | undefined;
667
- maxLength: number;
668
- };
669
- postcode: {
670
- type: 'string';
671
- minLength?: number | undefined;
672
- maxLength: number;
673
- };
674
- country: {
675
- type: 'string';
676
- minLength?: number | undefined;
677
- maxLength: number;
678
- };
679
- };
680
- };
681
- lat: {
682
- type: 'number';
683
- minimum: number;
684
- maximum: number;
685
- };
686
- lon: {
687
- type: 'number';
688
- minimum: number;
689
- maximum: number;
690
- };
691
- cells: {
692
- type: 'array';
693
- maxItems: number;
694
- items: {
695
- type: 'string';
696
- minLength?: number | undefined;
697
- maxLength: number;
698
- };
699
- description: string;
700
- };
701
- };
702
- };
703
- readonly url: {
704
- type: 'string';
705
- minLength?: number | undefined;
706
- maxLength: number;
707
- } & {
708
- readonly 'x-kind': "url";
709
- };
710
- readonly rrule: {
711
- type: 'string';
712
- minLength?: number | undefined;
713
- maxLength: number;
714
- };
715
- readonly status: {
716
- enum: ("cancelled" | "confirmed" | "tentative")[];
717
- };
718
- };
719
- readonly required: readonly ["title", "start"];
720
- };
721
- readonly links: {
722
- in: import("../../records/links.js").LinkDeclaration;
723
- };
724
- readonly topics: readonly ["place.cells"];
725
- } & import("../../index.js").Typed<{
726
- readonly title: string;
727
- readonly description?: string | undefined;
728
- readonly category?: string | undefined;
729
- readonly start: string;
730
- readonly end?: string | undefined;
731
- readonly tz?: string | undefined;
732
- readonly allDay?: boolean | undefined;
733
- readonly place?: {
734
- readonly name?: string | undefined;
735
- readonly address?: {
736
- readonly street?: string | undefined;
737
- readonly locality?: string | undefined;
738
- readonly region?: string | undefined;
739
- readonly postcode?: string | undefined;
740
- readonly country?: string | undefined;
741
- } | undefined;
742
- readonly lat?: number | undefined;
743
- readonly lon?: number | undefined;
744
- readonly cells?: readonly string[] | undefined;
745
- } | undefined;
746
- readonly url?: string | undefined;
747
- readonly rrule?: string | undefined;
748
- readonly status?: "cancelled" | "confirmed" | "tentative" | undefined;
749
- }>) | ({
750
- readonly name: "std.rsvp";
751
- readonly title: "RSVP";
752
- readonly description: "Whether someone is coming to an event: one answer per person.";
753
- readonly schema: {
754
- readonly type: "object";
755
- readonly properties: {
756
- respondingTo: {
757
- type: 'string';
758
- minLength?: number | undefined;
759
- maxLength: number;
760
- } & {
761
- readonly 'x-kind': "did";
762
- };
763
- status: {
764
- enum: ("going" | "maybe" | "no")[];
765
- };
766
- guests: {
767
- type: 'integer';
768
- minimum: number;
769
- maximum?: number | undefined;
770
- };
771
- note: {
772
- type: 'string';
773
- minLength?: number | undefined;
774
- maxLength: number;
775
- };
776
- };
777
- readonly required: readonly ["status"];
778
- };
779
- readonly links: {
780
- about: import("../../records/links.js").LinkDeclaration;
781
- };
782
- readonly rules: {
783
- readonly onePer: readonly ["@author", "link:about"];
784
- };
785
- readonly topics: readonly ["respondingTo"];
786
- } & import("../../index.js").Typed<{
787
- readonly respondingTo?: string | undefined;
788
- readonly status: "going" | "maybe" | "no";
789
- readonly guests?: number | undefined;
790
- readonly note?: string | undefined;
791
- }>) | ({
792
- readonly name: "std.slot";
793
- readonly title: "Slot";
794
- readonly description: "A time one person can book, by a std.claim about it.";
795
- readonly schema: {
796
- readonly type: "object";
797
- readonly properties: {
798
- start: {
799
- type: 'string';
800
- minLength?: number | undefined;
801
- maxLength: number;
802
- } & {
803
- readonly 'x-kind': "when";
804
- };
805
- end: {
806
- type: 'string';
807
- minLength?: number | undefined;
808
- maxLength: number;
809
- } & {
810
- readonly 'x-kind': "when";
811
- };
812
- tz: {
813
- type: 'string';
814
- minLength?: number | undefined;
815
- maxLength: number;
816
- };
817
- note: {
818
- type: 'string';
819
- minLength?: number | undefined;
820
- maxLength: number;
821
- };
822
- };
823
- readonly required: readonly ["start", "end"];
824
- };
825
- readonly links: {
826
- in: import("../../records/links.js").LinkDeclaration;
827
- };
828
- } & import("../../index.js").Typed<{
829
- readonly start: string;
830
- readonly end: string;
831
- readonly tz?: string | undefined;
832
- readonly note?: string | undefined;
833
- }>) | ({
834
- readonly name: "std.column";
835
- readonly title: "Column";
836
- readonly description: "A column on a task board (To do, Doing, Done), in a std.project or on its own; tasks sit in it.";
837
- readonly schema: {
838
- readonly type: "object";
839
- readonly properties: {
840
- readonly name: {
841
- readonly type: "string";
842
- readonly minLength: 1;
843
- readonly maxLength: 200;
844
- };
845
- readonly position: {
846
- readonly type: "string";
847
- readonly minLength: 1;
848
- readonly maxLength: 200;
849
- readonly description: "Sorts where the column goes";
850
- };
851
- };
852
- readonly required: readonly ["name"];
853
- };
854
- readonly links: {
855
- in: import("../../records/links.js").LinkDeclaration;
856
- };
857
- } & import("../../index.js").Typed<{
858
- readonly name: string;
859
- readonly position?: string | undefined;
860
- }>) | ({
861
- readonly name: "std.task";
862
- readonly title: "Task";
863
- readonly description: "A thing to do: a to-do, an issue, a card on a board. `status` for plain lists; on a board it sits in a std.column. Something to be reminded of about an existing record is a std.reminder.";
864
- readonly schema: {
865
- readonly type: "object";
866
- readonly properties: {
867
- readonly title: {
868
- readonly type: "string";
869
- readonly minLength: 1;
870
- readonly maxLength: 500;
871
- };
872
- readonly notes: {
873
- readonly type: "string";
874
- readonly maxLength: 10000;
875
- };
876
- readonly position: {
877
- readonly type: "string";
878
- readonly minLength: 1;
879
- readonly maxLength: 200;
880
- readonly description: "Sorts where the task goes in its column";
881
- };
882
- readonly due: {
883
- type: 'string';
884
- minLength?: number | undefined;
885
- maxLength: number;
886
- } & {
887
- readonly 'x-kind': "when";
888
- };
889
- readonly status: {
890
- enum: ("cancelled" | "doing" | "done" | "todo")[];
891
- };
892
- readonly assignees: {
893
- type: 'array';
894
- items: {
895
- type: 'string';
896
- minLength?: number | undefined;
897
- maxLength: number;
898
- } & {
899
- readonly 'x-kind': "did";
900
- };
901
- maxItems: number;
902
- };
903
- readonly priority: {
904
- type: 'integer';
905
- minimum: number;
906
- maximum?: number | undefined;
907
- };
908
- };
909
- readonly required: readonly ["title"];
910
- };
911
- readonly topics: readonly ["assignees"];
912
- readonly links: {
913
- in: import("../../records/links.js").LinkDeclaration;
914
- parent: import("../../records/links.js").LinkDeclaration;
915
- };
916
- } & import("../../index.js").Typed<{
917
- readonly title: string;
918
- readonly notes?: string | undefined;
919
- readonly position?: string | undefined;
920
- readonly due?: string | undefined;
921
- readonly status?: "cancelled" | "doing" | "done" | "todo" | undefined;
922
- readonly assignees?: readonly string[] | undefined;
923
- readonly priority?: number | undefined;
924
- }>) | ({
925
- readonly name: "std.project";
926
- readonly title: "Project";
927
- readonly description: "A project that tasks and board columns are in.";
928
- readonly schema: {
929
- readonly type: "object";
930
- readonly properties: {
931
- name: {
932
- type: 'string';
933
- minLength?: number | undefined;
934
- maxLength: number;
935
- };
936
- description: {
937
- type: 'string';
938
- minLength?: number | undefined;
939
- maxLength: number;
940
- };
941
- status: {
942
- enum: ("active" | "cancelled" | "done" | "paused" | "planned")[];
943
- };
944
- due: {
945
- type: 'string';
946
- minLength?: number | undefined;
947
- maxLength: number;
948
- } & {
949
- readonly 'x-kind': "when";
950
- };
951
- };
952
- readonly required: readonly ["name"];
953
- };
954
- } & import("../../index.js").Typed<{
955
- readonly name: string;
956
- readonly description?: string | undefined;
957
- readonly status?: "active" | "cancelled" | "done" | "paused" | "planned" | undefined;
958
- readonly due?: string | undefined;
959
- }>) | ({
960
- readonly name: "std.time-entry";
961
- readonly title: "Time entry";
962
- readonly description: "Time someone spent on something.";
963
- readonly schema: {
964
- readonly type: "object";
965
- readonly properties: {
966
- start: {
967
- type: 'string';
968
- minLength?: number | undefined;
969
- maxLength: number;
970
- } & {
971
- readonly 'x-kind': "when";
972
- };
973
- end: {
974
- type: 'string';
975
- minLength?: number | undefined;
976
- maxLength: number;
977
- } & {
978
- readonly 'x-kind': "when";
979
- };
980
- note: {
981
- type: 'string';
982
- minLength?: number | undefined;
983
- maxLength: number;
984
- };
985
- };
986
- readonly required: readonly ["start"];
987
- };
988
- readonly links: {
989
- about: import("../../records/links.js").LinkDeclaration;
990
- };
991
- } & import("../../index.js").Typed<{
992
- readonly start: string;
993
- readonly end?: string | undefined;
994
- readonly note?: string | undefined;
995
- }>) | ({
996
- readonly name: "std.reminder";
997
- readonly title: "Reminder";
998
- readonly description: "A nudge at a time about an existing record (about), for its author. A thing to do is a std.task with `due`.";
999
- readonly schema: {
1000
- readonly type: "object";
1001
- readonly properties: {
1002
- readonly at: {
1003
- type: 'string';
1004
- minLength?: number | undefined;
1005
- maxLength: number;
1006
- } & {
1007
- readonly 'x-kind': "when";
1008
- };
1009
- readonly note: {
1010
- type: 'string';
1011
- minLength?: number | undefined;
1012
- maxLength: number;
1013
- };
1014
- readonly done: {
1015
- readonly type: "boolean";
1016
- };
1017
- };
1018
- readonly required: readonly ["at"];
1019
- };
1020
- readonly links: {
1021
- about: import("../../records/links.js").LinkDeclaration;
1022
- };
1023
- } & import("../../index.js").Typed<{
1024
- readonly at: string;
1025
- readonly note?: string | undefined;
1026
- readonly done?: boolean | undefined;
1027
- }>) | ({
1028
- readonly name: "std.habit";
1029
- readonly title: "Habit";
1030
- readonly description: "Something to do regularly.";
1031
- readonly schema: {
1032
- readonly type: "object";
1033
- readonly properties: {
1034
- readonly name: {
1035
- type: 'string';
1036
- minLength?: number | undefined;
1037
- maxLength: number;
1038
- };
1039
- readonly schedule: {
1040
- type: 'string';
1041
- minLength?: number | undefined;
1042
- maxLength: number;
1043
- };
1044
- readonly target: {
1045
- readonly type: "number";
1046
- readonly minimum: 0;
1047
- readonly description: "How much a day counts as done";
1048
- };
1049
- readonly unit: {
1050
- type: 'string';
1051
- minLength?: number | undefined;
1052
- maxLength: number;
1053
- };
1054
- readonly position: {
1055
- type: 'string';
1056
- minLength?: number | undefined;
1057
- maxLength: number;
1058
- } & {
1059
- readonly 'x-kind': "position";
1060
- };
1061
- };
1062
- readonly required: readonly ["name"];
1063
- };
1064
- } & import("../../index.js").Typed<{
1065
- readonly name: string;
1066
- readonly schedule?: string | undefined;
1067
- readonly target?: number | undefined;
1068
- readonly unit?: string | undefined;
1069
- readonly position?: string | undefined;
1070
- }>) | ({
1071
- readonly name: "std.checkin";
1072
- readonly title: "Check-in";
1073
- readonly description: "A habit done on a day: one per person per day.";
1074
- readonly schema: {
1075
- readonly type: "object";
1076
- readonly properties: {
1077
- readonly date: {
1078
- type: 'string';
1079
- minLength: number;
1080
- maxLength: number;
1081
- } & {
1082
- readonly 'x-kind': "day";
1083
- };
1084
- readonly value: {
1085
- readonly type: "number";
1086
- };
1087
- readonly note: {
1088
- type: 'string';
1089
- minLength?: number | undefined;
1090
- maxLength: number;
1091
- };
1092
- };
1093
- readonly required: readonly ["date"];
1094
- };
1095
- readonly links: {
1096
- about: import("../../records/links.js").LinkDeclaration;
1097
- };
1098
- readonly rules: {
1099
- readonly onePer: readonly ["@author", "link:about", "date"];
1100
- };
1101
- } & import("../../index.js").Typed<{
1102
- readonly date: string;
1103
- readonly value?: number | undefined;
1104
- readonly note?: string | undefined;
1105
- }>))[];
1106
- };
1107
- //# sourceMappingURL=planning.d.ts.map