@agentshouse/mdruntime-adapter 0.1.0-c819869684b89 → 0.1.0-c829d5a7a2984
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/README.md +2 -2
- package/dist/actions.d.ts +2 -1
- package/dist/actions.d.ts.map +1 -1
- package/dist/actions.js +20 -7
- package/dist/adapter.d.ts +0 -1
- package/dist/adapter.d.ts.map +1 -1
- package/dist/adapter.js +114 -109
- package/dist/app-reference.d.ts +0 -1
- package/dist/authored-path.d.ts +10 -0
- package/dist/authored-path.d.ts.map +1 -0
- package/dist/authored-path.js +35 -0
- package/dist/chunks.d.ts +37 -0
- package/dist/chunks.d.ts.map +1 -0
- package/dist/chunks.js +254 -0
- package/dist/crockford.d.ts +0 -1
- package/dist/digest.d.ts +0 -1
- package/dist/discovery.d.ts +2 -5
- package/dist/discovery.d.ts.map +1 -1
- package/dist/discovery.js +9 -10
- package/dist/history.d.ts +1 -7
- package/dist/history.d.ts.map +1 -1
- package/dist/history.js +22 -29
- package/dist/house-model.d.ts +225 -310
- package/dist/house-model.d.ts.map +1 -1
- package/dist/house-model.js +215 -252
- package/dist/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/map.d.ts +0 -1
- package/dist/model.d.ts +5 -8
- package/dist/model.d.ts.map +1 -1
- package/dist/model.js +30 -18
- package/dist/read.d.ts +19 -10
- package/dist/read.d.ts.map +1 -1
- package/dist/read.js +46 -143
- package/dist/refusal.d.ts +3 -2
- package/dist/refusal.d.ts.map +1 -1
- package/dist/refusal.js +17 -7
- package/dist/room-types.d.ts +0 -3
- package/dist/room-types.d.ts.map +1 -1
- package/dist/room-types.js +64 -53
- package/dist/search.d.ts +0 -1
- package/dist/search.d.ts.map +1 -1
- package/dist/search.js +5 -5
- package/dist/session-content/bounds.d.ts +7 -0
- package/dist/session-content/check.d.ts +18 -0
- package/dist/session-content/index.d.ts +7 -0
- package/dist/session-content/parts.d.ts +102 -0
- package/dist/session-content/state.d.ts +61 -0
- package/dist/session-content/turn.d.ts +328 -0
- package/dist/site.d.ts +0 -1
- package/dist/site.d.ts.map +1 -1
- package/dist/site.js +45 -49
- package/dist/space-schema.d.ts +6 -0
- package/dist/space-schema.d.ts.map +1 -0
- package/dist/space-schema.js +18 -0
- package/dist/stream.d.ts +6 -5
- package/dist/stream.d.ts.map +1 -1
- package/dist/stream.js +130 -36
- package/dist/transport.d.ts +22 -22
- package/dist/transport.d.ts.map +1 -1
- package/dist/transport.js +13 -13
- package/dist/uncertain.d.ts +5 -0
- package/dist/uncertain.d.ts.map +1 -0
- package/dist/uncertain.js +11 -0
- package/dist/upload.d.ts +3 -2
- package/dist/upload.d.ts.map +1 -1
- package/dist/upload.js +8 -6
- package/dist/version.d.ts +0 -1
- package/dist/write.d.ts +0 -2
- package/dist/write.d.ts.map +1 -1
- package/dist/write.js +20 -20
- package/package.json +2 -2
- package/dist/part.d.ts +0 -14
- package/dist/part.d.ts.map +0 -1
- package/dist/part.js +0 -90
- package/dist/room-stream.d.ts +0 -19
- package/dist/room-stream.d.ts.map +0 -1
- package/dist/room-stream.js +0 -57
package/dist/house-model.d.ts
CHANGED
|
@@ -11,121 +11,93 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
11
11
|
readonly type: 'string';
|
|
12
12
|
readonly pattern: '^a_([0123456789abcdefghjkmnpqrstvwxyz]+)\\.([0123456789abcdefghjkmnpqrstvwxyz])$';
|
|
13
13
|
};
|
|
14
|
-
readonly
|
|
15
|
-
readonly description: 'A
|
|
14
|
+
readonly space: {
|
|
15
|
+
readonly description: 'A Space, by its Space reference, under the key `space`.';
|
|
16
16
|
readonly type: 'string';
|
|
17
|
-
readonly pattern: '^
|
|
17
|
+
readonly pattern: '^sp_([0123456789abcdefghjkmnpqrstvwxyz]+)\\.([0123456789abcdefghjkmnpqrstvwxyz])$';
|
|
18
18
|
};
|
|
19
19
|
readonly id: {
|
|
20
20
|
readonly description: 'Any other entity, by its identifier, under the key of its kind. An entity a type says more about is an object holding it under that key beside its facts.';
|
|
21
21
|
readonly type: 'string';
|
|
22
22
|
readonly format: 'uuid';
|
|
23
23
|
};
|
|
24
|
-
readonly namespace: {
|
|
25
|
-
readonly description: 'The Namespace a grant entry covers, an App or a Room by its reference with the area of it.';
|
|
26
|
-
readonly type: 'string';
|
|
27
|
-
readonly maxLength: 512;
|
|
28
|
-
readonly pattern: '^(?:a_[A-Za-z0-9._-]+(?:\\/source)?|r_[A-Za-z0-9._-]+(?:\\/(?:settings|settings\\/schema|settings\\/model|settings\\/indexing|content))?)$';
|
|
29
|
-
};
|
|
30
|
-
readonly trigger_test: {
|
|
31
|
-
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.';
|
|
32
|
-
readonly type: 'object';
|
|
33
|
-
readonly additionalProperties: true;
|
|
34
|
-
};
|
|
35
|
-
readonly trigger_values: {
|
|
36
|
-
readonly type: 'array';
|
|
37
|
-
readonly items: {
|
|
38
|
-
readonly anyOf: readonly [{
|
|
39
|
-
readonly type: 'string';
|
|
40
|
-
}, {
|
|
41
|
-
readonly type: 'number';
|
|
42
|
-
}, {
|
|
43
|
-
readonly type: 'boolean';
|
|
44
|
-
}];
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
readonly trigger_scope: {
|
|
48
|
-
readonly description: 'The documents a Trigger condition watches, by `type`, by `folder` or one document at its `path`, which `create_trigger` takes as `document`.';
|
|
49
|
-
readonly type: 'object';
|
|
50
|
-
readonly additionalProperties: false;
|
|
51
|
-
readonly properties: {
|
|
52
|
-
readonly type: {
|
|
53
|
-
readonly type: 'string';
|
|
54
|
-
};
|
|
55
|
-
readonly folder: {
|
|
56
|
-
readonly type: 'string';
|
|
57
|
-
};
|
|
58
|
-
readonly path: {
|
|
59
|
-
readonly type: 'string';
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
readonly minProperties: 1;
|
|
63
|
-
readonly maxProperties: 1;
|
|
64
|
-
};
|
|
65
24
|
};
|
|
66
25
|
readonly 'house-app-preferences': {
|
|
67
26
|
readonly description: "An App's preferences. Its own vocabulary is in the body.";
|
|
68
27
|
readonly properties: {
|
|
69
28
|
readonly app: {
|
|
29
|
+
readonly title: 'App';
|
|
70
30
|
readonly $ref: '#/$defs/app';
|
|
71
31
|
};
|
|
72
32
|
};
|
|
73
33
|
readonly required: readonly ['app'];
|
|
74
34
|
};
|
|
75
35
|
readonly 'house-notification': {
|
|
76
|
-
readonly description: "One kept
|
|
36
|
+
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.";
|
|
77
37
|
readonly properties: {
|
|
78
38
|
readonly notification: {
|
|
39
|
+
readonly title: 'Notification';
|
|
79
40
|
readonly $ref: '#/$defs/id';
|
|
80
41
|
};
|
|
81
42
|
readonly kind: {
|
|
43
|
+
readonly title: 'Kind';
|
|
82
44
|
readonly type: 'string';
|
|
83
|
-
readonly enum: readonly ['share-offer', 'join-request', 'join-request-approved', '
|
|
45
|
+
readonly enum: readonly ['share-offer', 'join-request', 'join-request-approved', 'room-ownership-offer', 'managed-environment-retention-opened', 'storage-full', 'sandbox-budget-spent', 'trigger-failed', 'room-telegram-chat-paused', 'break-glass-owner-disclosure', 'export-ready', 'export-failed', 'custom', 'agent-function-request-finished'];
|
|
84
46
|
};
|
|
85
47
|
readonly created: {
|
|
48
|
+
readonly title: 'Created';
|
|
49
|
+
readonly type: 'string';
|
|
50
|
+
readonly format: 'date-time';
|
|
51
|
+
};
|
|
52
|
+
readonly read: {
|
|
53
|
+
readonly title: 'Read';
|
|
86
54
|
readonly type: 'string';
|
|
87
55
|
readonly format: 'date-time';
|
|
88
56
|
};
|
|
89
57
|
readonly way_in: {
|
|
58
|
+
readonly title: 'Way in';
|
|
90
59
|
readonly type: 'object';
|
|
91
60
|
readonly additionalProperties: false;
|
|
92
61
|
readonly properties: {
|
|
93
62
|
readonly path: {
|
|
63
|
+
readonly title: 'Path';
|
|
94
64
|
readonly type: 'string';
|
|
95
65
|
readonly pattern: '^\\/';
|
|
96
66
|
};
|
|
97
67
|
readonly room: {
|
|
68
|
+
readonly title: 'Room';
|
|
98
69
|
readonly $ref: '#/$defs/room';
|
|
99
70
|
};
|
|
100
|
-
readonly app: {
|
|
101
|
-
readonly $ref: '#/$defs/app';
|
|
102
|
-
};
|
|
103
71
|
readonly environment: {
|
|
72
|
+
readonly title: 'Environment';
|
|
104
73
|
readonly $ref: '#/$defs/id';
|
|
105
74
|
};
|
|
106
75
|
readonly trigger: {
|
|
107
|
-
readonly
|
|
108
|
-
};
|
|
109
|
-
readonly site: {
|
|
76
|
+
readonly title: 'Trigger';
|
|
110
77
|
readonly $ref: '#/$defs/id';
|
|
111
78
|
};
|
|
112
79
|
};
|
|
113
80
|
readonly minProperties: 1;
|
|
114
81
|
};
|
|
115
82
|
readonly subject: {
|
|
83
|
+
readonly title: 'Subject';
|
|
116
84
|
readonly type: 'string';
|
|
117
85
|
};
|
|
118
86
|
readonly share: {
|
|
87
|
+
readonly title: 'Share';
|
|
119
88
|
readonly $ref: '#/$defs/id';
|
|
120
89
|
};
|
|
121
90
|
readonly issuer: {
|
|
91
|
+
readonly title: 'Issuer';
|
|
122
92
|
readonly type: 'object';
|
|
123
93
|
readonly additionalProperties: false;
|
|
124
94
|
readonly properties: {
|
|
125
95
|
readonly name: {
|
|
96
|
+
readonly title: 'Name';
|
|
126
97
|
readonly type: 'string';
|
|
127
98
|
};
|
|
128
99
|
readonly email: {
|
|
100
|
+
readonly title: 'Email';
|
|
129
101
|
readonly type: 'string';
|
|
130
102
|
readonly format: 'email';
|
|
131
103
|
};
|
|
@@ -133,12 +105,14 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
133
105
|
readonly required: readonly ['name', 'email'];
|
|
134
106
|
};
|
|
135
107
|
readonly rooms: {
|
|
108
|
+
readonly title: 'Rooms';
|
|
136
109
|
readonly type: 'array';
|
|
137
110
|
readonly items: {
|
|
138
111
|
readonly type: 'object';
|
|
139
112
|
readonly additionalProperties: false;
|
|
140
113
|
readonly properties: {
|
|
141
114
|
readonly name: {
|
|
115
|
+
readonly title: 'Name';
|
|
142
116
|
readonly type: 'string';
|
|
143
117
|
};
|
|
144
118
|
};
|
|
@@ -146,18 +120,20 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
146
120
|
};
|
|
147
121
|
};
|
|
148
122
|
readonly apps: {
|
|
149
|
-
readonly
|
|
123
|
+
readonly title: 'Apps';
|
|
150
124
|
readonly type: 'array';
|
|
151
125
|
readonly items: {
|
|
152
126
|
readonly type: 'object';
|
|
153
127
|
readonly additionalProperties: false;
|
|
154
128
|
readonly properties: {
|
|
155
129
|
readonly name: {
|
|
130
|
+
readonly title: 'Name';
|
|
156
131
|
readonly type: 'string';
|
|
157
132
|
readonly minLength: 1;
|
|
158
133
|
readonly maxLength: 200;
|
|
159
134
|
};
|
|
160
135
|
readonly reaches: {
|
|
136
|
+
readonly title: 'Reaches';
|
|
161
137
|
readonly type: 'array';
|
|
162
138
|
readonly items: {
|
|
163
139
|
readonly type: 'string';
|
|
@@ -169,93 +145,102 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
169
145
|
readonly required: readonly ['name', 'reaches'];
|
|
170
146
|
};
|
|
171
147
|
};
|
|
148
|
+
readonly spaces: {
|
|
149
|
+
readonly title: 'Spaces';
|
|
150
|
+
readonly type: 'array';
|
|
151
|
+
readonly items: {
|
|
152
|
+
readonly type: 'object';
|
|
153
|
+
readonly additionalProperties: false;
|
|
154
|
+
readonly properties: {
|
|
155
|
+
readonly name: {
|
|
156
|
+
readonly title: 'Name';
|
|
157
|
+
readonly type: 'string';
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
readonly required: readonly ['name'];
|
|
161
|
+
};
|
|
162
|
+
};
|
|
172
163
|
readonly expires_at: {
|
|
164
|
+
readonly title: 'Expires at';
|
|
173
165
|
readonly type: 'string';
|
|
174
166
|
readonly format: 'date-time';
|
|
175
167
|
};
|
|
176
168
|
readonly join_request: {
|
|
169
|
+
readonly title: 'Join request';
|
|
177
170
|
readonly $ref: '#/$defs/id';
|
|
178
171
|
};
|
|
179
172
|
readonly user: {
|
|
173
|
+
readonly title: 'User';
|
|
180
174
|
readonly type: 'object';
|
|
181
175
|
readonly additionalProperties: false;
|
|
182
176
|
readonly properties: {
|
|
183
177
|
readonly name: {
|
|
178
|
+
readonly title: 'Name';
|
|
184
179
|
readonly type: 'string';
|
|
185
180
|
};
|
|
186
181
|
readonly email: {
|
|
182
|
+
readonly title: 'Email';
|
|
187
183
|
readonly type: 'string';
|
|
188
184
|
readonly format: 'email';
|
|
189
185
|
};
|
|
190
186
|
};
|
|
191
|
-
readonly required: readonly ['name'
|
|
187
|
+
readonly required: readonly ['name'];
|
|
192
188
|
};
|
|
193
189
|
readonly room: {
|
|
190
|
+
readonly title: 'Room';
|
|
194
191
|
readonly type: 'object';
|
|
195
192
|
readonly additionalProperties: false;
|
|
196
193
|
readonly properties: {
|
|
197
194
|
readonly room: {
|
|
195
|
+
readonly title: 'Room';
|
|
198
196
|
readonly $ref: '#/$defs/room';
|
|
199
197
|
};
|
|
200
198
|
readonly name: {
|
|
199
|
+
readonly title: 'Name';
|
|
201
200
|
readonly type: 'string';
|
|
202
201
|
};
|
|
203
202
|
};
|
|
204
203
|
readonly minProperties: 1;
|
|
205
204
|
};
|
|
206
205
|
readonly app: {
|
|
206
|
+
readonly title: 'App';
|
|
207
207
|
readonly type: 'object';
|
|
208
208
|
readonly additionalProperties: false;
|
|
209
209
|
readonly properties: {
|
|
210
210
|
readonly app: {
|
|
211
|
+
readonly title: 'App';
|
|
211
212
|
readonly $ref: '#/$defs/app';
|
|
212
213
|
};
|
|
213
|
-
readonly name: {
|
|
214
|
-
readonly type: 'string';
|
|
215
|
-
};
|
|
216
|
-
};
|
|
217
|
-
readonly minProperties: 1;
|
|
218
|
-
};
|
|
219
|
-
readonly release: {
|
|
220
|
-
readonly type: 'integer';
|
|
221
|
-
readonly minimum: 1;
|
|
222
|
-
};
|
|
223
|
-
readonly binding: {
|
|
224
|
-
readonly $ref: '#/$defs/id';
|
|
225
|
-
};
|
|
226
|
-
readonly slot: {
|
|
227
|
-
readonly type: 'string';
|
|
228
|
-
};
|
|
229
|
-
readonly findings: {
|
|
230
|
-
readonly type: 'array';
|
|
231
|
-
readonly items: {
|
|
232
|
-
readonly type: 'string';
|
|
233
214
|
};
|
|
215
|
+
readonly required: readonly ['app'];
|
|
234
216
|
};
|
|
235
|
-
readonly
|
|
217
|
+
readonly space: {
|
|
218
|
+
readonly title: 'Space';
|
|
236
219
|
readonly type: 'object';
|
|
237
220
|
readonly additionalProperties: false;
|
|
238
221
|
readonly properties: {
|
|
239
|
-
readonly
|
|
240
|
-
readonly
|
|
241
|
-
|
|
242
|
-
readonly name: {
|
|
243
|
-
readonly type: 'string';
|
|
222
|
+
readonly space: {
|
|
223
|
+
readonly title: 'Space';
|
|
224
|
+
readonly $ref: '#/$defs/space';
|
|
244
225
|
};
|
|
245
226
|
};
|
|
246
|
-
readonly required: readonly ['
|
|
227
|
+
readonly required: readonly ['space'];
|
|
247
228
|
};
|
|
248
229
|
readonly ownership_offer: {
|
|
230
|
+
readonly title: 'Ownership offer';
|
|
249
231
|
readonly $ref: '#/$defs/id';
|
|
250
232
|
};
|
|
251
233
|
readonly offerer: {
|
|
234
|
+
readonly title: 'Offerer';
|
|
252
235
|
readonly type: 'object';
|
|
253
236
|
readonly additionalProperties: false;
|
|
254
237
|
readonly properties: {
|
|
255
238
|
readonly name: {
|
|
239
|
+
readonly title: 'Name';
|
|
256
240
|
readonly type: 'string';
|
|
257
241
|
};
|
|
258
242
|
readonly email: {
|
|
243
|
+
readonly title: 'Email';
|
|
259
244
|
readonly type: 'string';
|
|
260
245
|
readonly format: 'email';
|
|
261
246
|
};
|
|
@@ -263,185 +248,217 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
263
248
|
readonly required: readonly ['name', 'email'];
|
|
264
249
|
};
|
|
265
250
|
readonly environment: {
|
|
251
|
+
readonly title: 'Environment';
|
|
266
252
|
readonly type: 'object';
|
|
267
253
|
readonly additionalProperties: false;
|
|
268
254
|
readonly properties: {
|
|
269
255
|
readonly environment: {
|
|
256
|
+
readonly title: 'Environment';
|
|
270
257
|
readonly $ref: '#/$defs/id';
|
|
271
258
|
};
|
|
272
259
|
readonly name: {
|
|
260
|
+
readonly title: 'Name';
|
|
273
261
|
readonly type: 'string';
|
|
274
262
|
};
|
|
275
263
|
readonly kind: {
|
|
264
|
+
readonly title: 'Kind';
|
|
276
265
|
readonly enum: readonly ['vps', 'sandbox'];
|
|
277
266
|
};
|
|
278
267
|
};
|
|
279
268
|
readonly required: readonly ['environment', 'name'];
|
|
280
269
|
};
|
|
281
270
|
readonly reason: {
|
|
271
|
+
readonly title: 'Reason';
|
|
282
272
|
readonly type: 'string';
|
|
283
273
|
};
|
|
284
274
|
readonly deadline: {
|
|
275
|
+
readonly title: 'Deadline';
|
|
285
276
|
readonly type: 'string';
|
|
286
277
|
readonly format: 'date-time';
|
|
287
278
|
};
|
|
288
|
-
readonly operation_kind: {
|
|
289
|
-
readonly type: 'string';
|
|
290
|
-
};
|
|
291
279
|
readonly free: {
|
|
280
|
+
readonly title: 'Free';
|
|
292
281
|
readonly type: 'object';
|
|
293
282
|
readonly additionalProperties: false;
|
|
294
283
|
readonly properties: {
|
|
295
284
|
readonly held: {
|
|
285
|
+
readonly title: 'Held';
|
|
296
286
|
readonly type: 'string';
|
|
297
287
|
readonly pattern: '^\\d+$';
|
|
298
288
|
};
|
|
299
289
|
readonly limit: {
|
|
290
|
+
readonly title: 'Limit';
|
|
300
291
|
readonly type: 'string';
|
|
301
292
|
readonly pattern: '^[1-9]\\d*$';
|
|
302
293
|
};
|
|
303
294
|
readonly measure: {
|
|
295
|
+
readonly title: 'Measure';
|
|
304
296
|
readonly type: 'string';
|
|
305
297
|
readonly enum: readonly ['content', 'retained'];
|
|
306
298
|
};
|
|
307
299
|
};
|
|
308
300
|
readonly required: readonly ['held', 'limit', 'measure'];
|
|
309
301
|
};
|
|
302
|
+
readonly chat: {
|
|
303
|
+
readonly title: 'Chat';
|
|
304
|
+
readonly type: 'string';
|
|
305
|
+
};
|
|
306
|
+
readonly missing: {
|
|
307
|
+
readonly title: 'Missing';
|
|
308
|
+
readonly type: 'array';
|
|
309
|
+
readonly items: {
|
|
310
|
+
readonly type: 'string';
|
|
311
|
+
readonly enum: readonly ['private', 'topics', 'ban_users', 'invite_users', 'manage_topics', 'post_messages', 'edit_messages', 'inbox_manage_topics', 'inbox_delete_messages'];
|
|
312
|
+
};
|
|
313
|
+
};
|
|
310
314
|
readonly budget: {
|
|
315
|
+
readonly title: 'Budget';
|
|
311
316
|
readonly type: 'string';
|
|
312
317
|
readonly pattern: '^\\d+(?:\\.\\d+)?$';
|
|
313
318
|
};
|
|
314
319
|
readonly resets_at: {
|
|
320
|
+
readonly title: 'Resets at';
|
|
315
321
|
readonly type: 'string';
|
|
316
322
|
readonly format: 'date-time';
|
|
317
323
|
};
|
|
318
324
|
readonly grant: {
|
|
325
|
+
readonly title: 'Grant';
|
|
319
326
|
readonly $ref: '#/$defs/id';
|
|
320
327
|
};
|
|
321
328
|
readonly category: {
|
|
329
|
+
readonly title: 'Category';
|
|
322
330
|
readonly type: 'string';
|
|
323
331
|
};
|
|
324
332
|
readonly access_started_at: {
|
|
333
|
+
readonly title: 'Access started at';
|
|
325
334
|
readonly type: 'string';
|
|
326
335
|
readonly format: 'date-time';
|
|
327
336
|
};
|
|
328
337
|
readonly access_ended_at: {
|
|
338
|
+
readonly title: 'Access ended at';
|
|
329
339
|
readonly type: 'string';
|
|
330
340
|
readonly format: 'date-time';
|
|
331
341
|
};
|
|
332
342
|
readonly systems: {
|
|
343
|
+
readonly title: 'Systems';
|
|
333
344
|
readonly type: 'array';
|
|
334
345
|
readonly items: {
|
|
335
346
|
readonly type: 'string';
|
|
336
347
|
};
|
|
337
348
|
};
|
|
338
349
|
readonly case_reference: {
|
|
350
|
+
readonly title: 'Case reference';
|
|
339
351
|
readonly type: 'string';
|
|
340
352
|
};
|
|
341
|
-
readonly
|
|
353
|
+
readonly export: {
|
|
354
|
+
readonly title: 'Export';
|
|
342
355
|
readonly $ref: '#/$defs/id';
|
|
343
356
|
};
|
|
344
|
-
readonly
|
|
345
|
-
readonly
|
|
346
|
-
readonly
|
|
347
|
-
readonly
|
|
348
|
-
readonly name: {
|
|
349
|
-
readonly type: 'string';
|
|
350
|
-
};
|
|
351
|
-
};
|
|
352
|
-
readonly required: readonly ['name'];
|
|
353
|
-
};
|
|
354
|
-
readonly agent: {
|
|
355
|
-
readonly type: 'object';
|
|
356
|
-
readonly additionalProperties: false;
|
|
357
|
-
readonly properties: {
|
|
358
|
-
readonly agent: {
|
|
359
|
-
readonly $ref: '#/$defs/id';
|
|
360
|
-
};
|
|
361
|
-
readonly name: {
|
|
362
|
-
readonly type: 'string';
|
|
363
|
-
};
|
|
364
|
-
};
|
|
365
|
-
readonly required: readonly ['name'];
|
|
357
|
+
readonly size_bytes: {
|
|
358
|
+
readonly title: 'Size in bytes';
|
|
359
|
+
readonly type: 'integer';
|
|
360
|
+
readonly minimum: 0;
|
|
366
361
|
};
|
|
367
|
-
readonly
|
|
368
|
-
readonly
|
|
362
|
+
readonly name: {
|
|
363
|
+
readonly title: 'Name';
|
|
364
|
+
readonly type: 'string';
|
|
369
365
|
};
|
|
370
|
-
readonly
|
|
366
|
+
readonly authorship: {
|
|
367
|
+
readonly title: 'Authorship';
|
|
371
368
|
readonly type: 'object';
|
|
372
369
|
readonly additionalProperties: false;
|
|
373
370
|
readonly properties: {
|
|
374
|
-
readonly
|
|
371
|
+
readonly kind: {
|
|
372
|
+
readonly title: 'Kind';
|
|
375
373
|
readonly type: 'string';
|
|
374
|
+
readonly const: 'trigger-action';
|
|
376
375
|
};
|
|
377
|
-
readonly
|
|
376
|
+
readonly trigger: {
|
|
377
|
+
readonly title: 'Trigger';
|
|
378
|
+
readonly $ref: '#/$defs/id';
|
|
379
|
+
};
|
|
380
|
+
readonly position: {
|
|
381
|
+
readonly title: 'Position';
|
|
378
382
|
readonly type: 'integer';
|
|
379
|
-
readonly minimum:
|
|
383
|
+
readonly minimum: 0;
|
|
380
384
|
};
|
|
381
385
|
};
|
|
382
|
-
readonly required: readonly ['
|
|
383
|
-
};
|
|
384
|
-
readonly export: {
|
|
385
|
-
readonly $ref: '#/$defs/id';
|
|
386
|
+
readonly required: readonly ['kind', 'trigger', 'position'];
|
|
386
387
|
};
|
|
387
|
-
readonly
|
|
388
|
-
readonly
|
|
389
|
-
readonly
|
|
388
|
+
readonly path: {
|
|
389
|
+
readonly title: 'Path';
|
|
390
|
+
readonly type: 'string';
|
|
391
|
+
readonly maxLength: 4096;
|
|
392
|
+
readonly pattern: '^\\/.*';
|
|
390
393
|
};
|
|
391
|
-
readonly
|
|
394
|
+
readonly trigger: {
|
|
395
|
+
readonly title: 'Trigger';
|
|
392
396
|
readonly type: 'object';
|
|
393
397
|
readonly additionalProperties: false;
|
|
394
398
|
readonly properties: {
|
|
395
|
-
readonly
|
|
399
|
+
readonly trigger: {
|
|
400
|
+
readonly title: 'Trigger';
|
|
396
401
|
readonly $ref: '#/$defs/id';
|
|
397
402
|
};
|
|
398
|
-
readonly
|
|
403
|
+
readonly description: {
|
|
404
|
+
readonly title: 'Description';
|
|
399
405
|
readonly type: 'string';
|
|
400
406
|
};
|
|
401
407
|
};
|
|
402
|
-
readonly required: readonly ['
|
|
408
|
+
readonly required: readonly ['trigger', 'description'];
|
|
403
409
|
};
|
|
404
|
-
readonly
|
|
410
|
+
readonly code: {
|
|
411
|
+
readonly title: 'Code';
|
|
405
412
|
readonly type: 'string';
|
|
406
|
-
readonly
|
|
407
|
-
readonly format: 'uri';
|
|
413
|
+
readonly enum: readonly ['failed', 'function_failed', 'function_not_started', 'agent_function_request_not_started'];
|
|
408
414
|
};
|
|
409
|
-
readonly
|
|
415
|
+
readonly action: {
|
|
416
|
+
readonly title: 'Action';
|
|
410
417
|
readonly type: 'integer';
|
|
411
418
|
readonly minimum: 0;
|
|
412
419
|
};
|
|
413
|
-
readonly
|
|
414
|
-
readonly
|
|
415
|
-
readonly minimum: 0;
|
|
416
|
-
};
|
|
417
|
-
readonly title: {
|
|
420
|
+
readonly moment: {
|
|
421
|
+
readonly title: 'Moment';
|
|
418
422
|
readonly type: 'string';
|
|
423
|
+
readonly format: 'date-time';
|
|
419
424
|
};
|
|
420
|
-
readonly
|
|
425
|
+
readonly error: {
|
|
426
|
+
readonly title: 'Error';
|
|
421
427
|
readonly type: 'string';
|
|
422
428
|
};
|
|
423
|
-
readonly
|
|
429
|
+
readonly agent_function: {
|
|
430
|
+
readonly title: 'Agent function';
|
|
424
431
|
readonly type: 'object';
|
|
425
432
|
readonly additionalProperties: false;
|
|
426
433
|
readonly properties: {
|
|
427
|
-
readonly
|
|
434
|
+
readonly name: {
|
|
435
|
+
readonly title: 'Name';
|
|
428
436
|
readonly type: 'string';
|
|
429
|
-
readonly const: 'trigger-action';
|
|
430
437
|
};
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
438
|
+
};
|
|
439
|
+
readonly required: readonly ['name'];
|
|
440
|
+
};
|
|
441
|
+
readonly agent: {
|
|
442
|
+
readonly title: 'Agent';
|
|
443
|
+
readonly type: 'object';
|
|
444
|
+
readonly additionalProperties: false;
|
|
445
|
+
readonly properties: {
|
|
446
|
+
readonly name: {
|
|
447
|
+
readonly title: 'Name';
|
|
448
|
+
readonly type: 'string';
|
|
437
449
|
};
|
|
438
450
|
};
|
|
439
|
-
readonly required: readonly ['
|
|
451
|
+
readonly required: readonly ['name'];
|
|
440
452
|
};
|
|
441
|
-
readonly
|
|
453
|
+
readonly ended: {
|
|
454
|
+
readonly title: 'Ended';
|
|
442
455
|
readonly type: 'string';
|
|
443
|
-
readonly
|
|
444
|
-
|
|
456
|
+
readonly enum: readonly ['finished', 'failed'];
|
|
457
|
+
};
|
|
458
|
+
readonly duration: {
|
|
459
|
+
readonly title: 'Duration';
|
|
460
|
+
readonly type: 'integer';
|
|
461
|
+
readonly minimum: 1;
|
|
445
462
|
};
|
|
446
463
|
};
|
|
447
464
|
readonly required: readonly ['notification', 'kind', 'created', 'way_in', 'subject'];
|
|
@@ -454,26 +471,33 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
454
471
|
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.";
|
|
455
472
|
readonly properties: {
|
|
456
473
|
readonly reflected: {
|
|
474
|
+
readonly title: 'Reflected';
|
|
457
475
|
readonly type: 'string';
|
|
458
476
|
readonly format: 'date-time';
|
|
459
477
|
};
|
|
460
478
|
readonly agent_function: {
|
|
479
|
+
readonly title: 'Agent function';
|
|
461
480
|
readonly $ref: '#/$defs/id';
|
|
462
481
|
};
|
|
463
482
|
readonly description: {
|
|
483
|
+
readonly title: 'Description';
|
|
464
484
|
readonly type: 'string';
|
|
465
485
|
};
|
|
466
486
|
readonly input: {
|
|
487
|
+
readonly title: 'Input';
|
|
467
488
|
readonly type: 'string';
|
|
468
489
|
};
|
|
469
490
|
readonly agent: {
|
|
491
|
+
readonly title: 'Agent';
|
|
470
492
|
readonly type: 'object';
|
|
471
493
|
readonly additionalProperties: false;
|
|
472
494
|
readonly properties: {
|
|
473
495
|
readonly agent: {
|
|
496
|
+
readonly title: 'Agent';
|
|
474
497
|
readonly $ref: '#/$defs/id';
|
|
475
498
|
};
|
|
476
499
|
readonly name: {
|
|
500
|
+
readonly title: 'Name';
|
|
477
501
|
readonly type: 'string';
|
|
478
502
|
};
|
|
479
503
|
};
|
|
@@ -483,19 +507,26 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
483
507
|
readonly required: readonly ['reflected', 'agent_function', 'description', 'input', 'agent'];
|
|
484
508
|
};
|
|
485
509
|
readonly 'house-agent-function-document': {
|
|
486
|
-
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,
|
|
510
|
+
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, the `agent` it starts, by identifier, and `afk`, true for a run nobody watches, off when absent. Its body is the instruction that Agent follows.';
|
|
487
511
|
readonly properties: {
|
|
488
512
|
readonly description: {
|
|
513
|
+
readonly title: 'Description';
|
|
489
514
|
readonly type: 'string';
|
|
490
515
|
readonly maxLength: 2000;
|
|
491
516
|
readonly pattern: '\\S';
|
|
492
517
|
};
|
|
493
518
|
readonly input: {
|
|
519
|
+
readonly title: 'Input';
|
|
494
520
|
readonly type: 'string';
|
|
495
521
|
};
|
|
496
522
|
readonly agent: {
|
|
523
|
+
readonly title: 'Agent';
|
|
497
524
|
readonly $ref: '#/$defs/id';
|
|
498
525
|
};
|
|
526
|
+
readonly afk: {
|
|
527
|
+
readonly title: 'AFK';
|
|
528
|
+
readonly type: 'boolean';
|
|
529
|
+
};
|
|
499
530
|
};
|
|
500
531
|
readonly required: readonly ['description', 'input', 'agent'];
|
|
501
532
|
};
|
|
@@ -503,178 +534,26 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
503
534
|
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.";
|
|
504
535
|
readonly properties: {
|
|
505
536
|
readonly reflected: {
|
|
537
|
+
readonly title: 'Reflected';
|
|
506
538
|
readonly type: 'string';
|
|
507
539
|
readonly format: 'date-time';
|
|
508
540
|
};
|
|
509
541
|
readonly trigger: {
|
|
542
|
+
readonly title: 'Trigger';
|
|
510
543
|
readonly $ref: '#/$defs/id';
|
|
511
544
|
};
|
|
512
545
|
readonly description: {
|
|
546
|
+
readonly title: 'Description';
|
|
513
547
|
readonly type: 'string';
|
|
514
548
|
};
|
|
515
549
|
readonly condition: {
|
|
516
|
-
readonly
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
readonly on: {
|
|
521
|
-
readonly const: 'documents';
|
|
522
|
-
};
|
|
523
|
-
readonly scope: {
|
|
524
|
-
readonly $ref: '#/$defs/trigger_scope';
|
|
525
|
-
};
|
|
526
|
-
readonly mode: {
|
|
527
|
-
readonly const: 'starts_matching';
|
|
528
|
-
};
|
|
529
|
-
readonly new_documents: {
|
|
530
|
-
readonly type: 'boolean';
|
|
531
|
-
};
|
|
532
|
-
readonly match: {
|
|
533
|
-
readonly $ref: '#/$defs/trigger_test';
|
|
534
|
-
};
|
|
535
|
-
readonly by: {
|
|
536
|
-
readonly $ref: '#/$defs/trigger_test';
|
|
537
|
-
};
|
|
538
|
-
readonly moved_between_rooms: {
|
|
539
|
-
readonly type: 'boolean';
|
|
540
|
-
};
|
|
541
|
-
};
|
|
542
|
-
readonly required: readonly ['on', 'scope', 'mode', 'new_documents', 'match'];
|
|
543
|
-
}, {
|
|
544
|
-
readonly type: 'object';
|
|
545
|
-
readonly additionalProperties: false;
|
|
546
|
-
readonly properties: {
|
|
547
|
-
readonly on: {
|
|
548
|
-
readonly const: 'documents';
|
|
549
|
-
};
|
|
550
|
-
readonly scope: {
|
|
551
|
-
readonly $ref: '#/$defs/trigger_scope';
|
|
552
|
-
};
|
|
553
|
-
readonly mode: {
|
|
554
|
-
readonly const: 'field_changes';
|
|
555
|
-
};
|
|
556
|
-
readonly field: {
|
|
557
|
-
readonly type: 'string';
|
|
558
|
-
};
|
|
559
|
-
readonly from: {
|
|
560
|
-
readonly anyOf: readonly [{
|
|
561
|
-
readonly $ref: '#/$defs/trigger_values';
|
|
562
|
-
}, {
|
|
563
|
-
readonly const: 'new';
|
|
564
|
-
}];
|
|
565
|
-
};
|
|
566
|
-
readonly to: {
|
|
567
|
-
readonly anyOf: readonly [{
|
|
568
|
-
readonly $ref: '#/$defs/trigger_values';
|
|
569
|
-
}, {
|
|
570
|
-
readonly const: 'deleted';
|
|
571
|
-
}];
|
|
572
|
-
};
|
|
573
|
-
readonly match: {
|
|
574
|
-
readonly $ref: '#/$defs/trigger_test';
|
|
575
|
-
};
|
|
576
|
-
readonly by: {
|
|
577
|
-
readonly $ref: '#/$defs/trigger_test';
|
|
578
|
-
};
|
|
579
|
-
readonly moved_between_rooms: {
|
|
580
|
-
readonly type: 'boolean';
|
|
581
|
-
};
|
|
582
|
-
};
|
|
583
|
-
readonly required: readonly ['on', 'scope', 'mode', 'field'];
|
|
584
|
-
}, {
|
|
585
|
-
readonly type: 'object';
|
|
586
|
-
readonly additionalProperties: false;
|
|
587
|
-
readonly properties: {
|
|
588
|
-
readonly on: {
|
|
589
|
-
readonly const: 'items';
|
|
590
|
-
};
|
|
591
|
-
readonly source: {
|
|
592
|
-
readonly type: 'string';
|
|
593
|
-
};
|
|
594
|
-
readonly address: {
|
|
595
|
-
readonly type: 'string';
|
|
596
|
-
};
|
|
597
|
-
readonly match: {
|
|
598
|
-
readonly $ref: '#/$defs/trigger_test';
|
|
599
|
-
};
|
|
600
|
-
};
|
|
601
|
-
readonly required: readonly ['on'];
|
|
602
|
-
}, {
|
|
603
|
-
readonly type: 'object';
|
|
604
|
-
readonly additionalProperties: false;
|
|
605
|
-
readonly properties: {
|
|
606
|
-
readonly on: {
|
|
607
|
-
readonly const: 'notifications';
|
|
608
|
-
};
|
|
609
|
-
readonly match: {
|
|
610
|
-
readonly $ref: '#/$defs/trigger_test';
|
|
611
|
-
};
|
|
612
|
-
};
|
|
613
|
-
readonly required: readonly ['on'];
|
|
614
|
-
}, {
|
|
615
|
-
readonly type: 'object';
|
|
616
|
-
readonly additionalProperties: false;
|
|
617
|
-
readonly properties: {
|
|
618
|
-
readonly on: {
|
|
619
|
-
readonly const: 'messages';
|
|
620
|
-
};
|
|
621
|
-
readonly match: {
|
|
622
|
-
readonly $ref: '#/$defs/trigger_test';
|
|
623
|
-
};
|
|
624
|
-
};
|
|
625
|
-
readonly required: readonly ['on'];
|
|
626
|
-
}, {
|
|
627
|
-
readonly type: 'object';
|
|
628
|
-
readonly additionalProperties: false;
|
|
629
|
-
readonly properties: {
|
|
630
|
-
readonly on: {
|
|
631
|
-
readonly const: 'clock';
|
|
632
|
-
};
|
|
633
|
-
readonly cron: {
|
|
634
|
-
readonly type: 'string';
|
|
635
|
-
};
|
|
636
|
-
readonly time_zone: {
|
|
637
|
-
readonly type: 'string';
|
|
638
|
-
};
|
|
639
|
-
};
|
|
640
|
-
readonly required: readonly ['on', 'cron', 'time_zone'];
|
|
641
|
-
}, {
|
|
642
|
-
readonly type: 'object';
|
|
643
|
-
readonly additionalProperties: false;
|
|
644
|
-
readonly properties: {
|
|
645
|
-
readonly on: {
|
|
646
|
-
readonly const: 'clock';
|
|
647
|
-
};
|
|
648
|
-
readonly scope: {
|
|
649
|
-
readonly type: 'object';
|
|
650
|
-
readonly additionalProperties: false;
|
|
651
|
-
readonly properties: {
|
|
652
|
-
readonly type: {
|
|
653
|
-
readonly type: 'string';
|
|
654
|
-
};
|
|
655
|
-
};
|
|
656
|
-
readonly required: readonly ['type'];
|
|
657
|
-
};
|
|
658
|
-
readonly date: {
|
|
659
|
-
readonly type: 'string';
|
|
660
|
-
};
|
|
661
|
-
readonly days: {
|
|
662
|
-
readonly type: 'integer';
|
|
663
|
-
};
|
|
664
|
-
readonly at: {
|
|
665
|
-
readonly type: 'string';
|
|
666
|
-
};
|
|
667
|
-
readonly time_zone: {
|
|
668
|
-
readonly type: 'string';
|
|
669
|
-
};
|
|
670
|
-
readonly match: {
|
|
671
|
-
readonly $ref: '#/$defs/trigger_test';
|
|
672
|
-
};
|
|
673
|
-
};
|
|
674
|
-
readonly required: readonly ['on', 'scope', 'date', 'days', 'at', 'time_zone'];
|
|
675
|
-
}];
|
|
550
|
+
readonly title: 'Condition';
|
|
551
|
+
readonly description: 'When it fires, as the Trigger reference page writes it, a document it names at its current path.';
|
|
552
|
+
readonly type: 'object';
|
|
553
|
+
readonly additionalProperties: true;
|
|
676
554
|
};
|
|
677
555
|
readonly actions: {
|
|
556
|
+
readonly title: 'Actions';
|
|
678
557
|
readonly type: 'array';
|
|
679
558
|
readonly items: {
|
|
680
559
|
readonly anyOf: readonly [{
|
|
@@ -682,28 +561,35 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
682
561
|
readonly additionalProperties: false;
|
|
683
562
|
readonly properties: {
|
|
684
563
|
readonly kind: {
|
|
564
|
+
readonly title: 'Kind';
|
|
685
565
|
readonly const: 'notify';
|
|
686
566
|
};
|
|
687
567
|
readonly enabled: {
|
|
568
|
+
readonly title: 'Enabled';
|
|
688
569
|
readonly type: 'boolean';
|
|
689
570
|
};
|
|
690
571
|
readonly title: {
|
|
572
|
+
readonly title: 'Title';
|
|
691
573
|
readonly type: 'string';
|
|
692
574
|
};
|
|
693
575
|
readonly text: {
|
|
576
|
+
readonly title: 'Text';
|
|
694
577
|
readonly type: 'string';
|
|
695
578
|
};
|
|
696
579
|
readonly to: {
|
|
580
|
+
readonly title: 'To';
|
|
697
581
|
readonly type: 'object';
|
|
698
582
|
readonly additionalProperties: false;
|
|
699
583
|
readonly properties: {
|
|
700
584
|
readonly users: {
|
|
585
|
+
readonly title: 'Users';
|
|
701
586
|
readonly type: 'array';
|
|
702
587
|
readonly items: {
|
|
703
588
|
readonly type: 'object';
|
|
704
589
|
readonly additionalProperties: false;
|
|
705
590
|
readonly properties: {
|
|
706
591
|
readonly user: {
|
|
592
|
+
readonly title: 'User';
|
|
707
593
|
readonly $ref: '#/$defs/id';
|
|
708
594
|
};
|
|
709
595
|
};
|
|
@@ -711,12 +597,14 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
711
597
|
};
|
|
712
598
|
};
|
|
713
599
|
readonly fields: {
|
|
600
|
+
readonly title: 'Fields';
|
|
714
601
|
readonly type: 'array';
|
|
715
602
|
readonly items: {
|
|
716
603
|
readonly type: 'string';
|
|
717
604
|
};
|
|
718
605
|
};
|
|
719
606
|
readonly roles: {
|
|
607
|
+
readonly title: 'Roles';
|
|
720
608
|
readonly type: 'array';
|
|
721
609
|
readonly items: {
|
|
722
610
|
readonly type: 'string';
|
|
@@ -732,16 +620,20 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
732
620
|
readonly additionalProperties: false;
|
|
733
621
|
readonly properties: {
|
|
734
622
|
readonly kind: {
|
|
623
|
+
readonly title: 'Kind';
|
|
735
624
|
readonly const: 'agent_function';
|
|
736
625
|
};
|
|
737
626
|
readonly enabled: {
|
|
627
|
+
readonly title: 'Enabled';
|
|
738
628
|
readonly type: 'boolean';
|
|
739
629
|
};
|
|
740
630
|
readonly card: {
|
|
631
|
+
readonly title: 'Card';
|
|
741
632
|
readonly type: 'string';
|
|
742
633
|
readonly minLength: 1;
|
|
743
634
|
};
|
|
744
635
|
readonly payload: {
|
|
636
|
+
readonly title: 'Payload';
|
|
745
637
|
readonly type: 'string';
|
|
746
638
|
};
|
|
747
639
|
};
|
|
@@ -751,16 +643,20 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
751
643
|
readonly additionalProperties: false;
|
|
752
644
|
readonly properties: {
|
|
753
645
|
readonly kind: {
|
|
646
|
+
readonly title: 'Kind';
|
|
754
647
|
readonly const: 'message';
|
|
755
648
|
};
|
|
756
649
|
readonly enabled: {
|
|
650
|
+
readonly title: 'Enabled';
|
|
757
651
|
readonly type: 'boolean';
|
|
758
652
|
};
|
|
759
653
|
readonly card: {
|
|
654
|
+
readonly title: 'Card';
|
|
760
655
|
readonly type: 'string';
|
|
761
656
|
readonly minLength: 1;
|
|
762
657
|
};
|
|
763
658
|
readonly text: {
|
|
659
|
+
readonly title: 'Text';
|
|
764
660
|
readonly type: 'string';
|
|
765
661
|
};
|
|
766
662
|
};
|
|
@@ -770,9 +666,11 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
770
666
|
readonly additionalProperties: false;
|
|
771
667
|
readonly properties: {
|
|
772
668
|
readonly kind: {
|
|
669
|
+
readonly title: 'Kind';
|
|
773
670
|
readonly const: 'done';
|
|
774
671
|
};
|
|
775
672
|
readonly enabled: {
|
|
673
|
+
readonly title: 'Enabled';
|
|
776
674
|
readonly type: 'boolean';
|
|
777
675
|
};
|
|
778
676
|
};
|
|
@@ -782,15 +680,19 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
782
680
|
readonly additionalProperties: false;
|
|
783
681
|
readonly properties: {
|
|
784
682
|
readonly kind: {
|
|
683
|
+
readonly title: 'Kind';
|
|
785
684
|
readonly const: 'function';
|
|
786
685
|
};
|
|
787
686
|
readonly enabled: {
|
|
687
|
+
readonly title: 'Enabled';
|
|
788
688
|
readonly type: 'boolean';
|
|
789
689
|
};
|
|
790
690
|
readonly app: {
|
|
691
|
+
readonly title: 'App';
|
|
791
692
|
readonly $ref: '#/$defs/app';
|
|
792
693
|
};
|
|
793
694
|
readonly function: {
|
|
695
|
+
readonly title: 'Function';
|
|
794
696
|
readonly type: 'string';
|
|
795
697
|
};
|
|
796
698
|
};
|
|
@@ -799,25 +701,31 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
799
701
|
};
|
|
800
702
|
};
|
|
801
703
|
readonly enabled: {
|
|
704
|
+
readonly title: 'Enabled';
|
|
802
705
|
readonly type: 'boolean';
|
|
803
706
|
};
|
|
804
707
|
readonly paused_by: {
|
|
708
|
+
readonly title: 'Paused by';
|
|
805
709
|
readonly enum: readonly ['types'];
|
|
806
710
|
};
|
|
807
711
|
readonly creator: {
|
|
712
|
+
readonly title: 'Creator';
|
|
808
713
|
readonly type: 'object';
|
|
809
714
|
readonly additionalProperties: false;
|
|
810
715
|
readonly properties: {
|
|
811
716
|
readonly user: {
|
|
717
|
+
readonly title: 'User';
|
|
812
718
|
readonly $ref: '#/$defs/id';
|
|
813
719
|
};
|
|
814
720
|
readonly name: {
|
|
721
|
+
readonly title: 'Name';
|
|
815
722
|
readonly type: 'string';
|
|
816
723
|
};
|
|
817
724
|
};
|
|
818
725
|
readonly required: readonly ['user', 'name'];
|
|
819
726
|
};
|
|
820
727
|
readonly created: {
|
|
728
|
+
readonly title: 'Created';
|
|
821
729
|
readonly type: 'string';
|
|
822
730
|
readonly format: 'date-time';
|
|
823
731
|
};
|
|
@@ -828,32 +736,40 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
828
736
|
readonly description: "One Web Wizard an agent made for this User: the `environment` it runs on, with the `name` that Environment had when the Web Wizard was made, and its `state`, `waiting` until its owner presses Run or Keep, `running`, `finished` with the script's `exit_code`, `failed`, `cancelled` when its page closed before the script ended, `lapsed` when nobody ran it in its time, or `kept` when its owner kept the script, without running it, as their Environment function named `function`. Its body is the script, whole, in one fenced code block. The terminal's output is never kept.";
|
|
829
737
|
readonly properties: {
|
|
830
738
|
readonly reflected: {
|
|
739
|
+
readonly title: 'Reflected';
|
|
831
740
|
readonly type: 'string';
|
|
832
741
|
readonly format: 'date-time';
|
|
833
742
|
};
|
|
834
743
|
readonly web_wizard: {
|
|
744
|
+
readonly title: 'Web Wizard';
|
|
835
745
|
readonly $ref: '#/$defs/id';
|
|
836
746
|
};
|
|
837
747
|
readonly environment: {
|
|
748
|
+
readonly title: 'Environment';
|
|
838
749
|
readonly type: 'object';
|
|
839
750
|
readonly additionalProperties: false;
|
|
840
751
|
readonly properties: {
|
|
841
752
|
readonly environment: {
|
|
753
|
+
readonly title: 'Environment';
|
|
842
754
|
readonly $ref: '#/$defs/id';
|
|
843
755
|
};
|
|
844
756
|
readonly name: {
|
|
757
|
+
readonly title: 'Name';
|
|
845
758
|
readonly type: 'string';
|
|
846
759
|
};
|
|
847
760
|
};
|
|
848
761
|
readonly required: readonly ['environment', 'name'];
|
|
849
762
|
};
|
|
850
763
|
readonly state: {
|
|
764
|
+
readonly title: 'State';
|
|
851
765
|
readonly enum: readonly ['waiting', 'running', 'finished', 'failed', 'cancelled', 'lapsed', 'kept'];
|
|
852
766
|
};
|
|
853
767
|
readonly exit_code: {
|
|
768
|
+
readonly title: 'Exit code';
|
|
854
769
|
readonly type: 'integer';
|
|
855
770
|
};
|
|
856
771
|
readonly function: {
|
|
772
|
+
readonly title: 'Function';
|
|
857
773
|
readonly type: 'string';
|
|
858
774
|
};
|
|
859
775
|
};
|
|
@@ -880,7 +796,7 @@ type Properties<S> = S extends {
|
|
|
880
796
|
}> : S extends {
|
|
881
797
|
readonly additionalProperties: false;
|
|
882
798
|
} ? Readonly<Record<string, never>> : Readonly<Record<string, unknown>>;
|
|
883
|
-
type Typed<T, S> = T extends 'string' ? string : T extends 'integer'
|
|
799
|
+
type Typed<T, S> = T extends 'string' ? string : T extends 'integer' ? number : T extends 'boolean' ? boolean : T extends 'array' ? readonly (S extends {
|
|
884
800
|
readonly items: infer I;
|
|
885
801
|
} ? Value<I> : unknown)[] : T extends 'object' ? Properties<S> : never;
|
|
886
802
|
type Value<S> = S extends {
|
|
@@ -908,4 +824,3 @@ export type HouseDocumentFields<Type extends HouseModelType> = Properties<{
|
|
|
908
824
|
readonly required: readonly ('type' | Needed<Model[Type]>)[];
|
|
909
825
|
}>;
|
|
910
826
|
export {};
|
|
911
|
-
//# sourceMappingURL=house-model.d.ts.map
|