@agentshouse/mdruntime-adapter 0.1.0-cc7da2d4669a3 → 0.1.0-cc881e28be5a5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions.d.ts +1 -1
- package/dist/actions.d.ts.map +1 -1
- package/dist/actions.js +7 -3
- package/dist/adapter.d.ts.map +1 -1
- package/dist/adapter.js +12 -3
- package/dist/discovery.d.ts +10 -2
- package/dist/discovery.d.ts.map +1 -1
- package/dist/discovery.js +32 -5
- package/dist/history.d.ts.map +1 -1
- package/dist/history.js +2 -1
- package/dist/house-model.d.ts +232 -2534
- package/dist/house-model.d.ts.map +1 -1
- package/dist/house-model.js +156 -1417
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/model.d.ts +4 -2
- package/dist/model.d.ts.map +1 -1
- package/dist/model.js +28 -6
- package/dist/read.d.ts +11 -1
- package/dist/read.d.ts.map +1 -1
- package/dist/read.js +23 -1
- package/dist/room-stream.d.ts +2 -1
- package/dist/room-stream.d.ts.map +1 -1
- package/dist/room-stream.js +2 -2
- package/dist/room-types.d.ts +2 -2
- package/dist/room-types.d.ts.map +1 -1
- package/dist/room-types.js +6 -9
- package/dist/search.d.ts +5 -0
- package/dist/search.d.ts.map +1 -0
- package/dist/search.js +47 -0
- package/dist/site.d.ts.map +1 -1
- package/dist/site.js +8 -4
- package/dist/space-schema.d.ts +7 -0
- package/dist/space-schema.d.ts.map +1 -0
- package/dist/space-schema.js +18 -0
- package/dist/stream.d.ts +2 -1
- package/dist/stream.d.ts.map +1 -1
- package/dist/stream.js +38 -9
- package/dist/transport.d.ts +17 -5
- package/dist/transport.d.ts.map +1 -1
- package/dist/transport.js +2 -0
- package/dist/write.d.ts +2 -1
- package/dist/write.d.ts.map +1 -1
- package/dist/write.js +8 -23
- package/package.json +2 -2
package/dist/house-model.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { TypedPath } from '@agentshouse/mdruntime';
|
|
1
2
|
export declare const HOUSE_MODEL_DECLARATION: {
|
|
2
3
|
readonly $defs: {
|
|
3
4
|
readonly room: {
|
|
@@ -26,2157 +27,119 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
26
27
|
readonly maxLength: 512;
|
|
27
28
|
readonly pattern: '^(?:a_[A-Za-z0-9._-]+(?:\\/source)?|r_[A-Za-z0-9._-]+(?:\\/(?:settings|settings\\/schema|settings\\/model|settings\\/indexing|content))?)$';
|
|
28
29
|
};
|
|
29
|
-
readonly request: {
|
|
30
|
-
readonly description: 'One Routine Request of a Room.';
|
|
31
|
-
readonly type: 'object';
|
|
32
|
-
readonly additionalProperties: false;
|
|
33
|
-
readonly properties: {
|
|
34
|
-
readonly routine_request: {
|
|
35
|
-
readonly $ref: '#/$defs/id';
|
|
36
|
-
};
|
|
37
|
-
readonly conversation: {
|
|
38
|
-
readonly $ref: '#/$defs/id';
|
|
39
|
-
};
|
|
40
|
-
readonly origin: {
|
|
41
|
-
readonly enum: readonly ['user', 'trigger'];
|
|
42
|
-
};
|
|
43
|
-
readonly state: {
|
|
44
|
-
readonly enum: readonly ['awaiting_approval', 'started', 'finished', 'not_started', 'withdrawn_by_author', 'withdrawn_admission', 'declined'];
|
|
45
|
-
};
|
|
46
|
-
readonly target: {
|
|
47
|
-
readonly type: 'object';
|
|
48
|
-
readonly additionalProperties: false;
|
|
49
|
-
readonly properties: {
|
|
50
|
-
readonly user: {
|
|
51
|
-
readonly $ref: '#/$defs/id';
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
readonly required: readonly ['user'];
|
|
55
|
-
};
|
|
56
|
-
readonly record: {
|
|
57
|
-
readonly $ref: '#/$defs/id';
|
|
58
|
-
};
|
|
59
|
-
readonly routine_access: {
|
|
60
|
-
readonly $ref: '#/$defs/id';
|
|
61
|
-
};
|
|
62
|
-
readonly agent: {
|
|
63
|
-
readonly $ref: '#/$defs/id';
|
|
64
|
-
};
|
|
65
|
-
readonly routine: {
|
|
66
|
-
readonly type: 'object';
|
|
67
|
-
readonly additionalProperties: false;
|
|
68
|
-
readonly properties: {
|
|
69
|
-
readonly name: {
|
|
70
|
-
readonly type: 'string';
|
|
71
|
-
};
|
|
72
|
-
readonly version: {
|
|
73
|
-
readonly type: 'integer';
|
|
74
|
-
readonly exclusiveMinimum: 0;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
readonly minProperties: 1;
|
|
78
|
-
};
|
|
79
|
-
readonly approved: {
|
|
80
|
-
readonly type: 'string';
|
|
81
|
-
readonly format: 'date-time';
|
|
82
|
-
};
|
|
83
|
-
readonly approved_by: {
|
|
84
|
-
readonly type: 'object';
|
|
85
|
-
readonly additionalProperties: false;
|
|
86
|
-
readonly properties: {
|
|
87
|
-
readonly user: {
|
|
88
|
-
readonly $ref: '#/$defs/id';
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
readonly required: readonly ['user'];
|
|
92
|
-
};
|
|
93
|
-
readonly settled_by: {
|
|
94
|
-
readonly type: 'object';
|
|
95
|
-
readonly additionalProperties: false;
|
|
96
|
-
readonly properties: {
|
|
97
|
-
readonly user: {
|
|
98
|
-
readonly $ref: '#/$defs/id';
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
readonly required: readonly ['user'];
|
|
102
|
-
};
|
|
103
|
-
readonly failure_category: {
|
|
104
|
-
readonly enum: readonly ['routine_access_not_found', 'routine_retired', 'target_agent_unavailable', 'agent_unavailable', 'admission_lapsed'];
|
|
105
|
-
};
|
|
106
|
-
readonly created: {
|
|
107
|
-
readonly type: 'string';
|
|
108
|
-
readonly format: 'date-time';
|
|
109
|
-
};
|
|
110
|
-
readonly activated: {
|
|
111
|
-
readonly type: 'string';
|
|
112
|
-
readonly format: 'date-time';
|
|
113
|
-
};
|
|
114
|
-
readonly settled: {
|
|
115
|
-
readonly type: 'string';
|
|
116
|
-
readonly format: 'date-time';
|
|
117
|
-
};
|
|
118
|
-
readonly environment_starting: {
|
|
119
|
-
readonly const: true;
|
|
120
|
-
};
|
|
121
|
-
readonly undelivered: {
|
|
122
|
-
readonly const: true;
|
|
123
|
-
};
|
|
124
|
-
readonly result: {
|
|
125
|
-
readonly type: 'string';
|
|
126
|
-
};
|
|
127
|
-
readonly url: {
|
|
128
|
-
readonly type: 'string';
|
|
129
|
-
readonly format: 'uri';
|
|
130
|
-
};
|
|
131
|
-
};
|
|
132
|
-
readonly required: readonly ['routine_request', 'origin', 'state', 'target', 'created'];
|
|
133
|
-
};
|
|
134
|
-
readonly caller: {
|
|
135
|
-
readonly description: "One caller of a Routine Access, a User under `user` with their account `email` and display `name`, or under `user` alone once they left the Room, or the Access's `room`, whose Triggers then call.";
|
|
136
|
-
readonly type: 'object';
|
|
137
|
-
readonly additionalProperties: false;
|
|
138
|
-
readonly properties: {
|
|
139
|
-
readonly user: {
|
|
140
|
-
readonly $ref: '#/$defs/id';
|
|
141
|
-
};
|
|
142
|
-
readonly email: {
|
|
143
|
-
readonly type: 'string';
|
|
144
|
-
};
|
|
145
|
-
readonly name: {
|
|
146
|
-
readonly type: 'string';
|
|
147
|
-
};
|
|
148
|
-
readonly room: {
|
|
149
|
-
readonly $ref: '#/$defs/room';
|
|
150
|
-
};
|
|
151
|
-
};
|
|
152
|
-
readonly minProperties: 1;
|
|
153
|
-
};
|
|
154
|
-
readonly trigger_test: {
|
|
155
|
-
readonly description: 'One test of a Trigger condition as the Trigger reference page writes one, a value compared at a `path` or `all`, `any` or `not` of tests.';
|
|
156
|
-
readonly type: 'object';
|
|
157
|
-
readonly additionalProperties: true;
|
|
158
|
-
};
|
|
159
|
-
readonly trigger_values: {
|
|
160
|
-
readonly type: 'array';
|
|
161
|
-
readonly items: {
|
|
162
|
-
readonly anyOf: readonly [{
|
|
163
|
-
readonly type: 'string';
|
|
164
|
-
}, {
|
|
165
|
-
readonly type: 'number';
|
|
166
|
-
}, {
|
|
167
|
-
readonly type: 'boolean';
|
|
168
|
-
}];
|
|
169
|
-
};
|
|
170
|
-
};
|
|
171
|
-
readonly trigger_scope: {
|
|
172
|
-
readonly description: 'The documents a Trigger condition watches, by `type`, by `folder` or one document at its `path`, which `create_trigger` takes as `document`.';
|
|
173
|
-
readonly type: 'object';
|
|
174
|
-
readonly additionalProperties: false;
|
|
175
|
-
readonly properties: {
|
|
176
|
-
readonly type: {
|
|
177
|
-
readonly type: 'string';
|
|
178
|
-
};
|
|
179
|
-
readonly folder: {
|
|
180
|
-
readonly type: 'string';
|
|
181
|
-
};
|
|
182
|
-
readonly path: {
|
|
183
|
-
readonly type: 'string';
|
|
184
|
-
};
|
|
185
|
-
};
|
|
186
|
-
readonly minProperties: 1;
|
|
187
|
-
readonly maxProperties: 1;
|
|
188
|
-
};
|
|
189
|
-
};
|
|
190
|
-
readonly 'house-account': {
|
|
191
|
-
readonly description: "The User's own identifier as `user`, their registration as `created`, their email verification and chosen language, every notification group with the channels it now reaches as `notifications`, `telegram: available` while the Building runs its Telegram bots and no Telegram account is linked to it, `linked` while one is, `started` once that account has also pressed Start in the Inbox bot, `meta`, the Building's Meta app as `application` and its signup configuration as `configuration` while it offers Connect Meta's signup, or `keys` while a business connects its own Meta app by its keys, `tiktok: available` while it offers Connect TikTok, `building: administrator` while the User is one of the Building's administrators, `full_house: true` while the User holds Full House, and the Building's caps of an App function's run as `function_limits`, its time in milliseconds as `time_ms`, its memory in bytes as `memory_bytes` and its external calls as `external_calls`.";
|
|
192
|
-
readonly properties: {
|
|
193
|
-
readonly reflected: {
|
|
194
|
-
readonly type: 'string';
|
|
195
|
-
readonly format: 'date-time';
|
|
196
|
-
};
|
|
197
|
-
readonly user: {
|
|
198
|
-
readonly $ref: '#/$defs/id';
|
|
199
|
-
};
|
|
200
|
-
readonly email_verified: {
|
|
201
|
-
readonly type: 'string';
|
|
202
|
-
readonly format: 'date-time';
|
|
203
|
-
};
|
|
204
|
-
readonly language: {
|
|
205
|
-
readonly enum: readonly ['en'];
|
|
206
|
-
};
|
|
207
|
-
readonly notifications: {
|
|
208
|
-
readonly type: 'array';
|
|
209
|
-
readonly items: {
|
|
210
|
-
readonly type: 'object';
|
|
211
|
-
readonly additionalProperties: false;
|
|
212
|
-
readonly properties: {
|
|
213
|
-
readonly group: {
|
|
214
|
-
readonly type: 'string';
|
|
215
|
-
};
|
|
216
|
-
readonly channels: {
|
|
217
|
-
readonly type: 'array';
|
|
218
|
-
readonly items: {
|
|
219
|
-
readonly type: 'string';
|
|
220
|
-
};
|
|
221
|
-
};
|
|
222
|
-
};
|
|
223
|
-
readonly required: readonly ['group', 'channels'];
|
|
224
|
-
};
|
|
225
|
-
};
|
|
226
|
-
readonly created: {
|
|
227
|
-
readonly type: 'string';
|
|
228
|
-
readonly format: 'date-time';
|
|
229
|
-
};
|
|
230
|
-
readonly telegram: {
|
|
231
|
-
readonly enum: readonly ['available', 'linked', 'started'];
|
|
232
|
-
};
|
|
233
|
-
readonly meta: {
|
|
234
|
-
readonly anyOf: readonly [{
|
|
235
|
-
readonly const: 'keys';
|
|
236
|
-
}, {
|
|
237
|
-
readonly type: 'object';
|
|
238
|
-
readonly additionalProperties: false;
|
|
239
|
-
readonly properties: {
|
|
240
|
-
readonly application: {
|
|
241
|
-
readonly type: 'string';
|
|
242
|
-
readonly pattern: '^\\d{1,32}$';
|
|
243
|
-
};
|
|
244
|
-
readonly configuration: {
|
|
245
|
-
readonly type: 'string';
|
|
246
|
-
readonly pattern: '^\\d{1,32}$';
|
|
247
|
-
};
|
|
248
|
-
};
|
|
249
|
-
readonly required: readonly ['application', 'configuration'];
|
|
250
|
-
}];
|
|
251
|
-
};
|
|
252
|
-
readonly tiktok: {
|
|
253
|
-
readonly enum: readonly ['available'];
|
|
254
|
-
};
|
|
255
|
-
readonly building: {
|
|
256
|
-
readonly enum: readonly ['administrator'];
|
|
257
|
-
};
|
|
258
|
-
readonly full_house: {
|
|
259
|
-
readonly const: true;
|
|
260
|
-
};
|
|
261
|
-
readonly function_limits: {
|
|
262
|
-
readonly type: 'object';
|
|
263
|
-
readonly additionalProperties: false;
|
|
264
|
-
readonly properties: {
|
|
265
|
-
readonly time_ms: {
|
|
266
|
-
readonly type: 'integer';
|
|
267
|
-
readonly exclusiveMinimum: 0;
|
|
268
|
-
};
|
|
269
|
-
readonly memory_bytes: {
|
|
270
|
-
readonly type: 'integer';
|
|
271
|
-
readonly exclusiveMinimum: 0;
|
|
272
|
-
};
|
|
273
|
-
readonly external_calls: {
|
|
274
|
-
readonly type: 'integer';
|
|
275
|
-
readonly exclusiveMinimum: 0;
|
|
276
|
-
};
|
|
277
|
-
};
|
|
278
|
-
readonly required: readonly ['time_ms', 'memory_bytes', 'external_calls'];
|
|
279
|
-
};
|
|
280
|
-
};
|
|
281
|
-
readonly required: readonly ['reflected', 'user', 'email_verified', 'notifications', 'created', 'function_limits'];
|
|
282
30
|
};
|
|
283
|
-
readonly 'house-
|
|
284
|
-
readonly description: '
|
|
31
|
+
readonly 'house-app-preferences': {
|
|
32
|
+
readonly description: "An App's preferences. Its own vocabulary is in the body.";
|
|
285
33
|
readonly properties: {
|
|
286
|
-
readonly
|
|
287
|
-
readonly
|
|
288
|
-
readonly format: 'date-time';
|
|
289
|
-
};
|
|
290
|
-
readonly agent: {
|
|
291
|
-
readonly $ref: '#/$defs/id';
|
|
292
|
-
};
|
|
293
|
-
readonly name: {
|
|
294
|
-
readonly type: 'string';
|
|
295
|
-
};
|
|
296
|
-
readonly profile: {
|
|
297
|
-
readonly $ref: '#/$defs/id';
|
|
298
|
-
};
|
|
299
|
-
readonly environment: {
|
|
300
|
-
readonly $ref: '#/$defs/id';
|
|
301
|
-
};
|
|
302
|
-
readonly launch_directory: {
|
|
303
|
-
readonly type: 'string';
|
|
304
|
-
};
|
|
305
|
-
readonly created: {
|
|
306
|
-
readonly type: 'string';
|
|
307
|
-
readonly format: 'date-time';
|
|
308
|
-
};
|
|
309
|
-
readonly retired: {
|
|
310
|
-
readonly type: 'string';
|
|
311
|
-
readonly format: 'date-time';
|
|
34
|
+
readonly app: {
|
|
35
|
+
readonly $ref: '#/$defs/app';
|
|
312
36
|
};
|
|
313
37
|
};
|
|
314
|
-
readonly required: readonly ['
|
|
38
|
+
readonly required: readonly ['app'];
|
|
315
39
|
};
|
|
316
|
-
readonly 'house-
|
|
317
|
-
readonly description:
|
|
40
|
+
readonly 'house-notification': {
|
|
41
|
+
readonly description: "One kept Notification for this User: its kind, when it was sent as `created`, its way in, its email's subject and each fact of its value that is not sealed, named in snake_case. An entity a fact names is an object holding its identifier under the key of its kind, when the notification carries it, and its `name`, `email` and other facts beside it; a fact holding null is absent. `way_in` is either the House `path` it opens or the entity it is about, by its identifier under the key of its kind, a Trigger with its `room`. Its body is its email's words in Markdown. Both were worded once, in the User's language when it was delivered; an App may show them or word it itself from its kind and value. `read` is when the User opened it or marked it read, on any device: the one field House adds after delivery.";
|
|
318
42
|
readonly properties: {
|
|
319
|
-
readonly
|
|
320
|
-
readonly type: 'string';
|
|
321
|
-
readonly format: 'date-time';
|
|
322
|
-
};
|
|
323
|
-
readonly profile: {
|
|
43
|
+
readonly notification: {
|
|
324
44
|
readonly $ref: '#/$defs/id';
|
|
325
45
|
};
|
|
326
|
-
readonly
|
|
327
|
-
readonly type: 'string';
|
|
328
|
-
};
|
|
329
|
-
readonly revision: {
|
|
330
|
-
readonly type: 'integer';
|
|
331
|
-
readonly minimum: 0;
|
|
332
|
-
};
|
|
333
|
-
readonly adapter_kind: {
|
|
334
|
-
readonly type: 'string';
|
|
335
|
-
};
|
|
336
|
-
readonly model: {
|
|
337
|
-
readonly type: 'string';
|
|
338
|
-
};
|
|
339
|
-
readonly effort: {
|
|
340
|
-
readonly type: 'string';
|
|
341
|
-
};
|
|
342
|
-
readonly mode: {
|
|
343
|
-
readonly type: 'string';
|
|
344
|
-
};
|
|
345
|
-
readonly arguments: {
|
|
346
|
-
readonly type: 'array';
|
|
347
|
-
readonly items: {
|
|
348
|
-
readonly type: 'string';
|
|
349
|
-
};
|
|
350
|
-
};
|
|
351
|
-
};
|
|
352
|
-
readonly required: readonly ['reflected', 'profile', 'name', 'revision'];
|
|
353
|
-
};
|
|
354
|
-
readonly 'house-app': {
|
|
355
|
-
readonly description: "One App this User owns, holds or installed, `ownership` naming whether it is its own or one it holds, its `owner` by `name` when another User owns it, and `my_app` `true` on this User's My App alone, with the path of its window on the control origin as `address`, its tab icon for a light and for a dark appearance as image data addresses with, while the icon is generated, its one to four colours, blend and angle, its running release as `latest_release` by `release` and `sequence`, with the external origins it declares as `external_origins`, whether its code reaches this User's conversations as `conversations`, the Room slots it declares in order as `room_slots`, each `slot` with its `access` and `types`, and the names of the App functions it declares in order as `functions`, each installation this User holds, and every User who holds the App as `holders`, this User and its owner included, by `user`, `name` and `email`. Each installation entry names the `installation`, the App's running `release` and when it was installed as `created`. Each features entry names, for an App this User does not own, a `feature`, a browser feature, a House model type or a House act its release declares, and its `consent`, `allowed` or `denied` the first time the App asked; a feature never asked is absent. `features_version` is the version of this User's latest consent change for the App.";
|
|
356
|
-
readonly properties: {
|
|
357
|
-
readonly reflected: {
|
|
358
|
-
readonly type: 'string';
|
|
359
|
-
readonly format: 'date-time';
|
|
360
|
-
};
|
|
361
|
-
readonly app: {
|
|
362
|
-
readonly $ref: '#/$defs/app';
|
|
363
|
-
};
|
|
364
|
-
readonly address: {
|
|
365
|
-
readonly type: 'string';
|
|
366
|
-
readonly pattern: '^\\/app\\/a_([0123456789abcdefghjkmnpqrstvwxyz]+)\\.([0123456789abcdefghjkmnpqrstvwxyz])$';
|
|
367
|
-
};
|
|
368
|
-
readonly name: {
|
|
369
|
-
readonly type: 'string';
|
|
370
|
-
};
|
|
371
|
-
readonly ownership: {
|
|
372
|
-
readonly enum: readonly ['own', 'held'];
|
|
373
|
-
};
|
|
374
|
-
readonly owner: {
|
|
375
|
-
readonly type: 'object';
|
|
376
|
-
readonly additionalProperties: false;
|
|
377
|
-
readonly properties: {
|
|
378
|
-
readonly name: {
|
|
379
|
-
readonly type: 'string';
|
|
380
|
-
};
|
|
381
|
-
};
|
|
382
|
-
readonly required: readonly ['name'];
|
|
383
|
-
};
|
|
384
|
-
readonly my_app: {
|
|
385
|
-
readonly const: true;
|
|
386
|
-
};
|
|
387
|
-
readonly created: {
|
|
388
|
-
readonly type: 'string';
|
|
389
|
-
readonly format: 'date-time';
|
|
390
|
-
};
|
|
391
|
-
readonly tab_icon_light: {
|
|
392
|
-
readonly type: 'string';
|
|
393
|
-
readonly pattern: '^data:image\\/';
|
|
394
|
-
};
|
|
395
|
-
readonly tab_icon_dark: {
|
|
46
|
+
readonly kind: {
|
|
396
47
|
readonly type: 'string';
|
|
397
|
-
readonly
|
|
398
|
-
};
|
|
399
|
-
readonly tab_icon_colours: {
|
|
400
|
-
readonly type: 'array';
|
|
401
|
-
readonly items: {
|
|
402
|
-
readonly type: 'string';
|
|
403
|
-
readonly pattern: '^#[0-9a-f]{6}$';
|
|
404
|
-
};
|
|
405
|
-
};
|
|
406
|
-
readonly tab_icon_blend: {
|
|
407
|
-
readonly enum: readonly ['linear', 'radial'];
|
|
408
|
-
};
|
|
409
|
-
readonly tab_icon_angle: {
|
|
410
|
-
readonly type: 'integer';
|
|
411
|
-
readonly minimum: 0;
|
|
412
|
-
readonly maximum: 359;
|
|
413
|
-
};
|
|
414
|
-
readonly latest_release: {
|
|
415
|
-
readonly type: 'object';
|
|
416
|
-
readonly additionalProperties: false;
|
|
417
|
-
readonly properties: {
|
|
418
|
-
readonly release: {
|
|
419
|
-
readonly $ref: '#/$defs/id';
|
|
420
|
-
};
|
|
421
|
-
readonly sequence: {
|
|
422
|
-
readonly type: 'integer';
|
|
423
|
-
readonly exclusiveMinimum: 0;
|
|
424
|
-
};
|
|
425
|
-
};
|
|
426
|
-
readonly required: readonly ['release', 'sequence'];
|
|
427
|
-
};
|
|
428
|
-
readonly external_origins: {
|
|
429
|
-
readonly type: 'array';
|
|
430
|
-
readonly items: {
|
|
431
|
-
readonly type: 'string';
|
|
432
|
-
readonly format: 'uri';
|
|
433
|
-
};
|
|
434
|
-
};
|
|
435
|
-
readonly conversations: {
|
|
436
|
-
readonly enum: readonly ['yes', 'no'];
|
|
437
|
-
};
|
|
438
|
-
readonly room_slots: {
|
|
439
|
-
readonly type: 'array';
|
|
440
|
-
readonly items: {
|
|
441
|
-
readonly type: 'object';
|
|
442
|
-
readonly additionalProperties: false;
|
|
443
|
-
readonly properties: {
|
|
444
|
-
readonly slot: {
|
|
445
|
-
readonly type: 'string';
|
|
446
|
-
};
|
|
447
|
-
readonly access: {
|
|
448
|
-
readonly enum: readonly ['read', 'write'];
|
|
449
|
-
};
|
|
450
|
-
readonly types: {
|
|
451
|
-
readonly type: 'array';
|
|
452
|
-
readonly items: {
|
|
453
|
-
readonly type: 'string';
|
|
454
|
-
};
|
|
455
|
-
};
|
|
456
|
-
};
|
|
457
|
-
readonly required: readonly ['slot', 'access', 'types'];
|
|
458
|
-
};
|
|
459
|
-
};
|
|
460
|
-
readonly functions: {
|
|
461
|
-
readonly type: 'array';
|
|
462
|
-
readonly items: {
|
|
463
|
-
readonly type: 'string';
|
|
464
|
-
};
|
|
465
|
-
};
|
|
466
|
-
readonly installations: {
|
|
467
|
-
readonly type: 'array';
|
|
468
|
-
readonly items: {
|
|
469
|
-
readonly type: 'object';
|
|
470
|
-
readonly additionalProperties: false;
|
|
471
|
-
readonly properties: {
|
|
472
|
-
readonly installation: {
|
|
473
|
-
readonly $ref: '#/$defs/id';
|
|
474
|
-
};
|
|
475
|
-
readonly release: {
|
|
476
|
-
readonly $ref: '#/$defs/id';
|
|
477
|
-
};
|
|
478
|
-
readonly created: {
|
|
479
|
-
readonly type: 'string';
|
|
480
|
-
readonly format: 'date-time';
|
|
481
|
-
};
|
|
482
|
-
};
|
|
483
|
-
readonly required: readonly ['installation', 'release', 'created'];
|
|
484
|
-
};
|
|
485
|
-
};
|
|
486
|
-
readonly holders: {
|
|
487
|
-
readonly type: 'array';
|
|
488
|
-
readonly items: {
|
|
489
|
-
readonly type: 'object';
|
|
490
|
-
readonly additionalProperties: false;
|
|
491
|
-
readonly properties: {
|
|
492
|
-
readonly user: {
|
|
493
|
-
readonly $ref: '#/$defs/id';
|
|
494
|
-
};
|
|
495
|
-
readonly name: {
|
|
496
|
-
readonly type: 'string';
|
|
497
|
-
};
|
|
498
|
-
readonly email: {
|
|
499
|
-
readonly type: 'string';
|
|
500
|
-
};
|
|
501
|
-
};
|
|
502
|
-
readonly required: readonly ['user', 'name', 'email'];
|
|
503
|
-
};
|
|
504
|
-
};
|
|
505
|
-
readonly features: {
|
|
506
|
-
readonly type: 'array';
|
|
507
|
-
readonly items: {
|
|
508
|
-
readonly type: 'object';
|
|
509
|
-
readonly additionalProperties: false;
|
|
510
|
-
readonly properties: {
|
|
511
|
-
readonly feature: {
|
|
512
|
-
readonly type: 'string';
|
|
513
|
-
};
|
|
514
|
-
readonly consent: {
|
|
515
|
-
readonly enum: readonly ['allowed', 'denied'];
|
|
516
|
-
};
|
|
517
|
-
};
|
|
518
|
-
readonly required: readonly ['feature', 'consent'];
|
|
519
|
-
};
|
|
520
|
-
};
|
|
521
|
-
readonly features_version: {
|
|
522
|
-
readonly type: 'integer';
|
|
523
|
-
readonly exclusiveMinimum: 0;
|
|
524
|
-
};
|
|
525
|
-
};
|
|
526
|
-
readonly required: readonly ['reflected', 'app', 'address', 'name', 'ownership', 'created'];
|
|
527
|
-
};
|
|
528
|
-
readonly 'house-app-preferences': {
|
|
529
|
-
readonly description: "An App's preferences. Its own vocabulary is in the body.";
|
|
530
|
-
readonly properties: {
|
|
531
|
-
readonly app: {
|
|
532
|
-
readonly $ref: '#/$defs/app';
|
|
533
|
-
};
|
|
534
|
-
};
|
|
535
|
-
readonly required: readonly ['app'];
|
|
536
|
-
};
|
|
537
|
-
readonly 'house-app-room-binding': {
|
|
538
|
-
readonly description: "One durable App-Room binding this User holds: an ordered Room list, one Shared schema, or `rooms`, `all` for every Room this User has or `all_but_private` for every one but their Private Room, for a named Room slot of one `app`, shared by every device and browser installation they sign in from. Only this User's own bindings appear here. A Shared-schema binding names the `shared_schema` with its own structural `compatibility` and `findings`, the Rooms that currently use it and this User reads, and how many Rooms the instance bound leaves out. A `rooms` binding holds this User's Rooms that fit the slot, and `left_out` counts the others and those past the instance bound. Each entry names a `room` and the last structural comparison of the slot with its selected model as `compatibility`, `unchecked`, `compatible` or `incompatible`, and each finding a `room` and one exact structural `finding` of it against the slot. An explicit entry whose Room this User cannot read is absent until access returns; an empty explicit list has no document. An incompatible entry or Shared schema blocks nothing: the App still opens and the model still changes.";
|
|
539
|
-
readonly properties: {
|
|
540
|
-
readonly reflected: {
|
|
541
|
-
readonly type: 'string';
|
|
542
|
-
readonly format: 'date-time';
|
|
543
|
-
};
|
|
544
|
-
readonly app: {
|
|
545
|
-
readonly $ref: '#/$defs/app';
|
|
546
|
-
};
|
|
547
|
-
readonly slot: {
|
|
548
|
-
readonly type: 'string';
|
|
549
|
-
readonly pattern: '^[a-z0-9]([a-z0-9-]*[a-z0-9])?$';
|
|
550
|
-
};
|
|
551
|
-
readonly types: {
|
|
552
|
-
readonly type: 'array';
|
|
553
|
-
readonly items: {
|
|
554
|
-
readonly type: 'string';
|
|
555
|
-
};
|
|
556
|
-
};
|
|
557
|
-
readonly slot_access: {
|
|
558
|
-
readonly enum: readonly ['read', 'write'];
|
|
559
|
-
};
|
|
560
|
-
readonly shared_schema: {
|
|
561
|
-
readonly type: 'object';
|
|
562
|
-
readonly additionalProperties: false;
|
|
563
|
-
readonly properties: {
|
|
564
|
-
readonly shared_schema: {
|
|
565
|
-
readonly $ref: '#/$defs/id';
|
|
566
|
-
};
|
|
567
|
-
readonly compatibility: {
|
|
568
|
-
readonly enum: readonly ['unchecked', 'compatible', 'incompatible'];
|
|
569
|
-
};
|
|
570
|
-
readonly findings: {
|
|
571
|
-
readonly type: 'array';
|
|
572
|
-
readonly items: {
|
|
573
|
-
readonly type: 'string';
|
|
574
|
-
};
|
|
575
|
-
};
|
|
576
|
-
};
|
|
577
|
-
readonly required: readonly ['shared_schema', 'compatibility', 'findings'];
|
|
578
|
-
};
|
|
579
|
-
readonly rooms: {
|
|
580
|
-
readonly enum: readonly ['all', 'all_but_private'];
|
|
581
|
-
};
|
|
582
|
-
readonly left_out: {
|
|
583
|
-
readonly type: 'integer';
|
|
584
|
-
readonly minimum: 0;
|
|
585
|
-
};
|
|
586
|
-
readonly entries: {
|
|
587
|
-
readonly type: 'array';
|
|
588
|
-
readonly items: {
|
|
589
|
-
readonly type: 'object';
|
|
590
|
-
readonly additionalProperties: false;
|
|
591
|
-
readonly properties: {
|
|
592
|
-
readonly room: {
|
|
593
|
-
readonly $ref: '#/$defs/room';
|
|
594
|
-
};
|
|
595
|
-
readonly compatibility: {
|
|
596
|
-
readonly enum: readonly ['unchecked', 'compatible', 'incompatible'];
|
|
597
|
-
};
|
|
598
|
-
};
|
|
599
|
-
readonly required: readonly ['room', 'compatibility'];
|
|
600
|
-
};
|
|
601
|
-
};
|
|
602
|
-
readonly findings: {
|
|
603
|
-
readonly type: 'array';
|
|
604
|
-
readonly items: {
|
|
605
|
-
readonly type: 'object';
|
|
606
|
-
readonly additionalProperties: false;
|
|
607
|
-
readonly properties: {
|
|
608
|
-
readonly room: {
|
|
609
|
-
readonly $ref: '#/$defs/room';
|
|
610
|
-
};
|
|
611
|
-
readonly finding: {
|
|
612
|
-
readonly type: 'string';
|
|
613
|
-
};
|
|
614
|
-
};
|
|
615
|
-
readonly required: readonly ['room', 'finding'];
|
|
616
|
-
};
|
|
617
|
-
};
|
|
618
|
-
};
|
|
619
|
-
readonly required: readonly ['reflected', 'app', 'slot'];
|
|
620
|
-
};
|
|
621
|
-
readonly 'house-client': {
|
|
622
|
-
readonly description: 'One MCP client this User authorized, named as it was created. Its last use and whether its credentials expired are read on request.';
|
|
623
|
-
readonly properties: {
|
|
624
|
-
readonly reflected: {
|
|
625
|
-
readonly type: 'string';
|
|
626
|
-
readonly format: 'date-time';
|
|
627
|
-
};
|
|
628
|
-
readonly client: {
|
|
629
|
-
readonly $ref: '#/$defs/id';
|
|
630
|
-
};
|
|
631
|
-
readonly name: {
|
|
632
|
-
readonly type: 'string';
|
|
633
|
-
};
|
|
634
|
-
readonly kind: {
|
|
635
|
-
readonly enum: readonly ['browser', 'headless'];
|
|
636
|
-
};
|
|
637
|
-
readonly created: {
|
|
638
|
-
readonly type: 'string';
|
|
639
|
-
readonly format: 'date-time';
|
|
640
|
-
};
|
|
641
|
-
readonly ended: {
|
|
642
|
-
readonly type: 'string';
|
|
643
|
-
readonly format: 'date-time';
|
|
644
|
-
};
|
|
645
|
-
readonly end: {
|
|
646
|
-
readonly enum: readonly ['revoked'];
|
|
647
|
-
};
|
|
648
|
-
};
|
|
649
|
-
readonly required: readonly ['reflected', 'client', 'name', 'kind', 'created'];
|
|
650
|
-
};
|
|
651
|
-
readonly 'house-environment': {
|
|
652
|
-
readonly description: "One Environment this User holds, with its configuration, its `name`, the one its User entered, when it was `created`, the Rooms it reaches, `all`, `all_but_private` or the `selected` ones `rooms` names, each by its `room`, `login_code`, `yes` while it holds a reusable login code, the agent CLI kinds House admits in `offered`, the kinds House last set in `wanted`, and the latest readiness its Kit reported in `agents`. `kind` is the kind of Environment, `sandbox`, a small Environment House runs with limited capacity, especially disk, `vps`, an always-on Environment House runs with better specs, or `own` for its owner's own computer. `lifecycle` is the state of that Sandbox or VPS: `provisioning` while House creates it, `starting` while it starts or House wakes it, `available` once its Kit connected, `stopped` or `failed`. For a Sandbox, `budget` is its runtime budget in hours a month and `budget_spent` is `yes` once its runtime this UTC month reached it. Each offered entry names one adapter kind the owner may select for this Environment. Each wanted entry names one adapter kind the Kit should hold. Each agent entry names the adapter `kind`, its installed `version` or null when the Kit could not install it, for a CLI below its adapter's minimum that `minimum`, `failure`, that install's cause, `installing`, true only while the Kit installs it, whether the CLI is `signed_in`, its `models`, each `model` with its `efforts` as the CLI's session options name them, its `modes`, each `mode` with the `name` the CLI gives it, and `full_access`, the mode that bypasses every permission, or null for a CLI that offers no mode and always runs so. A wanted kind no entry names is not yet reported. `transcribe` is whether the Kit transcribes a message's audio files, as House last set it, and `transcription` names whether the Kit has the engine `installed` and the `failure` of its last download or null, as the Kit last reported it. `os` is the operating system and version of the Environment, `kit_release` the installed Kit release and `form` the computer's form, `laptop`, `desktop` or `server`, as the Kit last reported them. Placement failure is projected on its transitions; `failed` names the failure's category and never its cause. For a VPS, `ssh` is its owner's root login on port 22.";
|
|
653
|
-
readonly properties: {
|
|
654
|
-
readonly reflected: {
|
|
655
|
-
readonly type: 'string';
|
|
656
|
-
readonly format: 'date-time';
|
|
657
|
-
};
|
|
658
|
-
readonly environment: {
|
|
659
|
-
readonly $ref: '#/$defs/id';
|
|
660
|
-
};
|
|
661
|
-
readonly name: {
|
|
662
|
-
readonly type: 'string';
|
|
663
|
-
};
|
|
664
|
-
readonly created: {
|
|
665
|
-
readonly type: 'string';
|
|
666
|
-
readonly format: 'date-time';
|
|
667
|
-
};
|
|
668
|
-
readonly revoked: {
|
|
669
|
-
readonly type: 'string';
|
|
670
|
-
readonly format: 'date-time';
|
|
671
|
-
};
|
|
672
|
-
readonly reach: {
|
|
673
|
-
readonly enum: readonly ['all', 'all_but_private', 'selected'];
|
|
674
|
-
};
|
|
675
|
-
readonly rooms: {
|
|
676
|
-
readonly type: 'array';
|
|
677
|
-
readonly items: {
|
|
678
|
-
readonly type: 'object';
|
|
679
|
-
readonly additionalProperties: false;
|
|
680
|
-
readonly properties: {
|
|
681
|
-
readonly room: {
|
|
682
|
-
readonly $ref: '#/$defs/room';
|
|
683
|
-
};
|
|
684
|
-
};
|
|
685
|
-
readonly required: readonly ['room'];
|
|
686
|
-
};
|
|
687
|
-
};
|
|
688
|
-
readonly login_code: {
|
|
689
|
-
readonly enum: readonly ['yes', 'no'];
|
|
690
|
-
};
|
|
691
|
-
readonly kind: {
|
|
692
|
-
readonly enum: readonly ['sandbox', 'vps', 'own'];
|
|
693
|
-
};
|
|
694
|
-
readonly lifecycle: {
|
|
695
|
-
readonly enum: readonly ['provisioning', 'starting', 'available', 'stopped', 'failed'];
|
|
696
|
-
};
|
|
697
|
-
readonly offered: {
|
|
698
|
-
readonly type: 'array';
|
|
699
|
-
readonly items: {
|
|
700
|
-
readonly type: 'string';
|
|
701
|
-
};
|
|
702
|
-
};
|
|
703
|
-
readonly wanted: {
|
|
704
|
-
readonly type: 'array';
|
|
705
|
-
readonly items: {
|
|
706
|
-
readonly type: 'string';
|
|
707
|
-
};
|
|
708
|
-
};
|
|
709
|
-
readonly agents: {
|
|
710
|
-
readonly type: 'array';
|
|
711
|
-
readonly items: {
|
|
712
|
-
readonly type: 'object';
|
|
713
|
-
readonly additionalProperties: false;
|
|
714
|
-
readonly properties: {
|
|
715
|
-
readonly kind: {
|
|
716
|
-
readonly type: 'string';
|
|
717
|
-
readonly minLength: 1;
|
|
718
|
-
readonly maxLength: 64;
|
|
719
|
-
};
|
|
720
|
-
readonly version: {
|
|
721
|
-
readonly anyOf: readonly [{
|
|
722
|
-
readonly type: 'string';
|
|
723
|
-
readonly minLength: 1;
|
|
724
|
-
readonly maxLength: 64;
|
|
725
|
-
}, {
|
|
726
|
-
readonly type: 'null';
|
|
727
|
-
}];
|
|
728
|
-
};
|
|
729
|
-
readonly minimum: {
|
|
730
|
-
readonly description: "Present only for a CLI below its adapter's minimum version: that minimum.";
|
|
731
|
-
readonly type: 'string';
|
|
732
|
-
readonly minLength: 1;
|
|
733
|
-
readonly maxLength: 64;
|
|
734
|
-
};
|
|
735
|
-
readonly failure: {
|
|
736
|
-
readonly anyOf: readonly [{
|
|
737
|
-
readonly type: 'string';
|
|
738
|
-
readonly minLength: 1;
|
|
739
|
-
readonly maxLength: 4096;
|
|
740
|
-
}, {
|
|
741
|
-
readonly type: 'null';
|
|
742
|
-
}];
|
|
743
|
-
};
|
|
744
|
-
readonly installing: {
|
|
745
|
-
readonly description: 'Present only while the Kit installs the CLI, whose version and failure are then null.';
|
|
746
|
-
readonly type: 'boolean';
|
|
747
|
-
readonly const: true;
|
|
748
|
-
};
|
|
749
|
-
readonly signed_in: {
|
|
750
|
-
readonly type: 'boolean';
|
|
751
|
-
};
|
|
752
|
-
readonly models: {
|
|
753
|
-
readonly maxItems: 256;
|
|
754
|
-
readonly type: 'array';
|
|
755
|
-
readonly items: {
|
|
756
|
-
readonly type: 'object';
|
|
757
|
-
readonly additionalProperties: false;
|
|
758
|
-
readonly properties: {
|
|
759
|
-
readonly model: {
|
|
760
|
-
readonly type: 'string';
|
|
761
|
-
readonly minLength: 1;
|
|
762
|
-
};
|
|
763
|
-
readonly efforts: {
|
|
764
|
-
readonly maxItems: 32;
|
|
765
|
-
readonly type: 'array';
|
|
766
|
-
readonly items: {
|
|
767
|
-
readonly type: 'string';
|
|
768
|
-
readonly minLength: 1;
|
|
769
|
-
};
|
|
770
|
-
};
|
|
771
|
-
};
|
|
772
|
-
readonly required: readonly ['model', 'efforts'];
|
|
773
|
-
};
|
|
774
|
-
};
|
|
775
|
-
readonly modes: {
|
|
776
|
-
readonly maxItems: 32;
|
|
777
|
-
readonly type: 'array';
|
|
778
|
-
readonly items: {
|
|
779
|
-
readonly type: 'object';
|
|
780
|
-
readonly additionalProperties: false;
|
|
781
|
-
readonly properties: {
|
|
782
|
-
readonly mode: {
|
|
783
|
-
readonly type: 'string';
|
|
784
|
-
readonly minLength: 1;
|
|
785
|
-
};
|
|
786
|
-
readonly name: {
|
|
787
|
-
readonly type: 'string';
|
|
788
|
-
readonly minLength: 1;
|
|
789
|
-
readonly maxLength: 128;
|
|
790
|
-
};
|
|
791
|
-
};
|
|
792
|
-
readonly required: readonly ['mode', 'name'];
|
|
793
|
-
};
|
|
794
|
-
};
|
|
795
|
-
readonly full_access: {
|
|
796
|
-
readonly anyOf: readonly [{
|
|
797
|
-
readonly type: 'string';
|
|
798
|
-
readonly minLength: 1;
|
|
799
|
-
}, {
|
|
800
|
-
readonly type: 'null';
|
|
801
|
-
}];
|
|
802
|
-
};
|
|
803
|
-
};
|
|
804
|
-
readonly required: readonly ['kind', 'version', 'failure', 'signed_in', 'models', 'modes', 'full_access'];
|
|
805
|
-
};
|
|
806
|
-
};
|
|
807
|
-
readonly transcribe: {
|
|
808
|
-
readonly enum: readonly ['on', 'off'];
|
|
809
|
-
};
|
|
810
|
-
readonly transcription: {
|
|
811
|
-
readonly type: 'object';
|
|
812
|
-
readonly additionalProperties: false;
|
|
813
|
-
readonly properties: {
|
|
814
|
-
readonly installed: {
|
|
815
|
-
readonly type: 'boolean';
|
|
816
|
-
};
|
|
817
|
-
readonly failure: {
|
|
818
|
-
readonly anyOf: readonly [{
|
|
819
|
-
readonly type: 'string';
|
|
820
|
-
readonly minLength: 1;
|
|
821
|
-
readonly maxLength: 4096;
|
|
822
|
-
}, {
|
|
823
|
-
readonly type: 'null';
|
|
824
|
-
}];
|
|
825
|
-
};
|
|
826
|
-
};
|
|
827
|
-
readonly required: readonly ['installed', 'failure'];
|
|
828
|
-
};
|
|
829
|
-
readonly os: {
|
|
830
|
-
readonly type: 'string';
|
|
831
|
-
};
|
|
832
|
-
readonly kit_release: {
|
|
833
|
-
readonly type: 'string';
|
|
834
|
-
};
|
|
835
|
-
readonly form: {
|
|
836
|
-
readonly enum: readonly ['laptop', 'desktop', 'server'];
|
|
837
|
-
};
|
|
838
|
-
readonly failed: {
|
|
839
|
-
readonly enum: readonly ['provisioning_failed', 'bootstrap_timeout', 'provider_capacity', 'provider_unavailable', 'provider_removed', 'placement_conflict', 'placement_intervention', 'environment_authority_unavailable'];
|
|
840
|
-
};
|
|
841
|
-
readonly budget: {
|
|
842
|
-
readonly type: 'string';
|
|
843
|
-
readonly pattern: '^\\d+(?:\\.\\d+)?$';
|
|
844
|
-
};
|
|
845
|
-
readonly budget_spent: {
|
|
846
|
-
readonly enum: readonly ['yes', 'no'];
|
|
847
|
-
};
|
|
848
|
-
readonly ssh: {
|
|
849
|
-
readonly type: 'string';
|
|
850
|
-
readonly pattern: '^root@\\S+$';
|
|
851
|
-
};
|
|
852
|
-
};
|
|
853
|
-
readonly required: readonly ['reflected', 'environment', 'name', 'created', 'reach', 'kind', 'offered', 'transcribe'];
|
|
854
|
-
};
|
|
855
|
-
readonly 'house-exports': {
|
|
856
|
-
readonly description: "This User's Exports, each with its `status`, when it was `created` and, once it has one, when it `expires`; a ready one names its download page as `page`.";
|
|
857
|
-
readonly properties: {
|
|
858
|
-
readonly reflected: {
|
|
859
|
-
readonly type: 'string';
|
|
860
|
-
readonly format: 'date-time';
|
|
861
|
-
};
|
|
862
|
-
readonly exports: {
|
|
863
|
-
readonly type: 'array';
|
|
864
|
-
readonly items: {
|
|
865
|
-
readonly type: 'object';
|
|
866
|
-
readonly additionalProperties: false;
|
|
867
|
-
readonly properties: {
|
|
868
|
-
readonly export: {
|
|
869
|
-
readonly $ref: '#/$defs/id';
|
|
870
|
-
};
|
|
871
|
-
readonly status: {
|
|
872
|
-
readonly enum: readonly ['queued', 'running', 'ready', 'failed'];
|
|
873
|
-
};
|
|
874
|
-
readonly created: {
|
|
875
|
-
readonly type: 'string';
|
|
876
|
-
readonly format: 'date-time';
|
|
877
|
-
};
|
|
878
|
-
readonly expires: {
|
|
879
|
-
readonly type: 'string';
|
|
880
|
-
readonly format: 'date-time';
|
|
881
|
-
};
|
|
882
|
-
readonly page: {
|
|
883
|
-
readonly type: 'string';
|
|
884
|
-
readonly pattern: '^\\/exports\\/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$';
|
|
885
|
-
};
|
|
886
|
-
};
|
|
887
|
-
readonly required: readonly ['export', 'status', 'created'];
|
|
888
|
-
};
|
|
889
|
-
};
|
|
890
|
-
};
|
|
891
|
-
readonly required: readonly ['reflected'];
|
|
892
|
-
};
|
|
893
|
-
readonly 'house-member': {
|
|
894
|
-
readonly description: "One User who shares a Room with this User, with their current display name and accepted about-me Markdown. Their email, the Rooms they share and each one's access are in the `roster` of each `house-room` document.";
|
|
895
|
-
readonly properties: {
|
|
896
|
-
readonly reflected: {
|
|
897
|
-
readonly type: 'string';
|
|
898
|
-
readonly format: 'date-time';
|
|
899
|
-
};
|
|
900
|
-
readonly user: {
|
|
901
|
-
readonly $ref: '#/$defs/id';
|
|
902
|
-
};
|
|
903
|
-
readonly name: {
|
|
904
|
-
readonly type: 'string';
|
|
905
|
-
};
|
|
906
|
-
readonly about_me: {
|
|
907
|
-
readonly type: 'string';
|
|
908
|
-
};
|
|
909
|
-
};
|
|
910
|
-
readonly required: readonly ['reflected', 'user', 'name'];
|
|
911
|
-
};
|
|
912
|
-
readonly 'house-notification': {
|
|
913
|
-
readonly description: "One kept Human Notification for this User: its kind, when it was sent as `created`, its way in, its email's subject and each fact of its value that is not sealed, named in snake_case. An entity a fact names is an object holding its identifier under the key of its kind, when the notification carries it, and its `name`, `email` and other facts beside it; a fact holding null is absent. `way_in` is either the House `path` it opens or the entity it is about, by its identifier under the key of its kind, a Trigger with its `room`. Its body is its email's words in Markdown. Both were worded once, in the User's language when it was delivered; an App may show them or word it itself from its kind and value. Read state belongs to each browser.";
|
|
914
|
-
readonly properties: {
|
|
915
|
-
readonly notification: {
|
|
916
|
-
readonly $ref: '#/$defs/id';
|
|
917
|
-
};
|
|
918
|
-
readonly kind: {
|
|
919
|
-
readonly type: 'string';
|
|
920
|
-
readonly enum: readonly ['share-offer', 'join-request', 'join-request-approved', 'app-room-binding-incompatible', 'app-deleted', 'app-call', 'room-ownership-offer', 'managed-environment-retention-opened', 'managed-environment-placement-intervention', 'storage-full', 'sandbox-budget-spent', 'break-glass-owner-disclosure', 'routine-start-approval-request', 'routine-request-declined', 'routine-request-started', 'routine-request-finished', 'routine-request-not-started', 'export-ready', 'export-failed', 'site-disabled', 'site-binding-incompatible', 'site-room-left', 'site-images-full', 'custom', 'trigger-did-nothing', 'function-failed'];
|
|
921
|
-
};
|
|
922
|
-
readonly created: {
|
|
923
|
-
readonly type: 'string';
|
|
924
|
-
readonly format: 'date-time';
|
|
925
|
-
};
|
|
926
|
-
readonly way_in: {
|
|
927
|
-
readonly type: 'object';
|
|
928
|
-
readonly additionalProperties: false;
|
|
929
|
-
readonly properties: {
|
|
930
|
-
readonly path: {
|
|
931
|
-
readonly type: 'string';
|
|
932
|
-
readonly pattern: '^\\/';
|
|
933
|
-
};
|
|
934
|
-
readonly room: {
|
|
935
|
-
readonly $ref: '#/$defs/room';
|
|
936
|
-
};
|
|
937
|
-
readonly app: {
|
|
938
|
-
readonly $ref: '#/$defs/app';
|
|
939
|
-
};
|
|
940
|
-
readonly agent: {
|
|
941
|
-
readonly $ref: '#/$defs/id';
|
|
942
|
-
};
|
|
943
|
-
readonly environment: {
|
|
944
|
-
readonly $ref: '#/$defs/id';
|
|
945
|
-
};
|
|
946
|
-
readonly routine: {
|
|
947
|
-
readonly $ref: '#/$defs/id';
|
|
948
|
-
};
|
|
949
|
-
readonly routine_request: {
|
|
950
|
-
readonly $ref: '#/$defs/id';
|
|
951
|
-
};
|
|
952
|
-
readonly trigger: {
|
|
953
|
-
readonly $ref: '#/$defs/id';
|
|
954
|
-
};
|
|
955
|
-
readonly site: {
|
|
956
|
-
readonly $ref: '#/$defs/id';
|
|
957
|
-
};
|
|
958
|
-
};
|
|
959
|
-
readonly minProperties: 1;
|
|
960
|
-
};
|
|
961
|
-
readonly subject: {
|
|
962
|
-
readonly type: 'string';
|
|
963
|
-
};
|
|
964
|
-
readonly share: {
|
|
965
|
-
readonly $ref: '#/$defs/id';
|
|
966
|
-
};
|
|
967
|
-
readonly issuer: {
|
|
968
|
-
readonly type: 'object';
|
|
969
|
-
readonly additionalProperties: false;
|
|
970
|
-
readonly properties: {
|
|
971
|
-
readonly name: {
|
|
972
|
-
readonly type: 'string';
|
|
973
|
-
};
|
|
974
|
-
readonly email: {
|
|
975
|
-
readonly type: 'string';
|
|
976
|
-
readonly format: 'email';
|
|
977
|
-
};
|
|
978
|
-
};
|
|
979
|
-
readonly required: readonly ['name', 'email'];
|
|
980
|
-
};
|
|
981
|
-
readonly rooms: {
|
|
982
|
-
readonly type: 'array';
|
|
983
|
-
readonly items: {
|
|
984
|
-
readonly type: 'object';
|
|
985
|
-
readonly additionalProperties: false;
|
|
986
|
-
readonly properties: {
|
|
987
|
-
readonly name: {
|
|
988
|
-
readonly type: 'string';
|
|
989
|
-
};
|
|
990
|
-
};
|
|
991
|
-
readonly required: readonly ['name'];
|
|
992
|
-
};
|
|
993
|
-
};
|
|
994
|
-
readonly apps: {
|
|
995
|
-
readonly maxItems: 20;
|
|
996
|
-
readonly type: 'array';
|
|
997
|
-
readonly items: {
|
|
998
|
-
readonly type: 'object';
|
|
999
|
-
readonly additionalProperties: false;
|
|
1000
|
-
readonly properties: {
|
|
1001
|
-
readonly name: {
|
|
1002
|
-
readonly type: 'string';
|
|
1003
|
-
readonly minLength: 1;
|
|
1004
|
-
readonly maxLength: 200;
|
|
1005
|
-
};
|
|
1006
|
-
readonly reaches: {
|
|
1007
|
-
readonly type: 'array';
|
|
1008
|
-
readonly items: {
|
|
1009
|
-
readonly type: 'string';
|
|
1010
|
-
readonly minLength: 1;
|
|
1011
|
-
readonly maxLength: 512;
|
|
1012
|
-
};
|
|
1013
|
-
};
|
|
1014
|
-
};
|
|
1015
|
-
readonly required: readonly ['name', 'reaches'];
|
|
1016
|
-
};
|
|
1017
|
-
};
|
|
1018
|
-
readonly expires_at: {
|
|
1019
|
-
readonly type: 'string';
|
|
1020
|
-
readonly format: 'date-time';
|
|
1021
|
-
};
|
|
1022
|
-
readonly join_request: {
|
|
1023
|
-
readonly $ref: '#/$defs/id';
|
|
1024
|
-
};
|
|
1025
|
-
readonly user: {
|
|
1026
|
-
readonly type: 'object';
|
|
1027
|
-
readonly additionalProperties: false;
|
|
1028
|
-
readonly properties: {
|
|
1029
|
-
readonly name: {
|
|
1030
|
-
readonly type: 'string';
|
|
1031
|
-
};
|
|
1032
|
-
readonly email: {
|
|
1033
|
-
readonly type: 'string';
|
|
1034
|
-
readonly format: 'email';
|
|
1035
|
-
};
|
|
1036
|
-
};
|
|
1037
|
-
readonly required: readonly ['name', 'email'];
|
|
1038
|
-
};
|
|
1039
|
-
readonly room: {
|
|
1040
|
-
readonly type: 'object';
|
|
1041
|
-
readonly additionalProperties: false;
|
|
1042
|
-
readonly properties: {
|
|
1043
|
-
readonly room: {
|
|
1044
|
-
readonly $ref: '#/$defs/room';
|
|
1045
|
-
};
|
|
1046
|
-
readonly name: {
|
|
1047
|
-
readonly type: 'string';
|
|
1048
|
-
};
|
|
1049
|
-
};
|
|
1050
|
-
readonly minProperties: 1;
|
|
1051
|
-
};
|
|
1052
|
-
readonly app: {
|
|
1053
|
-
readonly type: 'object';
|
|
1054
|
-
readonly additionalProperties: false;
|
|
1055
|
-
readonly properties: {
|
|
1056
|
-
readonly app: {
|
|
1057
|
-
readonly $ref: '#/$defs/app';
|
|
1058
|
-
};
|
|
1059
|
-
readonly name: {
|
|
1060
|
-
readonly type: 'string';
|
|
1061
|
-
};
|
|
1062
|
-
};
|
|
1063
|
-
readonly minProperties: 1;
|
|
1064
|
-
};
|
|
1065
|
-
readonly binding: {
|
|
1066
|
-
readonly $ref: '#/$defs/id';
|
|
1067
|
-
};
|
|
1068
|
-
readonly slot: {
|
|
1069
|
-
readonly type: 'string';
|
|
1070
|
-
};
|
|
1071
|
-
readonly findings: {
|
|
1072
|
-
readonly type: 'array';
|
|
1073
|
-
readonly items: {
|
|
1074
|
-
readonly type: 'string';
|
|
1075
|
-
};
|
|
1076
|
-
};
|
|
1077
|
-
readonly owner: {
|
|
1078
|
-
readonly type: 'object';
|
|
1079
|
-
readonly additionalProperties: false;
|
|
1080
|
-
readonly properties: {
|
|
1081
|
-
readonly name: {
|
|
1082
|
-
readonly type: 'string';
|
|
1083
|
-
};
|
|
1084
|
-
};
|
|
1085
|
-
readonly required: readonly ['name'];
|
|
1086
|
-
};
|
|
1087
|
-
readonly caller: {
|
|
1088
|
-
readonly type: 'object';
|
|
1089
|
-
readonly additionalProperties: false;
|
|
1090
|
-
readonly properties: {
|
|
1091
|
-
readonly user: {
|
|
1092
|
-
readonly $ref: '#/$defs/id';
|
|
1093
|
-
};
|
|
1094
|
-
readonly name: {
|
|
1095
|
-
readonly type: 'string';
|
|
1096
|
-
};
|
|
1097
|
-
};
|
|
1098
|
-
readonly required: readonly ['user', 'name'];
|
|
1099
|
-
};
|
|
1100
|
-
readonly ownership_offer: {
|
|
1101
|
-
readonly $ref: '#/$defs/id';
|
|
1102
|
-
};
|
|
1103
|
-
readonly offerer: {
|
|
1104
|
-
readonly type: 'object';
|
|
1105
|
-
readonly additionalProperties: false;
|
|
1106
|
-
readonly properties: {
|
|
1107
|
-
readonly name: {
|
|
1108
|
-
readonly type: 'string';
|
|
1109
|
-
};
|
|
1110
|
-
readonly email: {
|
|
1111
|
-
readonly type: 'string';
|
|
1112
|
-
readonly format: 'email';
|
|
1113
|
-
};
|
|
1114
|
-
};
|
|
1115
|
-
readonly required: readonly ['name', 'email'];
|
|
1116
|
-
};
|
|
1117
|
-
readonly environment: {
|
|
1118
|
-
readonly type: 'object';
|
|
1119
|
-
readonly additionalProperties: false;
|
|
1120
|
-
readonly properties: {
|
|
1121
|
-
readonly environment: {
|
|
1122
|
-
readonly $ref: '#/$defs/id';
|
|
1123
|
-
};
|
|
1124
|
-
readonly name: {
|
|
1125
|
-
readonly type: 'string';
|
|
1126
|
-
};
|
|
1127
|
-
readonly kind: {
|
|
1128
|
-
readonly enum: readonly ['vps', 'sandbox'];
|
|
1129
|
-
};
|
|
1130
|
-
};
|
|
1131
|
-
readonly required: readonly ['environment', 'name'];
|
|
1132
|
-
};
|
|
1133
|
-
readonly reason: {
|
|
1134
|
-
readonly type: 'string';
|
|
1135
|
-
};
|
|
1136
|
-
readonly deadline: {
|
|
1137
|
-
readonly type: 'string';
|
|
1138
|
-
readonly format: 'date-time';
|
|
1139
|
-
};
|
|
1140
|
-
readonly operation_kind: {
|
|
1141
|
-
readonly type: 'string';
|
|
1142
|
-
};
|
|
1143
|
-
readonly free: {
|
|
1144
|
-
readonly type: 'object';
|
|
1145
|
-
readonly additionalProperties: false;
|
|
1146
|
-
readonly properties: {
|
|
1147
|
-
readonly held: {
|
|
1148
|
-
readonly type: 'string';
|
|
1149
|
-
readonly pattern: '^\\d+$';
|
|
1150
|
-
};
|
|
1151
|
-
readonly limit: {
|
|
1152
|
-
readonly type: 'string';
|
|
1153
|
-
readonly pattern: '^[1-9]\\d*$';
|
|
1154
|
-
};
|
|
1155
|
-
readonly measure: {
|
|
1156
|
-
readonly type: 'string';
|
|
1157
|
-
readonly enum: readonly ['content', 'retained'];
|
|
1158
|
-
};
|
|
1159
|
-
};
|
|
1160
|
-
readonly required: readonly ['held', 'limit', 'measure'];
|
|
1161
|
-
};
|
|
1162
|
-
readonly budget: {
|
|
1163
|
-
readonly type: 'string';
|
|
1164
|
-
readonly pattern: '^\\d+(?:\\.\\d+)?$';
|
|
1165
|
-
};
|
|
1166
|
-
readonly resets_at: {
|
|
1167
|
-
readonly type: 'string';
|
|
1168
|
-
readonly format: 'date-time';
|
|
1169
|
-
};
|
|
1170
|
-
readonly grant: {
|
|
1171
|
-
readonly $ref: '#/$defs/id';
|
|
1172
|
-
};
|
|
1173
|
-
readonly category: {
|
|
1174
|
-
readonly type: 'string';
|
|
1175
|
-
};
|
|
1176
|
-
readonly access_started_at: {
|
|
1177
|
-
readonly type: 'string';
|
|
1178
|
-
readonly format: 'date-time';
|
|
1179
|
-
};
|
|
1180
|
-
readonly access_ended_at: {
|
|
1181
|
-
readonly type: 'string';
|
|
1182
|
-
readonly format: 'date-time';
|
|
1183
|
-
};
|
|
1184
|
-
readonly systems: {
|
|
1185
|
-
readonly type: 'array';
|
|
1186
|
-
readonly items: {
|
|
1187
|
-
readonly type: 'string';
|
|
1188
|
-
};
|
|
1189
|
-
};
|
|
1190
|
-
readonly case_reference: {
|
|
1191
|
-
readonly type: 'string';
|
|
1192
|
-
};
|
|
1193
|
-
readonly routine_request: {
|
|
1194
|
-
readonly $ref: '#/$defs/id';
|
|
1195
|
-
};
|
|
1196
|
-
readonly requester: {
|
|
1197
|
-
readonly type: 'object';
|
|
1198
|
-
readonly additionalProperties: false;
|
|
1199
|
-
readonly properties: {
|
|
1200
|
-
readonly name: {
|
|
1201
|
-
readonly type: 'string';
|
|
1202
|
-
};
|
|
1203
|
-
};
|
|
1204
|
-
readonly required: readonly ['name'];
|
|
1205
|
-
};
|
|
1206
|
-
readonly agent: {
|
|
1207
|
-
readonly type: 'object';
|
|
1208
|
-
readonly additionalProperties: false;
|
|
1209
|
-
readonly properties: {
|
|
1210
|
-
readonly agent: {
|
|
1211
|
-
readonly $ref: '#/$defs/id';
|
|
1212
|
-
};
|
|
1213
|
-
readonly name: {
|
|
1214
|
-
readonly type: 'string';
|
|
1215
|
-
};
|
|
1216
|
-
};
|
|
1217
|
-
readonly required: readonly ['name'];
|
|
1218
|
-
};
|
|
1219
|
-
readonly conversation: {
|
|
1220
|
-
readonly $ref: '#/$defs/id';
|
|
1221
|
-
};
|
|
1222
|
-
readonly routine: {
|
|
1223
|
-
readonly type: 'object';
|
|
1224
|
-
readonly additionalProperties: false;
|
|
1225
|
-
readonly properties: {
|
|
1226
|
-
readonly routine: {
|
|
1227
|
-
readonly $ref: '#/$defs/id';
|
|
1228
|
-
};
|
|
1229
|
-
readonly name: {
|
|
1230
|
-
readonly type: 'string';
|
|
1231
|
-
};
|
|
1232
|
-
readonly version: {
|
|
1233
|
-
readonly type: 'integer';
|
|
1234
|
-
readonly minimum: 1;
|
|
1235
|
-
};
|
|
1236
|
-
};
|
|
1237
|
-
readonly required: readonly ['name'];
|
|
1238
|
-
};
|
|
1239
|
-
readonly decliner: {
|
|
1240
|
-
readonly type: 'object';
|
|
1241
|
-
readonly additionalProperties: false;
|
|
1242
|
-
readonly properties: {
|
|
1243
|
-
readonly name: {
|
|
1244
|
-
readonly type: 'string';
|
|
1245
|
-
};
|
|
1246
|
-
};
|
|
1247
|
-
readonly required: readonly ['name'];
|
|
1248
|
-
};
|
|
1249
|
-
readonly input: {
|
|
1250
|
-
readonly type: 'string';
|
|
1251
|
-
};
|
|
1252
|
-
readonly export: {
|
|
1253
|
-
readonly $ref: '#/$defs/id';
|
|
1254
|
-
};
|
|
1255
|
-
readonly size_bytes: {
|
|
1256
|
-
readonly type: 'integer';
|
|
1257
|
-
readonly minimum: 0;
|
|
1258
|
-
};
|
|
1259
|
-
readonly site: {
|
|
1260
|
-
readonly type: 'object';
|
|
1261
|
-
readonly additionalProperties: false;
|
|
1262
|
-
readonly properties: {
|
|
1263
|
-
readonly site: {
|
|
1264
|
-
readonly $ref: '#/$defs/id';
|
|
1265
|
-
};
|
|
1266
|
-
readonly name: {
|
|
1267
|
-
readonly type: 'string';
|
|
1268
|
-
};
|
|
1269
|
-
};
|
|
1270
|
-
readonly required: readonly ['site', 'name'];
|
|
1271
|
-
};
|
|
1272
|
-
readonly address: {
|
|
1273
|
-
readonly type: 'string';
|
|
1274
|
-
readonly maxLength: 300;
|
|
1275
|
-
readonly format: 'uri';
|
|
1276
|
-
};
|
|
1277
|
-
readonly to: {
|
|
1278
|
-
readonly type: 'object';
|
|
1279
|
-
readonly additionalProperties: false;
|
|
1280
|
-
readonly properties: {
|
|
1281
|
-
readonly name: {
|
|
1282
|
-
readonly type: 'string';
|
|
1283
|
-
};
|
|
1284
|
-
};
|
|
1285
|
-
readonly required: readonly ['name'];
|
|
1286
|
-
};
|
|
1287
|
-
readonly copies: {
|
|
1288
|
-
readonly type: 'integer';
|
|
1289
|
-
readonly minimum: 0;
|
|
1290
|
-
};
|
|
1291
|
-
readonly bound: {
|
|
1292
|
-
readonly type: 'integer';
|
|
1293
|
-
readonly minimum: 0;
|
|
1294
|
-
};
|
|
1295
|
-
readonly title: {
|
|
1296
|
-
readonly type: 'string';
|
|
1297
|
-
};
|
|
1298
|
-
readonly body: {
|
|
1299
|
-
readonly type: 'string';
|
|
1300
|
-
};
|
|
1301
|
-
readonly authorship: {
|
|
1302
|
-
readonly type: 'object';
|
|
1303
|
-
readonly additionalProperties: false;
|
|
1304
|
-
readonly properties: {
|
|
1305
|
-
readonly kind: {
|
|
1306
|
-
readonly type: 'string';
|
|
1307
|
-
readonly const: 'trigger-action';
|
|
1308
|
-
};
|
|
1309
|
-
readonly trigger: {
|
|
1310
|
-
readonly $ref: '#/$defs/id';
|
|
1311
|
-
};
|
|
1312
|
-
readonly position: {
|
|
1313
|
-
readonly type: 'integer';
|
|
1314
|
-
readonly minimum: 0;
|
|
1315
|
-
};
|
|
1316
|
-
};
|
|
1317
|
-
readonly required: readonly ['kind', 'trigger', 'position'];
|
|
1318
|
-
};
|
|
1319
|
-
readonly path: {
|
|
1320
|
-
readonly type: 'string';
|
|
1321
|
-
readonly maxLength: 4096;
|
|
1322
|
-
readonly pattern: '^\\/.*';
|
|
1323
|
-
};
|
|
1324
|
-
readonly trigger: {
|
|
1325
|
-
readonly type: 'object';
|
|
1326
|
-
readonly additionalProperties: false;
|
|
1327
|
-
readonly properties: {
|
|
1328
|
-
readonly trigger: {
|
|
1329
|
-
readonly $ref: '#/$defs/id';
|
|
1330
|
-
};
|
|
1331
|
-
readonly name: {
|
|
1332
|
-
readonly type: 'string';
|
|
1333
|
-
};
|
|
1334
|
-
};
|
|
1335
|
-
readonly required: readonly ['trigger', 'name'];
|
|
1336
|
-
};
|
|
1337
|
-
readonly cause: {
|
|
1338
|
-
readonly type: 'string';
|
|
1339
|
-
};
|
|
1340
|
-
readonly function: {
|
|
1341
|
-
readonly type: 'string';
|
|
1342
|
-
};
|
|
1343
|
-
readonly error: {
|
|
1344
|
-
readonly type: 'string';
|
|
1345
|
-
};
|
|
1346
|
-
};
|
|
1347
|
-
readonly required: readonly ['notification', 'kind', 'created', 'way_in', 'subject'];
|
|
1348
|
-
};
|
|
1349
|
-
readonly 'house-ownership-offer': {
|
|
1350
|
-
readonly description: "One open Room ownership offer addressed to this User. The Room's name and the name of the owner it is `from` are captured when the offer is made. The page is the House approval path where this User accepts or declines.";
|
|
1351
|
-
readonly properties: {
|
|
1352
|
-
readonly reflected: {
|
|
1353
|
-
readonly type: 'string';
|
|
1354
|
-
readonly format: 'date-time';
|
|
1355
|
-
};
|
|
1356
|
-
readonly ownership_offer: {
|
|
1357
|
-
readonly $ref: '#/$defs/id';
|
|
1358
|
-
};
|
|
1359
|
-
readonly room: {
|
|
1360
|
-
readonly type: 'object';
|
|
1361
|
-
readonly additionalProperties: false;
|
|
1362
|
-
readonly properties: {
|
|
1363
|
-
readonly room: {
|
|
1364
|
-
readonly $ref: '#/$defs/room';
|
|
1365
|
-
};
|
|
1366
|
-
readonly name: {
|
|
1367
|
-
readonly type: 'string';
|
|
1368
|
-
};
|
|
1369
|
-
};
|
|
1370
|
-
readonly required: readonly ['room', 'name'];
|
|
1371
|
-
};
|
|
1372
|
-
readonly from: {
|
|
1373
|
-
readonly type: 'object';
|
|
1374
|
-
readonly additionalProperties: false;
|
|
1375
|
-
readonly properties: {
|
|
1376
|
-
readonly name: {
|
|
1377
|
-
readonly type: 'string';
|
|
1378
|
-
};
|
|
1379
|
-
};
|
|
1380
|
-
readonly required: readonly ['name'];
|
|
1381
|
-
};
|
|
1382
|
-
readonly page: {
|
|
1383
|
-
readonly type: 'string';
|
|
1384
|
-
readonly pattern: '^\\/approve\\/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$';
|
|
1385
|
-
};
|
|
1386
|
-
readonly created: {
|
|
1387
|
-
readonly type: 'string';
|
|
1388
|
-
readonly format: 'date-time';
|
|
1389
|
-
};
|
|
1390
|
-
readonly expires: {
|
|
1391
|
-
readonly type: 'string';
|
|
1392
|
-
readonly format: 'date-time';
|
|
1393
|
-
};
|
|
1394
|
-
};
|
|
1395
|
-
readonly required: readonly ['reflected', 'ownership_offer', 'room', 'from', 'page', 'created', 'expires'];
|
|
1396
|
-
};
|
|
1397
|
-
readonly 'house-panel-preferences': {
|
|
1398
|
-
readonly description: "The panel's preferences at /rooms/private/settings/panel.md. Its own vocabulary is in the body.";
|
|
1399
|
-
readonly properties: {};
|
|
1400
|
-
};
|
|
1401
|
-
readonly 'house-profile': {
|
|
1402
|
-
readonly description: "The User's display name, the email they sign in with and accepted about-me Markdown.";
|
|
1403
|
-
readonly properties: {
|
|
1404
|
-
readonly reflected: {
|
|
1405
|
-
readonly type: 'string';
|
|
1406
|
-
readonly format: 'date-time';
|
|
1407
|
-
};
|
|
1408
|
-
readonly name: {
|
|
1409
|
-
readonly type: 'string';
|
|
1410
|
-
};
|
|
1411
|
-
readonly email: {
|
|
1412
|
-
readonly type: 'string';
|
|
1413
|
-
};
|
|
1414
|
-
readonly about_me: {
|
|
1415
|
-
readonly type: 'string';
|
|
1416
|
-
};
|
|
1417
|
-
};
|
|
1418
|
-
readonly required: readonly ['reflected', 'name', 'email'];
|
|
1419
|
-
};
|
|
1420
|
-
readonly 'house-public-room': {
|
|
1421
|
-
readonly description: 'One Public Room this User added and reads without being its member. Its members are read with `list_members`, and `leave_room` removes it.';
|
|
1422
|
-
readonly properties: {
|
|
1423
|
-
readonly reflected: {
|
|
1424
|
-
readonly type: 'string';
|
|
1425
|
-
readonly format: 'date-time';
|
|
1426
|
-
};
|
|
1427
|
-
readonly room: {
|
|
1428
|
-
readonly $ref: '#/$defs/room';
|
|
1429
|
-
};
|
|
1430
|
-
readonly handle: {
|
|
1431
|
-
readonly type: 'string';
|
|
1432
|
-
readonly minLength: 6;
|
|
1433
|
-
readonly maxLength: 63;
|
|
1434
|
-
readonly pattern: '^[a-z0-9]+(?:-[a-z0-9]+)*$';
|
|
1435
|
-
};
|
|
1436
|
-
readonly name: {
|
|
1437
|
-
readonly type: 'string';
|
|
1438
|
-
};
|
|
1439
|
-
readonly archived: {
|
|
1440
|
-
readonly type: 'string';
|
|
1441
|
-
readonly format: 'date-time';
|
|
1442
|
-
};
|
|
1443
|
-
};
|
|
1444
|
-
readonly required: readonly ['reflected', 'room', 'handle', 'name'];
|
|
1445
|
-
};
|
|
1446
|
-
readonly 'house-push-address': {
|
|
1447
|
-
readonly description: "One push address this User minted, never its secret: the Room it captures into, the Source it names, and where an outside service's post carries its event's identifier, the header `event_header` or the JSON pointer `event_json`.";
|
|
1448
|
-
readonly properties: {
|
|
1449
|
-
readonly reflected: {
|
|
1450
|
-
readonly type: 'string';
|
|
1451
|
-
readonly format: 'date-time';
|
|
1452
|
-
};
|
|
1453
|
-
readonly push_address: {
|
|
1454
|
-
readonly $ref: '#/$defs/id';
|
|
1455
|
-
};
|
|
1456
|
-
readonly room: {
|
|
1457
|
-
readonly $ref: '#/$defs/room';
|
|
1458
|
-
};
|
|
1459
|
-
readonly source: {
|
|
1460
|
-
readonly type: 'string';
|
|
1461
|
-
};
|
|
1462
|
-
readonly event_header: {
|
|
1463
|
-
readonly type: 'string';
|
|
1464
|
-
};
|
|
1465
|
-
readonly event_json: {
|
|
1466
|
-
readonly type: 'string';
|
|
1467
|
-
};
|
|
1468
|
-
};
|
|
1469
|
-
readonly required: readonly ['reflected', 'push_address', 'room', 'source'];
|
|
1470
|
-
};
|
|
1471
|
-
readonly 'house-requests': {
|
|
1472
|
-
readonly description: "The Routine Requests of one Room this User holds at the Keep level: each one waiting or started under `current` and the 50 that changed last under `history`. Each names its `routine` by `name` and `version`, the `target` User whose Agent it asks, the `agent` that took it, the `routine_access` and `record` it went through, the Users it was `approved_by` and `settled_by`, and when it was `created`, `approved`, `activated` and `settled`; a started one is `undelivered` while its Agent's computer has not taken it, which House hands it once that computer connects; a fact it does not hold is absent. Only the Agent’s owner sees a request’s conversation. A Room with no request has no such document.";
|
|
1473
|
-
readonly properties: {
|
|
1474
|
-
readonly reflected: {
|
|
1475
|
-
readonly type: 'string';
|
|
1476
|
-
readonly format: 'date-time';
|
|
1477
|
-
};
|
|
1478
|
-
readonly room: {
|
|
1479
|
-
readonly $ref: '#/$defs/room';
|
|
1480
|
-
};
|
|
1481
|
-
readonly current: {
|
|
1482
|
-
readonly type: 'array';
|
|
1483
|
-
readonly items: {
|
|
1484
|
-
readonly $ref: '#/$defs/request';
|
|
1485
|
-
};
|
|
1486
|
-
};
|
|
1487
|
-
readonly history: {
|
|
1488
|
-
readonly type: 'array';
|
|
1489
|
-
readonly items: {
|
|
1490
|
-
readonly $ref: '#/$defs/request';
|
|
1491
|
-
};
|
|
1492
|
-
};
|
|
1493
|
-
};
|
|
1494
|
-
readonly required: readonly ['reflected', 'room', 'current', 'history'];
|
|
1495
|
-
};
|
|
1496
|
-
readonly 'house-room': {
|
|
1497
|
-
readonly description: "One Room this User reads, with the processing configuration that indexes it. `my_room` is `true` on this User's My Room alone, whatever its name and handle become. `admission` is `pending` while House is still settling this User into the Room, which finishes on its own and needs no act. `access` is this User's access word in the Room, `owner`, `manage`, `edit`, `keep`, `open` or `search`, with `only_while_online` on a `manage` or `edit` held at the Open level; `level` is the access level they hold on its content, `search`, `open` or `keep`, and `operations` are their own on its content. `policy` is whether House indexes the Room's documents, `Off` while it withholds indexing. Each indexing entry names a folder `path` and the `policy` set on it. `shared_schema` names the Shared schema whose copy is the Room's schema while the Room uses one, with its `name`. The owner alone sees `ownership_offer`, the `nominee` it is offered to and when it `expires`, while an offer is open, and `public`, the time they made the Room public, while every House User may read it; a member who does not own it sees its `owner` by name. `roster` lists the Room's members, each with when they were `admitted`, their member `document` and the access level and operations a Room Share could offer them without giving them anything new as `held`; it and `rights` carry the access this User may see, every member's to one who manages the Room and their own otherwise; `routines` lists the Routine Accesses this User or the Room's Triggers may call in it, each with its `routine`, by `name`, `description`, `input` and `version`, its `agent` and that Agent's `owner` by name: `starts_without_approval` on one this User may call and `triggers: true` on one the Triggers may call.";
|
|
1498
|
-
readonly properties: {
|
|
1499
|
-
readonly reflected: {
|
|
1500
|
-
readonly type: 'string';
|
|
1501
|
-
readonly format: 'date-time';
|
|
1502
|
-
};
|
|
1503
|
-
readonly room: {
|
|
1504
|
-
readonly $ref: '#/$defs/room';
|
|
1505
|
-
};
|
|
1506
|
-
readonly handle: {
|
|
1507
|
-
readonly type: 'string';
|
|
1508
|
-
readonly minLength: 6;
|
|
1509
|
-
readonly maxLength: 63;
|
|
1510
|
-
readonly pattern: '^[a-z0-9]+(?:-[a-z0-9]+)*$';
|
|
1511
|
-
};
|
|
1512
|
-
readonly name: {
|
|
1513
|
-
readonly type: 'string';
|
|
1514
|
-
};
|
|
1515
|
-
readonly my_room: {
|
|
1516
|
-
readonly const: true;
|
|
1517
|
-
};
|
|
1518
|
-
readonly membership: {
|
|
1519
|
-
readonly enum: readonly ['owner', 'member'];
|
|
1520
|
-
};
|
|
1521
|
-
readonly ownership_offer: {
|
|
1522
|
-
readonly type: 'object';
|
|
1523
|
-
readonly additionalProperties: false;
|
|
1524
|
-
readonly properties: {
|
|
1525
|
-
readonly nominee: {
|
|
1526
|
-
readonly type: 'object';
|
|
1527
|
-
readonly additionalProperties: false;
|
|
1528
|
-
readonly properties: {
|
|
1529
|
-
readonly user: {
|
|
1530
|
-
readonly $ref: '#/$defs/id';
|
|
1531
|
-
};
|
|
1532
|
-
readonly name: {
|
|
1533
|
-
readonly type: 'string';
|
|
1534
|
-
};
|
|
1535
|
-
};
|
|
1536
|
-
readonly required: readonly ['user', 'name'];
|
|
1537
|
-
};
|
|
1538
|
-
readonly expires: {
|
|
1539
|
-
readonly type: 'string';
|
|
1540
|
-
readonly format: 'date-time';
|
|
1541
|
-
};
|
|
1542
|
-
};
|
|
1543
|
-
readonly required: readonly ['nominee', 'expires'];
|
|
1544
|
-
};
|
|
1545
|
-
readonly access: {
|
|
1546
|
-
readonly enum: readonly ['owner', 'manage', 'edit', 'keep', 'open', 'search'];
|
|
1547
|
-
};
|
|
1548
|
-
readonly level: {
|
|
1549
|
-
readonly enum: readonly ['search', 'open', 'keep'];
|
|
1550
|
-
};
|
|
1551
|
-
readonly only_while_online: {
|
|
1552
|
-
readonly const: true;
|
|
1553
|
-
};
|
|
1554
|
-
readonly operations: {
|
|
1555
|
-
readonly type: 'array';
|
|
1556
|
-
readonly items: {
|
|
1557
|
-
readonly type: 'string';
|
|
1558
|
-
readonly enum: readonly ['write', 'delete', 'export', 'manageAccess'];
|
|
1559
|
-
};
|
|
1560
|
-
};
|
|
1561
|
-
readonly owner: {
|
|
1562
|
-
readonly type: 'object';
|
|
1563
|
-
readonly additionalProperties: false;
|
|
1564
|
-
readonly properties: {
|
|
1565
|
-
readonly name: {
|
|
1566
|
-
readonly type: 'string';
|
|
1567
|
-
};
|
|
1568
|
-
};
|
|
1569
|
-
readonly required: readonly ['name'];
|
|
1570
|
-
};
|
|
1571
|
-
readonly members: {
|
|
1572
|
-
readonly type: 'integer';
|
|
1573
|
-
readonly minimum: 0;
|
|
1574
|
-
};
|
|
1575
|
-
readonly triggers: {
|
|
1576
|
-
readonly type: 'integer';
|
|
1577
|
-
readonly minimum: 0;
|
|
1578
|
-
};
|
|
1579
|
-
readonly published: {
|
|
1580
|
-
readonly enum: readonly ['yes', 'no'];
|
|
1581
|
-
};
|
|
1582
|
-
readonly intake: {
|
|
1583
|
-
readonly enum: readonly ['yes', 'no'];
|
|
1584
|
-
};
|
|
1585
|
-
readonly size: {
|
|
1586
|
-
readonly type: 'number';
|
|
1587
|
-
};
|
|
1588
|
-
readonly admission: {
|
|
1589
|
-
readonly enum: readonly ['admitted', 'pending'];
|
|
1590
|
-
};
|
|
1591
|
-
readonly created: {
|
|
1592
|
-
readonly type: 'string';
|
|
1593
|
-
readonly format: 'date-time';
|
|
1594
|
-
};
|
|
1595
|
-
readonly archived: {
|
|
1596
|
-
readonly type: 'string';
|
|
1597
|
-
readonly format: 'date-time';
|
|
1598
|
-
};
|
|
1599
|
-
readonly public: {
|
|
1600
|
-
readonly type: 'string';
|
|
1601
|
-
readonly format: 'date-time';
|
|
1602
|
-
};
|
|
1603
|
-
readonly policy: {
|
|
1604
|
-
readonly enum: readonly ['On', 'Off'];
|
|
1605
|
-
};
|
|
1606
|
-
readonly indexing: {
|
|
1607
|
-
readonly type: 'array';
|
|
1608
|
-
readonly items: {
|
|
1609
|
-
readonly type: 'object';
|
|
1610
|
-
readonly additionalProperties: false;
|
|
1611
|
-
readonly properties: {
|
|
1612
|
-
readonly path: {
|
|
1613
|
-
readonly type: 'string';
|
|
1614
|
-
readonly minLength: 1;
|
|
1615
|
-
};
|
|
1616
|
-
readonly policy: {
|
|
1617
|
-
readonly enum: readonly ['On', 'Off'];
|
|
1618
|
-
};
|
|
1619
|
-
};
|
|
1620
|
-
readonly required: readonly ['path', 'policy'];
|
|
1621
|
-
};
|
|
1622
|
-
};
|
|
1623
|
-
readonly shared_schema: {
|
|
1624
|
-
readonly type: 'object';
|
|
1625
|
-
readonly additionalProperties: false;
|
|
1626
|
-
readonly properties: {
|
|
1627
|
-
readonly shared_schema: {
|
|
1628
|
-
readonly $ref: '#/$defs/id';
|
|
1629
|
-
};
|
|
1630
|
-
readonly name: {
|
|
1631
|
-
readonly type: 'string';
|
|
1632
|
-
};
|
|
1633
|
-
};
|
|
1634
|
-
readonly required: readonly ['shared_schema', 'name'];
|
|
1635
|
-
};
|
|
1636
|
-
readonly roster: {
|
|
1637
|
-
readonly type: 'array';
|
|
1638
|
-
readonly items: {
|
|
1639
|
-
readonly type: 'object';
|
|
1640
|
-
readonly additionalProperties: false;
|
|
1641
|
-
readonly properties: {
|
|
1642
|
-
readonly user: {
|
|
1643
|
-
readonly $ref: '#/$defs/id';
|
|
1644
|
-
};
|
|
1645
|
-
readonly name: {
|
|
1646
|
-
readonly type: 'string';
|
|
1647
|
-
};
|
|
1648
|
-
readonly owner: {
|
|
1649
|
-
readonly type: 'boolean';
|
|
1650
|
-
};
|
|
1651
|
-
readonly email: {
|
|
1652
|
-
readonly type: 'string';
|
|
1653
|
-
};
|
|
1654
|
-
readonly admitted: {
|
|
1655
|
-
readonly type: 'string';
|
|
1656
|
-
readonly format: 'date-time';
|
|
1657
|
-
};
|
|
1658
|
-
readonly access: {
|
|
1659
|
-
readonly type: 'string';
|
|
1660
|
-
readonly enum: readonly ['owner', 'manage', 'edit', 'keep', 'open', 'search'];
|
|
1661
|
-
};
|
|
1662
|
-
readonly only_while_online: {
|
|
1663
|
-
readonly const: true;
|
|
1664
|
-
};
|
|
1665
|
-
readonly document: {
|
|
1666
|
-
readonly $ref: '#/$defs/document';
|
|
1667
|
-
};
|
|
1668
|
-
readonly schema_roles: {
|
|
1669
|
-
readonly type: 'array';
|
|
1670
|
-
readonly items: {
|
|
1671
|
-
readonly type: 'string';
|
|
1672
|
-
};
|
|
1673
|
-
};
|
|
1674
|
-
readonly held: {
|
|
1675
|
-
readonly type: 'object';
|
|
1676
|
-
readonly additionalProperties: false;
|
|
1677
|
-
readonly properties: {
|
|
1678
|
-
readonly level: {
|
|
1679
|
-
readonly anyOf: readonly [{
|
|
1680
|
-
readonly type: 'string';
|
|
1681
|
-
readonly enum: readonly ['search', 'open', 'keep'];
|
|
1682
|
-
}, {
|
|
1683
|
-
readonly type: 'null';
|
|
1684
|
-
}];
|
|
1685
|
-
};
|
|
1686
|
-
readonly operations: {
|
|
1687
|
-
readonly type: 'array';
|
|
1688
|
-
readonly items: {
|
|
1689
|
-
readonly type: 'string';
|
|
1690
|
-
readonly enum: readonly ['write', 'delete', 'export', 'manageAccess'];
|
|
1691
|
-
};
|
|
1692
|
-
};
|
|
1693
|
-
};
|
|
1694
|
-
readonly required: readonly ['level', 'operations'];
|
|
1695
|
-
};
|
|
1696
|
-
};
|
|
1697
|
-
readonly required: readonly ['user', 'name', 'owner', 'email'];
|
|
1698
|
-
};
|
|
1699
|
-
};
|
|
1700
|
-
readonly rights: {
|
|
1701
|
-
readonly type: 'array';
|
|
1702
|
-
readonly items: {
|
|
1703
|
-
readonly type: 'object';
|
|
1704
|
-
readonly additionalProperties: false;
|
|
1705
|
-
readonly properties: {
|
|
1706
|
-
readonly user: {
|
|
1707
|
-
readonly $ref: '#/$defs/id';
|
|
1708
|
-
};
|
|
1709
|
-
readonly name: {
|
|
1710
|
-
readonly type: 'string';
|
|
1711
|
-
};
|
|
1712
|
-
readonly entries: {
|
|
1713
|
-
readonly type: 'array';
|
|
1714
|
-
readonly items: {
|
|
1715
|
-
readonly type: 'object';
|
|
1716
|
-
readonly additionalProperties: false;
|
|
1717
|
-
readonly properties: {
|
|
1718
|
-
readonly namespace: {
|
|
1719
|
-
readonly $ref: '#/$defs/namespace';
|
|
1720
|
-
};
|
|
1721
|
-
readonly level: {
|
|
1722
|
-
readonly anyOf: readonly [{
|
|
1723
|
-
readonly type: 'string';
|
|
1724
|
-
readonly enum: readonly ['search', 'open', 'keep'];
|
|
1725
|
-
}, {
|
|
1726
|
-
readonly type: 'null';
|
|
1727
|
-
}];
|
|
1728
|
-
};
|
|
1729
|
-
readonly operations: {
|
|
1730
|
-
readonly type: 'array';
|
|
1731
|
-
readonly items: {
|
|
1732
|
-
readonly type: 'string';
|
|
1733
|
-
readonly enum: readonly ['write', 'delete', 'export', 'manageAccess'];
|
|
1734
|
-
};
|
|
1735
|
-
};
|
|
1736
|
-
readonly sources: {
|
|
1737
|
-
readonly type: 'array';
|
|
1738
|
-
readonly items: {
|
|
1739
|
-
readonly type: 'object';
|
|
1740
|
-
readonly additionalProperties: false;
|
|
1741
|
-
readonly properties: {
|
|
1742
|
-
readonly kind: {
|
|
1743
|
-
readonly type: 'string';
|
|
1744
|
-
readonly enum: readonly ['direct', 'inherited'];
|
|
1745
|
-
};
|
|
1746
|
-
readonly namespace: {
|
|
1747
|
-
readonly $ref: '#/$defs/namespace';
|
|
1748
|
-
};
|
|
1749
|
-
readonly level: {
|
|
1750
|
-
readonly anyOf: readonly [{
|
|
1751
|
-
readonly type: 'string';
|
|
1752
|
-
readonly enum: readonly ['search', 'open', 'keep'];
|
|
1753
|
-
}, {
|
|
1754
|
-
readonly type: 'null';
|
|
1755
|
-
}];
|
|
1756
|
-
};
|
|
1757
|
-
readonly operations: {
|
|
1758
|
-
readonly type: 'array';
|
|
1759
|
-
readonly items: {
|
|
1760
|
-
readonly type: 'string';
|
|
1761
|
-
readonly enum: readonly ['write', 'delete', 'export', 'manageAccess'];
|
|
1762
|
-
};
|
|
1763
|
-
};
|
|
1764
|
-
};
|
|
1765
|
-
readonly required: readonly ['kind', 'namespace', 'level', 'operations'];
|
|
1766
|
-
};
|
|
1767
|
-
};
|
|
1768
|
-
};
|
|
1769
|
-
readonly required: readonly ['namespace', 'level', 'operations', 'sources'];
|
|
1770
|
-
};
|
|
1771
|
-
};
|
|
1772
|
-
readonly direct: {
|
|
1773
|
-
readonly type: 'array';
|
|
1774
|
-
readonly items: {
|
|
1775
|
-
readonly type: 'object';
|
|
1776
|
-
readonly additionalProperties: false;
|
|
1777
|
-
readonly properties: {
|
|
1778
|
-
readonly namespace: {
|
|
1779
|
-
readonly $ref: '#/$defs/namespace';
|
|
1780
|
-
};
|
|
1781
|
-
readonly level: {
|
|
1782
|
-
readonly anyOf: readonly [{
|
|
1783
|
-
readonly type: 'string';
|
|
1784
|
-
readonly enum: readonly ['search', 'open', 'keep'];
|
|
1785
|
-
}, {
|
|
1786
|
-
readonly type: 'null';
|
|
1787
|
-
}];
|
|
1788
|
-
};
|
|
1789
|
-
readonly operations: {
|
|
1790
|
-
readonly type: 'array';
|
|
1791
|
-
readonly items: {
|
|
1792
|
-
readonly type: 'string';
|
|
1793
|
-
readonly enum: readonly ['write', 'delete', 'export', 'manageAccess'];
|
|
1794
|
-
};
|
|
1795
|
-
};
|
|
1796
|
-
};
|
|
1797
|
-
readonly required: readonly ['namespace', 'level', 'operations'];
|
|
1798
|
-
};
|
|
1799
|
-
};
|
|
1800
|
-
readonly admitted: {
|
|
1801
|
-
readonly type: 'string';
|
|
1802
|
-
readonly format: 'date-time';
|
|
1803
|
-
};
|
|
1804
|
-
readonly schema_roles: {
|
|
1805
|
-
readonly type: 'array';
|
|
1806
|
-
readonly items: {
|
|
1807
|
-
readonly type: 'string';
|
|
1808
|
-
};
|
|
1809
|
-
};
|
|
1810
|
-
};
|
|
1811
|
-
readonly required: readonly ['user', 'name', 'entries', 'direct', 'schema_roles'];
|
|
1812
|
-
};
|
|
1813
|
-
};
|
|
1814
|
-
readonly routines: {
|
|
1815
|
-
readonly type: 'array';
|
|
1816
|
-
readonly items: {
|
|
1817
|
-
readonly type: 'object';
|
|
1818
|
-
readonly additionalProperties: false;
|
|
1819
|
-
readonly properties: {
|
|
1820
|
-
readonly routine_access: {
|
|
1821
|
-
readonly $ref: '#/$defs/id';
|
|
1822
|
-
};
|
|
1823
|
-
readonly agent: {
|
|
1824
|
-
readonly $ref: '#/$defs/id';
|
|
1825
|
-
};
|
|
1826
|
-
readonly owner: {
|
|
1827
|
-
readonly type: 'object';
|
|
1828
|
-
readonly additionalProperties: false;
|
|
1829
|
-
readonly properties: {
|
|
1830
|
-
readonly name: {
|
|
1831
|
-
readonly type: 'string';
|
|
1832
|
-
};
|
|
1833
|
-
};
|
|
1834
|
-
readonly required: readonly ['name'];
|
|
1835
|
-
};
|
|
1836
|
-
readonly routine: {
|
|
1837
|
-
readonly type: 'object';
|
|
1838
|
-
readonly additionalProperties: false;
|
|
1839
|
-
readonly properties: {
|
|
1840
|
-
readonly name: {
|
|
1841
|
-
readonly type: 'string';
|
|
1842
|
-
};
|
|
1843
|
-
readonly description: {
|
|
1844
|
-
readonly type: 'string';
|
|
1845
|
-
};
|
|
1846
|
-
readonly input: {
|
|
1847
|
-
readonly type: 'string';
|
|
1848
|
-
};
|
|
1849
|
-
readonly version: {
|
|
1850
|
-
readonly type: 'integer';
|
|
1851
|
-
readonly exclusiveMinimum: 0;
|
|
1852
|
-
};
|
|
1853
|
-
};
|
|
1854
|
-
readonly required: readonly ['name', 'description', 'input', 'version'];
|
|
1855
|
-
};
|
|
1856
|
-
readonly starts_without_approval: {
|
|
1857
|
-
readonly type: 'boolean';
|
|
1858
|
-
};
|
|
1859
|
-
readonly triggers: {
|
|
1860
|
-
readonly type: 'boolean';
|
|
1861
|
-
readonly const: true;
|
|
1862
|
-
};
|
|
1863
|
-
};
|
|
1864
|
-
readonly required: readonly ['routine_access', 'agent', 'owner', 'routine'];
|
|
1865
|
-
};
|
|
1866
|
-
};
|
|
1867
|
-
};
|
|
1868
|
-
readonly required: readonly ['reflected', 'room', 'name', 'membership', 'access', 'admission', 'created', 'policy'];
|
|
1869
|
-
};
|
|
1870
|
-
readonly 'house-routine-access': {
|
|
1871
|
-
readonly description: "One Routine Access this User granted, its `routine` by identifier and `name`, the `agent` it calls, its `room` and when it was `created`. While a scope is `selected_users`, each invokers or starters entry names one `user` by identifier with their account `email` and display `name` as of the last write of this document, or by identifier alone once that User has left the Room. An entry naming the Access's `room` admits the Room's Triggers as a caller, or lets them start without approval, whatever the scope. `last_failure` is the latest withdrawn request, whatever starts after it: its `origin`, `user` or `trigger`, its time `at` and its `reason`.";
|
|
1872
|
-
readonly properties: {
|
|
1873
|
-
readonly reflected: {
|
|
1874
|
-
readonly type: 'string';
|
|
1875
|
-
readonly format: 'date-time';
|
|
1876
|
-
};
|
|
1877
|
-
readonly routine_access: {
|
|
1878
|
-
readonly $ref: '#/$defs/id';
|
|
1879
|
-
};
|
|
1880
|
-
readonly routine: {
|
|
1881
|
-
readonly type: 'object';
|
|
1882
|
-
readonly additionalProperties: false;
|
|
1883
|
-
readonly properties: {
|
|
1884
|
-
readonly routine: {
|
|
1885
|
-
readonly $ref: '#/$defs/id';
|
|
1886
|
-
};
|
|
1887
|
-
readonly name: {
|
|
1888
|
-
readonly type: 'string';
|
|
1889
|
-
};
|
|
1890
|
-
};
|
|
1891
|
-
readonly required: readonly ['routine', 'name'];
|
|
1892
|
-
};
|
|
1893
|
-
readonly agent: {
|
|
1894
|
-
readonly $ref: '#/$defs/id';
|
|
1895
|
-
};
|
|
1896
|
-
readonly room: {
|
|
1897
|
-
readonly $ref: '#/$defs/room';
|
|
1898
|
-
};
|
|
1899
|
-
readonly invoker_scope: {
|
|
1900
|
-
readonly type: 'string';
|
|
1901
|
-
readonly enum: readonly ['all_members', 'selected_users'];
|
|
1902
|
-
};
|
|
1903
|
-
readonly start_scope: {
|
|
1904
|
-
readonly type: 'string';
|
|
1905
|
-
readonly enum: readonly ['none', 'all_admitted', 'selected_users'];
|
|
1906
|
-
};
|
|
1907
|
-
readonly created: {
|
|
1908
|
-
readonly type: 'string';
|
|
1909
|
-
readonly format: 'date-time';
|
|
1910
|
-
};
|
|
1911
|
-
readonly revoked: {
|
|
1912
|
-
readonly type: 'string';
|
|
1913
|
-
readonly format: 'date-time';
|
|
1914
|
-
};
|
|
1915
|
-
readonly invokers: {
|
|
1916
|
-
readonly type: 'array';
|
|
1917
|
-
readonly items: {
|
|
1918
|
-
readonly $ref: '#/$defs/caller';
|
|
1919
|
-
};
|
|
1920
|
-
};
|
|
1921
|
-
readonly starters: {
|
|
1922
|
-
readonly type: 'array';
|
|
1923
|
-
readonly items: {
|
|
1924
|
-
readonly $ref: '#/$defs/caller';
|
|
1925
|
-
};
|
|
1926
|
-
};
|
|
1927
|
-
readonly last_failure: {
|
|
1928
|
-
readonly type: 'object';
|
|
1929
|
-
readonly additionalProperties: false;
|
|
1930
|
-
readonly properties: {
|
|
1931
|
-
readonly origin: {
|
|
1932
|
-
readonly enum: readonly ['user', 'trigger'];
|
|
1933
|
-
};
|
|
1934
|
-
readonly at: {
|
|
1935
|
-
readonly type: 'string';
|
|
1936
|
-
readonly format: 'date-time';
|
|
1937
|
-
};
|
|
1938
|
-
readonly reason: {
|
|
1939
|
-
readonly type: 'string';
|
|
1940
|
-
};
|
|
1941
|
-
};
|
|
1942
|
-
readonly required: readonly ['origin', 'at', 'reason'];
|
|
1943
|
-
};
|
|
1944
|
-
};
|
|
1945
|
-
readonly required: readonly ['reflected', 'routine_access', 'routine', 'agent', 'room', 'invoker_scope', 'start_scope', 'created'];
|
|
1946
|
-
};
|
|
1947
|
-
readonly 'house-routine': {
|
|
1948
|
-
readonly description: "One Routine that serves this Room, which House alone writes from its owner's document in their Private Room: the `routine` by identifier, its `description`, the `input` a caller sends, empty when it takes nothing, and the `agent` it starts, by `agent` and the `name` that Agent had when this card was last written. The Routine's instruction is never written here.";
|
|
1949
|
-
readonly properties: {
|
|
1950
|
-
readonly reflected: {
|
|
1951
|
-
readonly type: 'string';
|
|
1952
|
-
readonly format: 'date-time';
|
|
1953
|
-
};
|
|
1954
|
-
readonly routine: {
|
|
1955
|
-
readonly $ref: '#/$defs/id';
|
|
48
|
+
readonly enum: readonly ['share-offer', 'join-request', 'join-request-approved', 'room-ownership-offer', 'managed-environment-retention-opened', 'storage-full', 'sandbox-budget-spent', 'break-glass-owner-disclosure', 'export-ready', 'export-failed', 'custom'];
|
|
1956
49
|
};
|
|
1957
|
-
readonly
|
|
50
|
+
readonly created: {
|
|
1958
51
|
readonly type: 'string';
|
|
52
|
+
readonly format: 'date-time';
|
|
1959
53
|
};
|
|
1960
|
-
readonly
|
|
54
|
+
readonly read: {
|
|
1961
55
|
readonly type: 'string';
|
|
56
|
+
readonly format: 'date-time';
|
|
1962
57
|
};
|
|
1963
|
-
readonly
|
|
58
|
+
readonly way_in: {
|
|
1964
59
|
readonly type: 'object';
|
|
1965
60
|
readonly additionalProperties: false;
|
|
1966
61
|
readonly properties: {
|
|
1967
|
-
readonly
|
|
62
|
+
readonly path: {
|
|
63
|
+
readonly type: 'string';
|
|
64
|
+
readonly pattern: '^\\/';
|
|
65
|
+
};
|
|
66
|
+
readonly room: {
|
|
67
|
+
readonly $ref: '#/$defs/room';
|
|
68
|
+
};
|
|
69
|
+
readonly environment: {
|
|
1968
70
|
readonly $ref: '#/$defs/id';
|
|
1969
71
|
};
|
|
1970
|
-
readonly
|
|
1971
|
-
readonly
|
|
72
|
+
readonly trigger: {
|
|
73
|
+
readonly $ref: '#/$defs/id';
|
|
1972
74
|
};
|
|
1973
75
|
};
|
|
1974
|
-
readonly
|
|
76
|
+
readonly minProperties: 1;
|
|
1975
77
|
};
|
|
1976
|
-
|
|
1977
|
-
readonly required: readonly ['reflected', 'routine', 'description', 'input', 'agent'];
|
|
1978
|
-
};
|
|
1979
|
-
readonly 'house-service-key': {
|
|
1980
|
-
readonly description: "One Service key a Room this User owns or manages holds, never the key itself: its `room`, its `name`, the one `origin` House sends it to, the `form` it is sent in, its `kind` with the header or query parameter `name` or the path `prefix`, and the address of its origin's icon once House kept one.";
|
|
1981
|
-
readonly properties: {
|
|
1982
|
-
readonly reflected: {
|
|
78
|
+
readonly subject: {
|
|
1983
79
|
readonly type: 'string';
|
|
1984
|
-
readonly format: 'date-time';
|
|
1985
80
|
};
|
|
1986
|
-
readonly
|
|
81
|
+
readonly share: {
|
|
1987
82
|
readonly $ref: '#/$defs/id';
|
|
1988
83
|
};
|
|
1989
|
-
readonly
|
|
1990
|
-
readonly $ref: '#/$defs/room';
|
|
1991
|
-
};
|
|
1992
|
-
readonly name: {
|
|
1993
|
-
readonly type: 'string';
|
|
1994
|
-
};
|
|
1995
|
-
readonly origin: {
|
|
1996
|
-
readonly type: 'string';
|
|
1997
|
-
readonly format: 'uri';
|
|
1998
|
-
};
|
|
1999
|
-
readonly form: {
|
|
84
|
+
readonly issuer: {
|
|
2000
85
|
readonly type: 'object';
|
|
2001
86
|
readonly additionalProperties: false;
|
|
2002
87
|
readonly properties: {
|
|
2003
|
-
readonly kind: {
|
|
2004
|
-
readonly enum: readonly ['bearer', 'header', 'query', 'basic', 'path'];
|
|
2005
|
-
};
|
|
2006
88
|
readonly name: {
|
|
2007
89
|
readonly type: 'string';
|
|
2008
90
|
};
|
|
2009
|
-
readonly
|
|
91
|
+
readonly email: {
|
|
2010
92
|
readonly type: 'string';
|
|
93
|
+
readonly format: 'email';
|
|
2011
94
|
};
|
|
2012
95
|
};
|
|
2013
|
-
readonly required: readonly ['
|
|
2014
|
-
};
|
|
2015
|
-
readonly icon: {
|
|
2016
|
-
readonly type: 'string';
|
|
2017
|
-
readonly pattern: '^\\/service-keys\\/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\\/icon$';
|
|
2018
|
-
};
|
|
2019
|
-
};
|
|
2020
|
-
readonly required: readonly ['reflected', 'service_key', 'room', 'name', 'origin', 'form'];
|
|
2021
|
-
};
|
|
2022
|
-
readonly 'house-share': {
|
|
2023
|
-
readonly description: "One Share this User issued, kept until it expires or is cancelled. An email delivery carries `share_to`, the address this User entered, and `invited` `true` while that address has no account, so House sent it an invitation email; a link delivery never carries the link. Each item names its `kind`, `room` or `app`, the Room or App under that key with its `name`, its `state`, `offerable`, `held`, `accepted`, `declined`, `superseded` or `ended`, an item the accepted Share could not give being `ended` with its `cause`, `offer_changed` when the recipient's access changed before it was given or `manage_access_lost` when this User no longer managed it, for a Room item the `level` it grants, the `operations` it grants as this User chose them, the access word they earn as `access`, `manage`, `edit`, `keep`, `open` or `search`, with `only_while_online` on a `manage` or `edit` at the Open level, and the Schema Roles its member gets as `roles` when it names any, and for an App item the external `origins` its latest release declared when this document was written, when it declared any. An App item is never shown `held`. Each pack entry names an App item's `app`, one of its `slot`s, and the `room` of the Room item that fills it, with that Room's `name`. Each `join_requests` entry of a link delivery names one Join request, its `state`, `waiting`, `approved` or `declined`, and the User it is `from` by account `email` and display `name` as House held them when this document was written, oldest first; the House approval path of a Join request is `/approve/` followed by its identifier.";
|
|
2024
|
-
readonly properties: {
|
|
2025
|
-
readonly reflected: {
|
|
2026
|
-
readonly type: 'string';
|
|
2027
|
-
readonly format: 'date-time';
|
|
2028
|
-
};
|
|
2029
|
-
readonly share: {
|
|
2030
|
-
readonly $ref: '#/$defs/id';
|
|
2031
|
-
};
|
|
2032
|
-
readonly share_link: {
|
|
2033
|
-
readonly enum: readonly ['yes', 'no'];
|
|
2034
|
-
};
|
|
2035
|
-
readonly share_to: {
|
|
2036
|
-
readonly type: 'string';
|
|
2037
|
-
readonly format: 'email';
|
|
2038
|
-
};
|
|
2039
|
-
readonly invited: {
|
|
2040
|
-
readonly const: true;
|
|
96
|
+
readonly required: readonly ['name', 'email'];
|
|
2041
97
|
};
|
|
2042
|
-
readonly
|
|
98
|
+
readonly rooms: {
|
|
2043
99
|
readonly type: 'array';
|
|
2044
100
|
readonly items: {
|
|
2045
101
|
readonly type: 'object';
|
|
2046
102
|
readonly additionalProperties: false;
|
|
2047
103
|
readonly properties: {
|
|
2048
|
-
readonly kind: {
|
|
2049
|
-
readonly enum: readonly ['room', 'app'];
|
|
2050
|
-
};
|
|
2051
104
|
readonly name: {
|
|
2052
105
|
readonly type: 'string';
|
|
2053
106
|
};
|
|
2054
|
-
readonly state: {
|
|
2055
|
-
readonly enum: readonly ['offerable', 'held', 'accepted', 'declined', 'superseded', 'ended'];
|
|
2056
|
-
};
|
|
2057
|
-
readonly cause: {
|
|
2058
|
-
readonly enum: readonly ['offer_changed', 'manage_access_lost'];
|
|
2059
|
-
};
|
|
2060
|
-
readonly level: {
|
|
2061
|
-
readonly enum: readonly ['search', 'open', 'keep'];
|
|
2062
|
-
};
|
|
2063
|
-
readonly operations: {
|
|
2064
|
-
readonly type: 'array';
|
|
2065
|
-
readonly items: {
|
|
2066
|
-
readonly type: 'string';
|
|
2067
|
-
readonly enum: readonly ['write', 'delete', 'export', 'manageAccess'];
|
|
2068
|
-
};
|
|
2069
|
-
};
|
|
2070
|
-
readonly access: {
|
|
2071
|
-
readonly enum: readonly ['manage', 'edit', 'keep', 'open', 'search'];
|
|
2072
|
-
};
|
|
2073
|
-
readonly only_while_online: {
|
|
2074
|
-
readonly const: true;
|
|
2075
|
-
};
|
|
2076
|
-
readonly roles: {
|
|
2077
|
-
readonly type: 'array';
|
|
2078
|
-
readonly items: {
|
|
2079
|
-
readonly type: 'string';
|
|
2080
|
-
};
|
|
2081
|
-
};
|
|
2082
|
-
readonly origins: {
|
|
2083
|
-
readonly type: 'array';
|
|
2084
|
-
readonly items: {
|
|
2085
|
-
readonly type: 'string';
|
|
2086
|
-
readonly format: 'uri';
|
|
2087
|
-
};
|
|
2088
|
-
};
|
|
2089
|
-
readonly room: {
|
|
2090
|
-
readonly $ref: '#/$defs/room';
|
|
2091
|
-
};
|
|
2092
|
-
readonly app: {
|
|
2093
|
-
readonly $ref: '#/$defs/app';
|
|
2094
|
-
};
|
|
2095
107
|
};
|
|
2096
|
-
readonly required: readonly ['
|
|
108
|
+
readonly required: readonly ['name'];
|
|
2097
109
|
};
|
|
2098
110
|
};
|
|
2099
|
-
readonly
|
|
111
|
+
readonly apps: {
|
|
112
|
+
readonly maxItems: 20;
|
|
2100
113
|
readonly type: 'array';
|
|
2101
114
|
readonly items: {
|
|
2102
115
|
readonly type: 'object';
|
|
2103
116
|
readonly additionalProperties: false;
|
|
2104
117
|
readonly properties: {
|
|
2105
|
-
readonly
|
|
2106
|
-
readonly $ref: '#/$defs/app';
|
|
2107
|
-
};
|
|
2108
|
-
readonly slot: {
|
|
118
|
+
readonly name: {
|
|
2109
119
|
readonly type: 'string';
|
|
2110
|
-
readonly
|
|
2111
|
-
|
|
2112
|
-
readonly room: {
|
|
2113
|
-
readonly type: 'object';
|
|
2114
|
-
readonly additionalProperties: false;
|
|
2115
|
-
readonly properties: {
|
|
2116
|
-
readonly room: {
|
|
2117
|
-
readonly $ref: '#/$defs/room';
|
|
2118
|
-
};
|
|
2119
|
-
readonly name: {
|
|
2120
|
-
readonly type: 'string';
|
|
2121
|
-
};
|
|
2122
|
-
};
|
|
2123
|
-
readonly required: readonly ['room', 'name'];
|
|
2124
|
-
};
|
|
2125
|
-
};
|
|
2126
|
-
readonly required: readonly ['app', 'slot', 'room'];
|
|
2127
|
-
};
|
|
2128
|
-
};
|
|
2129
|
-
readonly join_requests: {
|
|
2130
|
-
readonly type: 'array';
|
|
2131
|
-
readonly items: {
|
|
2132
|
-
readonly type: 'object';
|
|
2133
|
-
readonly additionalProperties: false;
|
|
2134
|
-
readonly properties: {
|
|
2135
|
-
readonly join_request: {
|
|
2136
|
-
readonly $ref: '#/$defs/id';
|
|
2137
|
-
};
|
|
2138
|
-
readonly state: {
|
|
2139
|
-
readonly enum: readonly ['waiting', 'approved', 'declined'];
|
|
120
|
+
readonly minLength: 1;
|
|
121
|
+
readonly maxLength: 200;
|
|
2140
122
|
};
|
|
2141
|
-
readonly
|
|
2142
|
-
readonly type: '
|
|
2143
|
-
readonly
|
|
2144
|
-
|
|
2145
|
-
readonly
|
|
2146
|
-
|
|
2147
|
-
};
|
|
2148
|
-
readonly name: {
|
|
2149
|
-
readonly type: 'string';
|
|
2150
|
-
};
|
|
123
|
+
readonly reaches: {
|
|
124
|
+
readonly type: 'array';
|
|
125
|
+
readonly items: {
|
|
126
|
+
readonly type: 'string';
|
|
127
|
+
readonly minLength: 1;
|
|
128
|
+
readonly maxLength: 512;
|
|
2151
129
|
};
|
|
2152
|
-
readonly required: readonly ['email', 'name'];
|
|
2153
130
|
};
|
|
2154
131
|
};
|
|
2155
|
-
readonly required: readonly ['
|
|
132
|
+
readonly required: readonly ['name', 'reaches'];
|
|
2156
133
|
};
|
|
2157
134
|
};
|
|
2158
|
-
readonly
|
|
2159
|
-
readonly type: 'string';
|
|
2160
|
-
readonly format: 'date-time';
|
|
2161
|
-
};
|
|
2162
|
-
readonly expires: {
|
|
2163
|
-
readonly type: 'string';
|
|
2164
|
-
readonly format: 'date-time';
|
|
2165
|
-
};
|
|
2166
|
-
};
|
|
2167
|
-
readonly required: readonly ['reflected', 'share', 'share_link', 'created', 'expires'];
|
|
2168
|
-
};
|
|
2169
|
-
readonly 'house-share-offer': {
|
|
2170
|
-
readonly description: "One live Share offered to this User by email while an item of it is still offered, `from` its issuer by display `name` and account `email`. Each item names its `kind`, `room` or `app`, its `name`, its `state` for this User, `offerable`, `held`, `accepted`, `declined`, `superseded` or `ended`, an item the accepted Share could not give being `ended` with its `cause`, `offer_changed` when this User's access changed before it was given or `manage_access_lost` when its issuer no longer managed it, for a Room item the `level` it grants, the `operations` it grants and the access word they earn as `access`, `manage`, `edit`, `keep`, `open` or `search`, with `only_while_online` on a `manage` or `edit` at the Open level; it carries no reference. A Room item's access level and operations are the ones its issuer chose for the Room's content; its holder reads the Room's settings at that level, and holds `manageAccess` over its document model when it names `manageAccess`. A Room item naming Schema Roles names them as `roles`, which accepting the Share adds to this User's own in that Room. An App item grants use of the App and never its source, is never shown `held`, and names as `origins` the external origins its latest release declared when this document was written, when it declared any, which accepting the Share lets its code reach. Each pack entry names an offered `app`, one of its `slot`s, and the offered `room` that fills it, each by `name`. Names are as House held them when this document was written. The page is the House approval path where this User accepts or declines the whole Share.";
|
|
2171
|
-
readonly properties: {
|
|
2172
|
-
readonly reflected: {
|
|
135
|
+
readonly expires_at: {
|
|
2173
136
|
readonly type: 'string';
|
|
2174
137
|
readonly format: 'date-time';
|
|
2175
138
|
};
|
|
2176
|
-
readonly
|
|
139
|
+
readonly join_request: {
|
|
2177
140
|
readonly $ref: '#/$defs/id';
|
|
2178
141
|
};
|
|
2179
|
-
readonly
|
|
142
|
+
readonly user: {
|
|
2180
143
|
readonly type: 'object';
|
|
2181
144
|
readonly additionalProperties: false;
|
|
2182
145
|
readonly properties: {
|
|
@@ -2190,366 +153,213 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
2190
153
|
};
|
|
2191
154
|
readonly required: readonly ['name', 'email'];
|
|
2192
155
|
};
|
|
2193
|
-
readonly
|
|
2194
|
-
readonly type: '
|
|
2195
|
-
readonly
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
readonly
|
|
2201
|
-
|
|
2202
|
-
readonly properties: {
|
|
2203
|
-
readonly kind: {
|
|
2204
|
-
readonly enum: readonly ['room', 'app'];
|
|
2205
|
-
};
|
|
2206
|
-
readonly name: {
|
|
2207
|
-
readonly type: 'string';
|
|
2208
|
-
};
|
|
2209
|
-
readonly state: {
|
|
2210
|
-
readonly enum: readonly ['offerable', 'held', 'accepted', 'declined', 'superseded', 'ended'];
|
|
2211
|
-
};
|
|
2212
|
-
readonly cause: {
|
|
2213
|
-
readonly enum: readonly ['offer_changed', 'manage_access_lost'];
|
|
2214
|
-
};
|
|
2215
|
-
readonly level: {
|
|
2216
|
-
readonly enum: readonly ['search', 'open', 'keep'];
|
|
2217
|
-
};
|
|
2218
|
-
readonly operations: {
|
|
2219
|
-
readonly type: 'array';
|
|
2220
|
-
readonly items: {
|
|
2221
|
-
readonly type: 'string';
|
|
2222
|
-
readonly enum: readonly ['write', 'delete', 'export', 'manageAccess'];
|
|
2223
|
-
};
|
|
2224
|
-
};
|
|
2225
|
-
readonly access: {
|
|
2226
|
-
readonly enum: readonly ['manage', 'edit', 'keep', 'open', 'search'];
|
|
2227
|
-
};
|
|
2228
|
-
readonly only_while_online: {
|
|
2229
|
-
readonly const: true;
|
|
2230
|
-
};
|
|
2231
|
-
readonly roles: {
|
|
2232
|
-
readonly type: 'array';
|
|
2233
|
-
readonly items: {
|
|
2234
|
-
readonly type: 'string';
|
|
2235
|
-
};
|
|
2236
|
-
};
|
|
2237
|
-
readonly origins: {
|
|
2238
|
-
readonly type: 'array';
|
|
2239
|
-
readonly items: {
|
|
2240
|
-
readonly type: 'string';
|
|
2241
|
-
readonly format: 'uri';
|
|
2242
|
-
};
|
|
2243
|
-
};
|
|
156
|
+
readonly room: {
|
|
157
|
+
readonly type: 'object';
|
|
158
|
+
readonly additionalProperties: false;
|
|
159
|
+
readonly properties: {
|
|
160
|
+
readonly room: {
|
|
161
|
+
readonly $ref: '#/$defs/room';
|
|
162
|
+
};
|
|
163
|
+
readonly name: {
|
|
164
|
+
readonly type: 'string';
|
|
2244
165
|
};
|
|
2245
|
-
readonly required: readonly ['kind', 'name', 'state', 'operations'];
|
|
2246
166
|
};
|
|
167
|
+
readonly minProperties: 1;
|
|
2247
168
|
};
|
|
2248
|
-
readonly
|
|
2249
|
-
readonly type: '
|
|
2250
|
-
readonly
|
|
2251
|
-
|
|
2252
|
-
readonly
|
|
2253
|
-
|
|
2254
|
-
readonly app: {
|
|
2255
|
-
readonly type: 'object';
|
|
2256
|
-
readonly additionalProperties: false;
|
|
2257
|
-
readonly properties: {
|
|
2258
|
-
readonly name: {
|
|
2259
|
-
readonly type: 'string';
|
|
2260
|
-
};
|
|
2261
|
-
};
|
|
2262
|
-
readonly required: readonly ['name'];
|
|
2263
|
-
};
|
|
2264
|
-
readonly slot: {
|
|
2265
|
-
readonly type: 'string';
|
|
2266
|
-
readonly pattern: '^[a-z0-9]([a-z0-9-]*[a-z0-9])?$';
|
|
2267
|
-
};
|
|
2268
|
-
readonly room: {
|
|
2269
|
-
readonly type: 'object';
|
|
2270
|
-
readonly additionalProperties: false;
|
|
2271
|
-
readonly properties: {
|
|
2272
|
-
readonly name: {
|
|
2273
|
-
readonly type: 'string';
|
|
2274
|
-
};
|
|
2275
|
-
};
|
|
2276
|
-
readonly required: readonly ['name'];
|
|
2277
|
-
};
|
|
169
|
+
readonly app: {
|
|
170
|
+
readonly type: 'object';
|
|
171
|
+
readonly additionalProperties: false;
|
|
172
|
+
readonly properties: {
|
|
173
|
+
readonly app: {
|
|
174
|
+
readonly $ref: '#/$defs/app';
|
|
2278
175
|
};
|
|
2279
|
-
readonly required: readonly ['app', 'slot', 'room'];
|
|
2280
176
|
};
|
|
177
|
+
readonly required: readonly ['app'];
|
|
2281
178
|
};
|
|
2282
|
-
readonly
|
|
2283
|
-
readonly type: 'string';
|
|
2284
|
-
readonly format: 'date-time';
|
|
2285
|
-
};
|
|
2286
|
-
readonly expires: {
|
|
2287
|
-
readonly type: 'string';
|
|
2288
|
-
readonly format: 'date-time';
|
|
2289
|
-
};
|
|
2290
|
-
};
|
|
2291
|
-
readonly required: readonly ['reflected', 'share', 'from', 'page', 'created', 'expires'];
|
|
2292
|
-
};
|
|
2293
|
-
readonly 'house-site': {
|
|
2294
|
-
readonly description: "One Site this User owns: its `name`, its address under this environment's Site suffix, its own `app`, the tab icon it shows, the one this User set for the Site while `tab_icon_from` is `site` and that App's while it is `app`, the running `release` of that App, which the Site serves, by `release` and `sequence`, its title and `intake_room`, the Intake Room by its `room`, whether an operator disabled it, its mode, and every Room slot of that release in its order. Each slot names its `slot` and as `entries` each Room its list holds, in list order, by its `room`, with that entry's address `segment` and the last `compatibility` outcome of that entry; a slot that lists no Room has no entry. Each finding names its `slot`, its `room` and one exact structural `finding` of that Room against the slot. An incompatible entry stays listed and blocks nothing. `release` is absent until that App's first release. `disabled` is `yes` while an operator holds the Site disabled, and `disabled_reason` carries the reason the operator stated; visitors then find the Site unavailable, this User may still change or delete it, and only an operator enables it again. `mode` is `snapshot` while visitors see the Published Snapshot `publication` names, or `live` while they see what its Rooms hold as it changes, which needs Full House; only this User changes it. `unpublished` is `yes` while this User holds the Site unpublished: visitors then find it unavailable at every address and nothing else changes, and only this User's republication serves it again; an operator's enable never does. `suspended` is `yes` while visitors find the Site unavailable at every address for the reason `suspended_reason` names: `full_house_required` while the Site is `live` and this User lacks Full House, or `public_delivery_limit` while what House's server sent for this User's Sites this UTC month has reached this User's Public delivery limit, unless `public_overage` is `on` while this User holds Full House. A suspension keeps the publication, the addresses, the Custom domains and every act of this User's, and ends by itself at the next UTC month, when this User gains Full House or when `public_overage` turns `on` while this User holds Full House; it lifts no Unpublish and no operator's disable. `public_overage` is `on` while this User keeps the Site serving past the Public delivery limit, which it does only while this User holds Full House; what it sends past the limit is charged as overage. It stays `on` when Full House ends and acts again when Full House returns, and is absent on a Building that offers no Public overage. `publication` is the Published Snapshot the Site serves, or serves once republished, absent while it holds none. `acts` names the publication acts this User may take now: `unpublish` while the Site is published, `republish` while it is unpublished and holds a publication to serve; Publish data also serves an unpublished Site again, with what its Rooms hold. A cleared title is absent. `description` carries presentation. `screenshot` is the address of the image House captured of the Site at its primary address after a release, which a shared link to the Site shows, absent before the first capture. `analytics` is the owner's measurement ID the Site loads its analytics tag with, absent while unset. `indexing` is the search-engines-and-agents switch: while it is `yes`, the Site serves its documents as Markdown and lists them in its indexes. `entry_fallback` names the last time this release's Entry Data Contract could not serve an Entry Page as HTML: its `cause` (`over_bound`, `query_refused` or `unavailable`), the `route` and when it was `recorded`; that page then started the App as usual. `external_origins` names the declared external origins of that release. `notify_me` is `on` while the Site's notification Trigger is present and enabled in its Intake Room. `addresses` lists every address the Site answers at: its address under the Site suffix and each active Custom domain; every address other than `primary_address` redirects to it. Each `domains` entry names one Custom domain's `host`, its `state`, `pending`, `active` or `failed`, the DNS alias target its hostname must point at as `dns_target`, which is this environment's and the same for every domain, and the edge's `reason` when it gives one.";
|
|
2295
|
-
readonly properties: {
|
|
2296
|
-
readonly reflected: {
|
|
2297
|
-
readonly type: 'string';
|
|
2298
|
-
readonly format: 'date-time';
|
|
2299
|
-
};
|
|
2300
|
-
readonly site: {
|
|
179
|
+
readonly ownership_offer: {
|
|
2301
180
|
readonly $ref: '#/$defs/id';
|
|
2302
181
|
};
|
|
2303
|
-
readonly
|
|
2304
|
-
readonly type: '
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
readonly type: 'string';
|
|
2314
|
-
readonly format: 'uri';
|
|
2315
|
-
};
|
|
2316
|
-
};
|
|
2317
|
-
readonly primary_address: {
|
|
2318
|
-
readonly type: 'string';
|
|
2319
|
-
readonly format: 'uri';
|
|
2320
|
-
};
|
|
2321
|
-
readonly domains: {
|
|
2322
|
-
readonly type: 'array';
|
|
2323
|
-
readonly items: {
|
|
2324
|
-
readonly type: 'object';
|
|
2325
|
-
readonly additionalProperties: false;
|
|
2326
|
-
readonly properties: {
|
|
2327
|
-
readonly host: {
|
|
2328
|
-
readonly type: 'string';
|
|
2329
|
-
};
|
|
2330
|
-
readonly state: {
|
|
2331
|
-
readonly enum: readonly ['pending', 'active', 'failed'];
|
|
2332
|
-
};
|
|
2333
|
-
readonly dns_target: {
|
|
2334
|
-
readonly type: 'string';
|
|
2335
|
-
};
|
|
2336
|
-
readonly reason: {
|
|
2337
|
-
readonly type: 'string';
|
|
2338
|
-
};
|
|
182
|
+
readonly offerer: {
|
|
183
|
+
readonly type: 'object';
|
|
184
|
+
readonly additionalProperties: false;
|
|
185
|
+
readonly properties: {
|
|
186
|
+
readonly name: {
|
|
187
|
+
readonly type: 'string';
|
|
188
|
+
};
|
|
189
|
+
readonly email: {
|
|
190
|
+
readonly type: 'string';
|
|
191
|
+
readonly format: 'email';
|
|
2339
192
|
};
|
|
2340
|
-
readonly required: readonly ['host', 'state', 'dns_target'];
|
|
2341
193
|
};
|
|
194
|
+
readonly required: readonly ['name', 'email'];
|
|
2342
195
|
};
|
|
2343
|
-
readonly
|
|
2344
|
-
readonly
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
readonly items: {
|
|
2357
|
-
readonly type: 'string';
|
|
2358
|
-
readonly pattern: '^#[0-9a-f]{6}$';
|
|
196
|
+
readonly environment: {
|
|
197
|
+
readonly type: 'object';
|
|
198
|
+
readonly additionalProperties: false;
|
|
199
|
+
readonly properties: {
|
|
200
|
+
readonly environment: {
|
|
201
|
+
readonly $ref: '#/$defs/id';
|
|
202
|
+
};
|
|
203
|
+
readonly name: {
|
|
204
|
+
readonly type: 'string';
|
|
205
|
+
};
|
|
206
|
+
readonly kind: {
|
|
207
|
+
readonly enum: readonly ['vps', 'sandbox'];
|
|
208
|
+
};
|
|
2359
209
|
};
|
|
210
|
+
readonly required: readonly ['environment', 'name'];
|
|
2360
211
|
};
|
|
2361
|
-
readonly
|
|
2362
|
-
readonly
|
|
2363
|
-
};
|
|
2364
|
-
readonly tab_icon_angle: {
|
|
2365
|
-
readonly type: 'integer';
|
|
2366
|
-
readonly minimum: 0;
|
|
2367
|
-
readonly maximum: 359;
|
|
212
|
+
readonly reason: {
|
|
213
|
+
readonly type: 'string';
|
|
2368
214
|
};
|
|
2369
|
-
readonly
|
|
2370
|
-
readonly
|
|
215
|
+
readonly deadline: {
|
|
216
|
+
readonly type: 'string';
|
|
217
|
+
readonly format: 'date-time';
|
|
2371
218
|
};
|
|
2372
|
-
readonly
|
|
219
|
+
readonly free: {
|
|
2373
220
|
readonly type: 'object';
|
|
2374
221
|
readonly additionalProperties: false;
|
|
2375
222
|
readonly properties: {
|
|
2376
|
-
readonly
|
|
2377
|
-
readonly
|
|
223
|
+
readonly held: {
|
|
224
|
+
readonly type: 'string';
|
|
225
|
+
readonly pattern: '^\\d+$';
|
|
2378
226
|
};
|
|
2379
|
-
readonly
|
|
2380
|
-
readonly type: '
|
|
2381
|
-
readonly
|
|
227
|
+
readonly limit: {
|
|
228
|
+
readonly type: 'string';
|
|
229
|
+
readonly pattern: '^[1-9]\\d*$';
|
|
230
|
+
};
|
|
231
|
+
readonly measure: {
|
|
232
|
+
readonly type: 'string';
|
|
233
|
+
readonly enum: readonly ['content', 'retained'];
|
|
2382
234
|
};
|
|
2383
235
|
};
|
|
2384
|
-
readonly required: readonly ['
|
|
236
|
+
readonly required: readonly ['held', 'limit', 'measure'];
|
|
2385
237
|
};
|
|
2386
|
-
readonly
|
|
238
|
+
readonly budget: {
|
|
2387
239
|
readonly type: 'string';
|
|
240
|
+
readonly pattern: '^\\d+(?:\\.\\d+)?$';
|
|
2388
241
|
};
|
|
2389
|
-
readonly
|
|
242
|
+
readonly resets_at: {
|
|
2390
243
|
readonly type: 'string';
|
|
244
|
+
readonly format: 'date-time';
|
|
245
|
+
};
|
|
246
|
+
readonly grant: {
|
|
247
|
+
readonly $ref: '#/$defs/id';
|
|
2391
248
|
};
|
|
2392
|
-
readonly
|
|
249
|
+
readonly category: {
|
|
2393
250
|
readonly type: 'string';
|
|
2394
|
-
readonly format: 'uri';
|
|
2395
251
|
};
|
|
2396
|
-
readonly
|
|
252
|
+
readonly access_started_at: {
|
|
2397
253
|
readonly type: 'string';
|
|
2398
|
-
readonly
|
|
254
|
+
readonly format: 'date-time';
|
|
2399
255
|
};
|
|
2400
|
-
readonly
|
|
2401
|
-
readonly type: '
|
|
2402
|
-
readonly
|
|
2403
|
-
readonly properties: {
|
|
2404
|
-
readonly room: {
|
|
2405
|
-
readonly $ref: '#/$defs/room';
|
|
2406
|
-
};
|
|
2407
|
-
};
|
|
2408
|
-
readonly required: readonly ['room'];
|
|
256
|
+
readonly access_ended_at: {
|
|
257
|
+
readonly type: 'string';
|
|
258
|
+
readonly format: 'date-time';
|
|
2409
259
|
};
|
|
2410
|
-
readonly
|
|
260
|
+
readonly systems: {
|
|
2411
261
|
readonly type: 'array';
|
|
2412
262
|
readonly items: {
|
|
2413
263
|
readonly type: 'string';
|
|
2414
|
-
readonly format: 'uri';
|
|
2415
264
|
};
|
|
2416
265
|
};
|
|
2417
|
-
readonly
|
|
2418
|
-
readonly enum: readonly ['yes', 'no'];
|
|
2419
|
-
};
|
|
2420
|
-
readonly disabled_reason: {
|
|
266
|
+
readonly case_reference: {
|
|
2421
267
|
readonly type: 'string';
|
|
2422
268
|
};
|
|
2423
|
-
readonly
|
|
2424
|
-
readonly
|
|
2425
|
-
};
|
|
2426
|
-
readonly unpublished: {
|
|
2427
|
-
readonly enum: readonly ['yes', 'no'];
|
|
269
|
+
readonly export: {
|
|
270
|
+
readonly $ref: '#/$defs/id';
|
|
2428
271
|
};
|
|
2429
|
-
readonly
|
|
2430
|
-
readonly
|
|
272
|
+
readonly size_bytes: {
|
|
273
|
+
readonly type: 'integer';
|
|
274
|
+
readonly minimum: 0;
|
|
2431
275
|
};
|
|
2432
|
-
readonly
|
|
276
|
+
readonly title: {
|
|
2433
277
|
readonly type: 'string';
|
|
2434
|
-
readonly enum: readonly ['full_house_required', 'public_delivery_limit'];
|
|
2435
|
-
};
|
|
2436
|
-
readonly public_overage: {
|
|
2437
|
-
readonly enum: readonly ['on', 'off'];
|
|
2438
|
-
};
|
|
2439
|
-
readonly publication: {
|
|
2440
|
-
readonly $ref: '#/$defs/id';
|
|
2441
|
-
};
|
|
2442
|
-
readonly acts: {
|
|
2443
|
-
readonly type: 'array';
|
|
2444
|
-
readonly items: {
|
|
2445
|
-
readonly type: 'string';
|
|
2446
|
-
readonly enum: readonly ['unpublish', 'republish'];
|
|
2447
|
-
};
|
|
2448
278
|
};
|
|
2449
|
-
readonly
|
|
2450
|
-
readonly
|
|
279
|
+
readonly body: {
|
|
280
|
+
readonly type: 'string';
|
|
2451
281
|
};
|
|
2452
|
-
readonly
|
|
282
|
+
readonly authorship: {
|
|
2453
283
|
readonly type: 'object';
|
|
2454
284
|
readonly additionalProperties: false;
|
|
2455
285
|
readonly properties: {
|
|
2456
|
-
readonly
|
|
2457
|
-
readonly enum: readonly ['over_bound', 'query_refused', 'unavailable'];
|
|
2458
|
-
};
|
|
2459
|
-
readonly route: {
|
|
286
|
+
readonly kind: {
|
|
2460
287
|
readonly type: 'string';
|
|
288
|
+
readonly const: 'trigger-action';
|
|
2461
289
|
};
|
|
2462
|
-
readonly
|
|
2463
|
-
readonly
|
|
2464
|
-
|
|
290
|
+
readonly trigger: {
|
|
291
|
+
readonly $ref: '#/$defs/id';
|
|
292
|
+
};
|
|
293
|
+
readonly position: {
|
|
294
|
+
readonly type: 'integer';
|
|
295
|
+
readonly minimum: 0;
|
|
2465
296
|
};
|
|
2466
297
|
};
|
|
2467
|
-
readonly required: readonly ['
|
|
298
|
+
readonly required: readonly ['kind', 'trigger', 'position'];
|
|
2468
299
|
};
|
|
2469
|
-
readonly
|
|
300
|
+
readonly path: {
|
|
2470
301
|
readonly type: 'string';
|
|
2471
|
-
readonly
|
|
2472
|
-
|
|
2473
|
-
readonly new_browsers: {
|
|
2474
|
-
readonly type: 'integer';
|
|
2475
|
-
readonly minimum: 0;
|
|
2476
|
-
};
|
|
2477
|
-
readonly submissions: {
|
|
2478
|
-
readonly type: 'integer';
|
|
2479
|
-
readonly minimum: 0;
|
|
302
|
+
readonly maxLength: 4096;
|
|
303
|
+
readonly pattern: '^\\/.*';
|
|
2480
304
|
};
|
|
2481
|
-
|
|
2482
|
-
|
|
305
|
+
};
|
|
306
|
+
readonly required: readonly ['notification', 'kind', 'created', 'way_in', 'subject'];
|
|
307
|
+
};
|
|
308
|
+
readonly 'house-panel-preferences': {
|
|
309
|
+
readonly description: "The panel's preferences at /rooms/private/settings/panel.md. Its own vocabulary is in the body.";
|
|
310
|
+
readonly properties: {};
|
|
311
|
+
};
|
|
312
|
+
readonly 'house-agent-function': {
|
|
313
|
+
readonly description: "One Agent function that serves this Room, which House alone writes from its owner's document in their Private Room: the `agent_function` by identifier, its `description`, the `input` a caller sends, empty when it takes nothing, and the `agent` it starts, by `agent` and the `name` that Agent had when this card was last written. The Agent function's instruction is never written here.";
|
|
314
|
+
readonly properties: {
|
|
315
|
+
readonly reflected: {
|
|
316
|
+
readonly type: 'string';
|
|
317
|
+
readonly format: 'date-time';
|
|
2483
318
|
};
|
|
2484
|
-
readonly
|
|
2485
|
-
readonly
|
|
2486
|
-
readonly minimum: 0;
|
|
319
|
+
readonly agent_function: {
|
|
320
|
+
readonly $ref: '#/$defs/id';
|
|
2487
321
|
};
|
|
2488
|
-
readonly
|
|
2489
|
-
readonly type: '
|
|
2490
|
-
readonly minimum: 0;
|
|
322
|
+
readonly description: {
|
|
323
|
+
readonly type: 'string';
|
|
2491
324
|
};
|
|
2492
|
-
readonly
|
|
2493
|
-
readonly
|
|
325
|
+
readonly input: {
|
|
326
|
+
readonly type: 'string';
|
|
2494
327
|
};
|
|
2495
|
-
readonly
|
|
2496
|
-
readonly type: '
|
|
2497
|
-
readonly
|
|
2498
|
-
|
|
2499
|
-
readonly
|
|
2500
|
-
|
|
2501
|
-
readonly slot: {
|
|
2502
|
-
readonly type: 'string';
|
|
2503
|
-
readonly pattern: '^[a-z0-9]([a-z0-9-]*[a-z0-9])?$';
|
|
2504
|
-
};
|
|
2505
|
-
readonly entries: {
|
|
2506
|
-
readonly type: 'array';
|
|
2507
|
-
readonly items: {
|
|
2508
|
-
readonly type: 'object';
|
|
2509
|
-
readonly additionalProperties: false;
|
|
2510
|
-
readonly properties: {
|
|
2511
|
-
readonly room: {
|
|
2512
|
-
readonly $ref: '#/$defs/room';
|
|
2513
|
-
};
|
|
2514
|
-
readonly segment: {
|
|
2515
|
-
readonly type: 'string';
|
|
2516
|
-
};
|
|
2517
|
-
readonly compatibility: {
|
|
2518
|
-
readonly enum: readonly ['unchecked', 'compatible', 'incompatible'];
|
|
2519
|
-
};
|
|
2520
|
-
};
|
|
2521
|
-
readonly required: readonly ['room', 'segment', 'compatibility'];
|
|
2522
|
-
};
|
|
2523
|
-
};
|
|
328
|
+
readonly agent: {
|
|
329
|
+
readonly type: 'object';
|
|
330
|
+
readonly additionalProperties: false;
|
|
331
|
+
readonly properties: {
|
|
332
|
+
readonly agent: {
|
|
333
|
+
readonly $ref: '#/$defs/id';
|
|
2524
334
|
};
|
|
2525
|
-
readonly
|
|
2526
|
-
|
|
2527
|
-
};
|
|
2528
|
-
readonly findings: {
|
|
2529
|
-
readonly type: 'array';
|
|
2530
|
-
readonly items: {
|
|
2531
|
-
readonly type: 'object';
|
|
2532
|
-
readonly additionalProperties: false;
|
|
2533
|
-
readonly properties: {
|
|
2534
|
-
readonly slot: {
|
|
2535
|
-
readonly type: 'string';
|
|
2536
|
-
readonly pattern: '^[a-z0-9]([a-z0-9-]*[a-z0-9])?$';
|
|
2537
|
-
};
|
|
2538
|
-
readonly room: {
|
|
2539
|
-
readonly $ref: '#/$defs/room';
|
|
2540
|
-
};
|
|
2541
|
-
readonly finding: {
|
|
2542
|
-
readonly type: 'string';
|
|
2543
|
-
};
|
|
335
|
+
readonly name: {
|
|
336
|
+
readonly type: 'string';
|
|
2544
337
|
};
|
|
2545
|
-
readonly required: readonly ['slot', 'room', 'finding'];
|
|
2546
338
|
};
|
|
339
|
+
readonly required: readonly ['agent', 'name'];
|
|
340
|
+
};
|
|
341
|
+
};
|
|
342
|
+
readonly required: readonly ['reflected', 'agent_function', 'description', 'input', 'agent'];
|
|
343
|
+
};
|
|
344
|
+
readonly 'house-agent-function-document': {
|
|
345
|
+
readonly description: 'One Agent function as its owner writes it in their Private Room at rooms/<room-handle>/agent-functions/<name>.md, a path that binds this type and a document that names no type: what it does as `description`, what a caller sends as `input`, empty when it takes nothing, and the `agent` it starts, by identifier. Its body is the instruction that Agent follows.';
|
|
346
|
+
readonly properties: {
|
|
347
|
+
readonly description: {
|
|
348
|
+
readonly type: 'string';
|
|
349
|
+
readonly maxLength: 2000;
|
|
350
|
+
readonly pattern: '\\S';
|
|
351
|
+
};
|
|
352
|
+
readonly input: {
|
|
353
|
+
readonly type: 'string';
|
|
354
|
+
};
|
|
355
|
+
readonly agent: {
|
|
356
|
+
readonly $ref: '#/$defs/id';
|
|
2547
357
|
};
|
|
2548
358
|
};
|
|
2549
|
-
readonly required: readonly ['
|
|
359
|
+
readonly required: readonly ['description', 'input', 'agent'];
|
|
2550
360
|
};
|
|
2551
361
|
readonly 'house-trigger': {
|
|
2552
|
-
readonly description: "One Trigger of this Room as its acts wrote it, which House alone writes: its `description`, the `condition` it fires on, its `actions` in order, whether each action and the Trigger are `enabled`, `paused_by` `types` while a change of the Room's types paused it, its `creator` by `user` and the `name` they had then, and when it was `created`. A `notify` action reaches the `users` its `to` names, the members its `fields` name in the matched document and the holders of its `roles`;
|
|
362
|
+
readonly description: "One Trigger of this Room as its acts wrote it, which House alone writes: its `description`, the `condition` it fires on, its `actions` in order, whether each action and the Trigger are `enabled`, `paused_by` `types` while a change of the Room's types paused it, its `creator` by `user` and the `name` they had then, and when it was `created`. A `notify` action reaches the `users` its `to` names, the members its `fields` name in the matched document and the holders of its `roles`; an `agent_function` action sends its `payload` to the Agent function whose card under this Room's `house/agent-functions/` its `card` names, absent while this Room holds no card of that Agent function; a `message` action puts its `text` into the active conversation that Agent function started for what the Event is about, or starts that Agent function when none is active; a `done` action marks Done every active conversation an Agent function request of this Room started for the Event's document; a `function` action runs the `function` its `app`'s latest release declares, on House's servers, or, naming no `app`, the Room owner's Environment function of that name on its Environment, which only a Trigger of their Private Room holds. Whether an action's target holds is not written: it follows from the Room's members, the Agent function's card, the App's latest release and the owner's functions.";
|
|
2553
363
|
readonly properties: {
|
|
2554
364
|
readonly reflected: {
|
|
2555
365
|
readonly type: 'string';
|
|
@@ -2562,154 +372,9 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
2562
372
|
readonly type: 'string';
|
|
2563
373
|
};
|
|
2564
374
|
readonly condition: {
|
|
2565
|
-
readonly
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
readonly properties: {
|
|
2569
|
-
readonly on: {
|
|
2570
|
-
readonly const: 'documents';
|
|
2571
|
-
};
|
|
2572
|
-
readonly scope: {
|
|
2573
|
-
readonly $ref: '#/$defs/trigger_scope';
|
|
2574
|
-
};
|
|
2575
|
-
readonly mode: {
|
|
2576
|
-
readonly const: 'starts_matching';
|
|
2577
|
-
};
|
|
2578
|
-
readonly new_documents: {
|
|
2579
|
-
readonly type: 'boolean';
|
|
2580
|
-
};
|
|
2581
|
-
readonly match: {
|
|
2582
|
-
readonly $ref: '#/$defs/trigger_test';
|
|
2583
|
-
};
|
|
2584
|
-
readonly by: {
|
|
2585
|
-
readonly $ref: '#/$defs/trigger_test';
|
|
2586
|
-
};
|
|
2587
|
-
readonly moved_between_rooms: {
|
|
2588
|
-
readonly type: 'boolean';
|
|
2589
|
-
};
|
|
2590
|
-
};
|
|
2591
|
-
readonly required: readonly ['on', 'scope', 'mode', 'new_documents', 'match'];
|
|
2592
|
-
}, {
|
|
2593
|
-
readonly type: 'object';
|
|
2594
|
-
readonly additionalProperties: false;
|
|
2595
|
-
readonly properties: {
|
|
2596
|
-
readonly on: {
|
|
2597
|
-
readonly const: 'documents';
|
|
2598
|
-
};
|
|
2599
|
-
readonly scope: {
|
|
2600
|
-
readonly $ref: '#/$defs/trigger_scope';
|
|
2601
|
-
};
|
|
2602
|
-
readonly mode: {
|
|
2603
|
-
readonly const: 'field_changes';
|
|
2604
|
-
};
|
|
2605
|
-
readonly field: {
|
|
2606
|
-
readonly type: 'string';
|
|
2607
|
-
};
|
|
2608
|
-
readonly from: {
|
|
2609
|
-
readonly anyOf: readonly [{
|
|
2610
|
-
readonly $ref: '#/$defs/trigger_values';
|
|
2611
|
-
}, {
|
|
2612
|
-
readonly const: 'new';
|
|
2613
|
-
}];
|
|
2614
|
-
};
|
|
2615
|
-
readonly to: {
|
|
2616
|
-
readonly anyOf: readonly [{
|
|
2617
|
-
readonly $ref: '#/$defs/trigger_values';
|
|
2618
|
-
}, {
|
|
2619
|
-
readonly const: 'deleted';
|
|
2620
|
-
}];
|
|
2621
|
-
};
|
|
2622
|
-
readonly match: {
|
|
2623
|
-
readonly $ref: '#/$defs/trigger_test';
|
|
2624
|
-
};
|
|
2625
|
-
readonly by: {
|
|
2626
|
-
readonly $ref: '#/$defs/trigger_test';
|
|
2627
|
-
};
|
|
2628
|
-
readonly moved_between_rooms: {
|
|
2629
|
-
readonly type: 'boolean';
|
|
2630
|
-
};
|
|
2631
|
-
};
|
|
2632
|
-
readonly required: readonly ['on', 'scope', 'mode', 'field'];
|
|
2633
|
-
}, {
|
|
2634
|
-
readonly type: 'object';
|
|
2635
|
-
readonly additionalProperties: false;
|
|
2636
|
-
readonly properties: {
|
|
2637
|
-
readonly on: {
|
|
2638
|
-
readonly const: 'items';
|
|
2639
|
-
};
|
|
2640
|
-
readonly source: {
|
|
2641
|
-
readonly type: 'string';
|
|
2642
|
-
};
|
|
2643
|
-
readonly address: {
|
|
2644
|
-
readonly type: 'string';
|
|
2645
|
-
};
|
|
2646
|
-
readonly match: {
|
|
2647
|
-
readonly $ref: '#/$defs/trigger_test';
|
|
2648
|
-
};
|
|
2649
|
-
};
|
|
2650
|
-
readonly required: readonly ['on'];
|
|
2651
|
-
}, {
|
|
2652
|
-
readonly type: 'object';
|
|
2653
|
-
readonly additionalProperties: false;
|
|
2654
|
-
readonly properties: {
|
|
2655
|
-
readonly on: {
|
|
2656
|
-
readonly const: 'notifications';
|
|
2657
|
-
};
|
|
2658
|
-
readonly match: {
|
|
2659
|
-
readonly $ref: '#/$defs/trigger_test';
|
|
2660
|
-
};
|
|
2661
|
-
};
|
|
2662
|
-
readonly required: readonly ['on'];
|
|
2663
|
-
}, {
|
|
2664
|
-
readonly type: 'object';
|
|
2665
|
-
readonly additionalProperties: false;
|
|
2666
|
-
readonly properties: {
|
|
2667
|
-
readonly on: {
|
|
2668
|
-
readonly const: 'clock';
|
|
2669
|
-
};
|
|
2670
|
-
readonly cron: {
|
|
2671
|
-
readonly type: 'string';
|
|
2672
|
-
};
|
|
2673
|
-
readonly time_zone: {
|
|
2674
|
-
readonly type: 'string';
|
|
2675
|
-
};
|
|
2676
|
-
};
|
|
2677
|
-
readonly required: readonly ['on', 'cron', 'time_zone'];
|
|
2678
|
-
}, {
|
|
2679
|
-
readonly type: 'object';
|
|
2680
|
-
readonly additionalProperties: false;
|
|
2681
|
-
readonly properties: {
|
|
2682
|
-
readonly on: {
|
|
2683
|
-
readonly const: 'clock';
|
|
2684
|
-
};
|
|
2685
|
-
readonly scope: {
|
|
2686
|
-
readonly type: 'object';
|
|
2687
|
-
readonly additionalProperties: false;
|
|
2688
|
-
readonly properties: {
|
|
2689
|
-
readonly type: {
|
|
2690
|
-
readonly type: 'string';
|
|
2691
|
-
};
|
|
2692
|
-
};
|
|
2693
|
-
readonly required: readonly ['type'];
|
|
2694
|
-
};
|
|
2695
|
-
readonly date: {
|
|
2696
|
-
readonly type: 'string';
|
|
2697
|
-
};
|
|
2698
|
-
readonly days: {
|
|
2699
|
-
readonly type: 'integer';
|
|
2700
|
-
};
|
|
2701
|
-
readonly at: {
|
|
2702
|
-
readonly type: 'string';
|
|
2703
|
-
};
|
|
2704
|
-
readonly time_zone: {
|
|
2705
|
-
readonly type: 'string';
|
|
2706
|
-
};
|
|
2707
|
-
readonly match: {
|
|
2708
|
-
readonly $ref: '#/$defs/trigger_test';
|
|
2709
|
-
};
|
|
2710
|
-
};
|
|
2711
|
-
readonly required: readonly ['on', 'scope', 'date', 'days', 'at', 'time_zone'];
|
|
2712
|
-
}];
|
|
375
|
+
readonly description: 'When it fires, as the Trigger reference page writes it, a document it names at its current path.';
|
|
376
|
+
readonly type: 'object';
|
|
377
|
+
readonly additionalProperties: true;
|
|
2713
378
|
};
|
|
2714
379
|
readonly actions: {
|
|
2715
380
|
readonly type: 'array';
|
|
@@ -2769,19 +434,51 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
2769
434
|
readonly additionalProperties: false;
|
|
2770
435
|
readonly properties: {
|
|
2771
436
|
readonly kind: {
|
|
2772
|
-
readonly const: '
|
|
437
|
+
readonly const: 'agent_function';
|
|
2773
438
|
};
|
|
2774
439
|
readonly enabled: {
|
|
2775
440
|
readonly type: 'boolean';
|
|
2776
441
|
};
|
|
2777
|
-
readonly
|
|
2778
|
-
readonly
|
|
442
|
+
readonly card: {
|
|
443
|
+
readonly type: 'string';
|
|
444
|
+
readonly minLength: 1;
|
|
2779
445
|
};
|
|
2780
446
|
readonly payload: {
|
|
2781
447
|
readonly type: 'string';
|
|
2782
448
|
};
|
|
2783
449
|
};
|
|
2784
450
|
readonly required: readonly ['kind', 'enabled', 'payload'];
|
|
451
|
+
}, {
|
|
452
|
+
readonly type: 'object';
|
|
453
|
+
readonly additionalProperties: false;
|
|
454
|
+
readonly properties: {
|
|
455
|
+
readonly kind: {
|
|
456
|
+
readonly const: 'message';
|
|
457
|
+
};
|
|
458
|
+
readonly enabled: {
|
|
459
|
+
readonly type: 'boolean';
|
|
460
|
+
};
|
|
461
|
+
readonly card: {
|
|
462
|
+
readonly type: 'string';
|
|
463
|
+
readonly minLength: 1;
|
|
464
|
+
};
|
|
465
|
+
readonly text: {
|
|
466
|
+
readonly type: 'string';
|
|
467
|
+
};
|
|
468
|
+
};
|
|
469
|
+
readonly required: readonly ['kind', 'enabled', 'text'];
|
|
470
|
+
}, {
|
|
471
|
+
readonly type: 'object';
|
|
472
|
+
readonly additionalProperties: false;
|
|
473
|
+
readonly properties: {
|
|
474
|
+
readonly kind: {
|
|
475
|
+
readonly const: 'done';
|
|
476
|
+
};
|
|
477
|
+
readonly enabled: {
|
|
478
|
+
readonly type: 'boolean';
|
|
479
|
+
};
|
|
480
|
+
};
|
|
481
|
+
readonly required: readonly ['kind', 'enabled'];
|
|
2785
482
|
}, {
|
|
2786
483
|
readonly type: 'object';
|
|
2787
484
|
readonly additionalProperties: false;
|
|
@@ -2866,6 +563,7 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
2866
563
|
};
|
|
2867
564
|
};
|
|
2868
565
|
export declare const HOUSE_MODEL_TYPES: string;
|
|
566
|
+
export declare const HOUSE_TYPED_PATHS: readonly TypedPath[];
|
|
2869
567
|
type Model = typeof HOUSE_MODEL_DECLARATION;
|
|
2870
568
|
type Definitions = Model['$defs'];
|
|
2871
569
|
export type HouseModelType = Exclude<keyof Model, '$defs'>;
|