@vibes.diy/api-types 14.3.269 → 14.3.270
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/app.js +70 -70
- package/app.js.map +1 -1
- package/guest-app-visitors.d.ts +20 -0
- package/guest-app-visitors.js +23 -0
- package/guest-app-visitors.js.map +1 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/index.js.map +1 -1
- package/invite-flow.d.ts +152 -152
- package/invite.js +57 -57
- package/invite.js.map +1 -1
- package/package.json +4 -4
- package/settings.d.ts +43 -0
- package/settings.js +16 -1
- package/settings.js.map +1 -1
- package/shard-policy.d.ts +1 -0
- package/shard-policy.js +1 -0
- package/shard-policy.js.map +1 -1
- package/social-msg.js +36 -36
- package/social-msg.js.map +1 -1
- package/vibes-diy-api.d.ts +2 -0
- package/vibes-diy-api.js.map +1 -1
package/app.js
CHANGED
|
@@ -31,14 +31,14 @@ export const resEnsureAppSlugRequireLogin = lazyType(() => type({
|
|
|
31
31
|
error: type({ message: "string", code: "'require-login'" }),
|
|
32
32
|
}));
|
|
33
33
|
export function isResEnsureAppSlugOk(obj) {
|
|
34
|
-
return
|
|
34
|
+
return resEnsureAppSlugOk.allows(obj);
|
|
35
35
|
}
|
|
36
36
|
export const resEnsureAppSlugUserSlugInvalid = lazyType(() => type({
|
|
37
37
|
type: "'vibes.diy.res-error'",
|
|
38
38
|
error: type({ message: "string", code: "'user-slug-invalid'" }),
|
|
39
39
|
}));
|
|
40
40
|
export function isResEnsureAppSlugUserSlugInvalid(obj) {
|
|
41
|
-
return
|
|
41
|
+
return resEnsureAppSlugUserSlugInvalid.allows(obj);
|
|
42
42
|
}
|
|
43
43
|
export const resEnsureAppSlugInvalid = lazyType(() => type({
|
|
44
44
|
type: "'vibes.diy.res-error'",
|
|
@@ -76,7 +76,7 @@ export const resAutoEnhanceOff = lazyType(() => type({
|
|
|
76
76
|
error: type({ message: "string", code: "'auto-enhance-off'" }),
|
|
77
77
|
}));
|
|
78
78
|
export function isResAutoEnhanceOff(obj) {
|
|
79
|
-
return
|
|
79
|
+
return resAutoEnhanceOff.allows(obj);
|
|
80
80
|
}
|
|
81
81
|
export function mkResAutoEnhanceOff() {
|
|
82
82
|
return { type: "vibes.diy.res-error", error: { message: AUTO_ENHANCE_OFF_MESSAGE, code: AUTO_ENHANCE_OFF_CODE } };
|
|
@@ -92,7 +92,7 @@ export const resHandleRequired = lazyType(() => type({
|
|
|
92
92
|
error: type({ message: "string", code: "'handle-required'" }),
|
|
93
93
|
}));
|
|
94
94
|
export function isResHandleRequired(obj) {
|
|
95
|
-
return
|
|
95
|
+
return resHandleRequired.allows(obj);
|
|
96
96
|
}
|
|
97
97
|
export function mkResHandleRequired() {
|
|
98
98
|
return {
|
|
@@ -105,10 +105,10 @@ const resEnsureAppSlugMaxAppsError = lazyType(() => type({
|
|
|
105
105
|
error: type({ message: "string", code: "'max-app-slugs-reached'" }),
|
|
106
106
|
}));
|
|
107
107
|
export function isResEnsureAppSlugMaxAppsError(obj) {
|
|
108
|
-
return
|
|
108
|
+
return resEnsureAppSlugMaxAppsError.allows(obj);
|
|
109
109
|
}
|
|
110
110
|
export function isResEnsureAppSlugInvalid(obj) {
|
|
111
|
-
return
|
|
111
|
+
return resEnsureAppSlugInvalid.allows(obj);
|
|
112
112
|
}
|
|
113
113
|
export const resEnsureAppSlugError = lazyType(() => resEnsureAppSlugRequireLogin
|
|
114
114
|
.or(resEnsureAppSlugUserSlugInvalid)
|
|
@@ -120,10 +120,10 @@ export const resEnsureAppSlugError = lazyType(() => resEnsureAppSlugRequireLogin
|
|
|
120
120
|
.or(resAutoEnhanceOff));
|
|
121
121
|
export const resEnsureAppSlug = lazyType(() => resEnsureAppSlugOk.or(resEnsureAppSlugError));
|
|
122
122
|
export function isResEnsureAppSlugError(obj) {
|
|
123
|
-
return
|
|
123
|
+
return resEnsureAppSlugError.allows(obj);
|
|
124
124
|
}
|
|
125
125
|
export function isResEnsureAppSlug(obj) {
|
|
126
|
-
return
|
|
126
|
+
return resEnsureAppSlug.allows(obj);
|
|
127
127
|
}
|
|
128
128
|
export const reqGetChatDetails = lazyType(() => type({
|
|
129
129
|
type: "'vibes.diy.req-get-chat-details'",
|
|
@@ -146,7 +146,7 @@ export const resGetChatDetails = lazyType(() => type({
|
|
|
146
146
|
prompts: resChatDetailsPrompt.array(),
|
|
147
147
|
}));
|
|
148
148
|
export function isResGetChatDetails(obj) {
|
|
149
|
-
return
|
|
149
|
+
return resGetChatDetails.allows(obj);
|
|
150
150
|
}
|
|
151
151
|
export const reqGetApplicationChat = lazyType(() => type({
|
|
152
152
|
type: "'vibes.diy.req-get-application-chat'",
|
|
@@ -163,7 +163,7 @@ export const resGetApplicationChat = lazyType(() => type({
|
|
|
163
163
|
blocks: PromptAndBlockMsgs.array(),
|
|
164
164
|
}));
|
|
165
165
|
export function isResGetApplicationChat(obj) {
|
|
166
|
-
return
|
|
166
|
+
return resGetApplicationChat.allows(obj);
|
|
167
167
|
}
|
|
168
168
|
export const reqGetAppByFsId = lazyType(() => type({
|
|
169
169
|
type: "'vibes.diy.req-get-app-by-fsid'",
|
|
@@ -176,7 +176,7 @@ export const reqGetAppByFsId = lazyType(() => type({
|
|
|
176
176
|
"asHandle?": "string",
|
|
177
177
|
}));
|
|
178
178
|
export function isReqGetAppByFsId(obj) {
|
|
179
|
-
return
|
|
179
|
+
return reqGetAppByFsId.allows(obj);
|
|
180
180
|
}
|
|
181
181
|
export const resGetAppByFsId = lazyType(() => type({
|
|
182
182
|
type: "'vibes.diy.res-get-app-by-fsid'",
|
|
@@ -204,7 +204,7 @@ export const resGetAppByFsId = lazyType(() => type({
|
|
|
204
204
|
created: "string",
|
|
205
205
|
}));
|
|
206
206
|
export function isResGetAppByFsId(obj) {
|
|
207
|
-
return
|
|
207
|
+
return resGetAppByFsId.allows(obj);
|
|
208
208
|
}
|
|
209
209
|
export const reqListVersions = lazyType(() => type({
|
|
210
210
|
type: "'vibes.diy.req-list-versions'",
|
|
@@ -213,7 +213,7 @@ export const reqListVersions = lazyType(() => type({
|
|
|
213
213
|
ownerHandle: "string",
|
|
214
214
|
}));
|
|
215
215
|
export function isReqListVersions(obj) {
|
|
216
|
-
return
|
|
216
|
+
return reqListVersions.allows(obj);
|
|
217
217
|
}
|
|
218
218
|
export const resListVersionsItem = lazyType(() => type({
|
|
219
219
|
fsId: "string",
|
|
@@ -230,7 +230,7 @@ export const resListVersions = lazyType(() => type({
|
|
|
230
230
|
"lockedFsId?": "string",
|
|
231
231
|
}));
|
|
232
232
|
export function isResListVersions(obj) {
|
|
233
|
-
return
|
|
233
|
+
return resListVersions.allows(obj);
|
|
234
234
|
}
|
|
235
235
|
export const reqGetByUserSlugAppSlug = lazyType(() => type({
|
|
236
236
|
type: "'vibes.diy.req-get-by-user-slug-app-slug'",
|
|
@@ -245,7 +245,7 @@ export const reqListUserSlugAppSlug = lazyType(() => type({
|
|
|
245
245
|
"appSlug?": "string",
|
|
246
246
|
}));
|
|
247
247
|
export function isReqListUserSlugAppSlug(obj) {
|
|
248
|
-
return
|
|
248
|
+
return reqListUserSlugAppSlug.allows(obj);
|
|
249
249
|
}
|
|
250
250
|
export const resListUserSlugAppSlugItem = lazyType(() => type({
|
|
251
251
|
userId: "string",
|
|
@@ -257,7 +257,7 @@ export const resListUserSlugAppSlug = lazyType(() => type({
|
|
|
257
257
|
items: resListUserSlugAppSlugItem.array(),
|
|
258
258
|
}));
|
|
259
259
|
export function isResListUserSlugAppSlug(obj) {
|
|
260
|
-
return
|
|
260
|
+
return resListUserSlugAppSlug.allows(obj);
|
|
261
261
|
}
|
|
262
262
|
export const reqListRecentVibes = lazyType(() => type({
|
|
263
263
|
type: "'vibes.diy.req-list-recent-vibes'",
|
|
@@ -268,7 +268,7 @@ export const reqListRecentVibes = lazyType(() => type({
|
|
|
268
268
|
"asHandle?": "string",
|
|
269
269
|
}));
|
|
270
270
|
export function isReqListRecentVibes(obj) {
|
|
271
|
-
return
|
|
271
|
+
return reqListRecentVibes.allows(obj);
|
|
272
272
|
}
|
|
273
273
|
export const resRecentVibesItem = lazyType(() => type({
|
|
274
274
|
ownerHandle: "string",
|
|
@@ -287,7 +287,7 @@ export const resListRecentVibes = lazyType(() => type({
|
|
|
287
287
|
"viewedAs?": "string",
|
|
288
288
|
}));
|
|
289
289
|
export function isResListRecentVibes(obj) {
|
|
290
|
-
return
|
|
290
|
+
return resListRecentVibes.allows(obj);
|
|
291
291
|
}
|
|
292
292
|
export const reqPinRecentVibe = lazyType(() => type({
|
|
293
293
|
type: "'vibes.diy.req-pin-recent-vibe'",
|
|
@@ -297,7 +297,7 @@ export const reqPinRecentVibe = lazyType(() => type({
|
|
|
297
297
|
pin: "boolean",
|
|
298
298
|
}));
|
|
299
299
|
export function isReqPinRecentVibe(obj) {
|
|
300
|
-
return
|
|
300
|
+
return reqPinRecentVibe.allows(obj);
|
|
301
301
|
}
|
|
302
302
|
export const resPinRecentVibe = lazyType(() => type({
|
|
303
303
|
type: "'vibes.diy.res-pin-recent-vibe'",
|
|
@@ -306,7 +306,7 @@ export const resPinRecentVibe = lazyType(() => type({
|
|
|
306
306
|
pinnedAt: "string",
|
|
307
307
|
}));
|
|
308
308
|
export function isResPinRecentVibe(obj) {
|
|
309
|
-
return
|
|
309
|
+
return resPinRecentVibe.allows(obj);
|
|
310
310
|
}
|
|
311
311
|
export const reqSetUnpublish = lazyType(() => type({
|
|
312
312
|
type: "'vibes.diy.req-set-unpublish'",
|
|
@@ -316,7 +316,7 @@ export const reqSetUnpublish = lazyType(() => type({
|
|
|
316
316
|
unpublish: "boolean",
|
|
317
317
|
}));
|
|
318
318
|
export function isReqSetUnpublish(obj) {
|
|
319
|
-
return
|
|
319
|
+
return reqSetUnpublish.allows(obj);
|
|
320
320
|
}
|
|
321
321
|
export const resSetUnpublish = lazyType(() => type({
|
|
322
322
|
type: "'vibes.diy.res-set-unpublish'",
|
|
@@ -326,7 +326,7 @@ export const resSetUnpublish = lazyType(() => type({
|
|
|
326
326
|
previousUnpublishedAt: "string",
|
|
327
327
|
}));
|
|
328
328
|
export function isResSetUnpublish(obj) {
|
|
329
|
-
return
|
|
329
|
+
return resSetUnpublish.allows(obj);
|
|
330
330
|
}
|
|
331
331
|
export const reqSetVibeChips = lazyType(() => type({
|
|
332
332
|
type: "'vibes.diy.req-set-vibe-chips'",
|
|
@@ -337,7 +337,7 @@ export const reqSetVibeChips = lazyType(() => type({
|
|
|
337
337
|
"fsId?": "string",
|
|
338
338
|
}));
|
|
339
339
|
export function isReqSetVibeChips(obj) {
|
|
340
|
-
return
|
|
340
|
+
return reqSetVibeChips.allows(obj);
|
|
341
341
|
}
|
|
342
342
|
export const resSetVibeChips = lazyType(() => type({
|
|
343
343
|
type: "'vibes.diy.res-set-vibe-chips'",
|
|
@@ -349,7 +349,7 @@ export const resSetVibeChips = lazyType(() => type({
|
|
|
349
349
|
"chipItems?": OfferedOption.array(),
|
|
350
350
|
}));
|
|
351
351
|
export function isResSetVibeChips(obj) {
|
|
352
|
-
return
|
|
352
|
+
return resSetVibeChips.allows(obj);
|
|
353
353
|
}
|
|
354
354
|
export const reqAppTickStatus = lazyType(() => type({
|
|
355
355
|
type: "'vibes.diy.req-app-tick-status'",
|
|
@@ -358,7 +358,7 @@ export const reqAppTickStatus = lazyType(() => type({
|
|
|
358
358
|
appSlug: "string",
|
|
359
359
|
}));
|
|
360
360
|
export function isReqAppTickStatus(obj) {
|
|
361
|
-
return
|
|
361
|
+
return reqAppTickStatus.allows(obj);
|
|
362
362
|
}
|
|
363
363
|
export const resAppTickStatus = lazyType(() => type({
|
|
364
364
|
type: "'vibes.diy.res-app-tick-status'",
|
|
@@ -378,7 +378,7 @@ export const resAppTickStatus = lazyType(() => type({
|
|
|
378
378
|
healed: "boolean",
|
|
379
379
|
}));
|
|
380
380
|
export function isResAppTickStatus(obj) {
|
|
381
|
-
return
|
|
381
|
+
return resAppTickStatus.allows(obj);
|
|
382
382
|
}
|
|
383
383
|
export const APP_OWNER_STATS_DAYS = 30;
|
|
384
384
|
export const reqAppOwnerStats = lazyType(() => type({
|
|
@@ -388,7 +388,7 @@ export const reqAppOwnerStats = lazyType(() => type({
|
|
|
388
388
|
appSlug: "string",
|
|
389
389
|
}));
|
|
390
390
|
export function isReqAppOwnerStats(obj) {
|
|
391
|
-
return
|
|
391
|
+
return reqAppOwnerStats.allows(obj);
|
|
392
392
|
}
|
|
393
393
|
export const resAppOwnerStats = lazyType(() => type({
|
|
394
394
|
type: "'vibes.diy.res-app-owner-stats'",
|
|
@@ -407,7 +407,7 @@ export const resAppOwnerStats = lazyType(() => type({
|
|
|
407
407
|
},
|
|
408
408
|
}));
|
|
409
409
|
export function isResAppOwnerStats(obj) {
|
|
410
|
-
return
|
|
410
|
+
return resAppOwnerStats.allows(obj);
|
|
411
411
|
}
|
|
412
412
|
export const reqAppTickRearm = lazyType(() => type({
|
|
413
413
|
type: "'vibes.diy.req-app-tick-rearm'",
|
|
@@ -416,7 +416,7 @@ export const reqAppTickRearm = lazyType(() => type({
|
|
|
416
416
|
appSlug: "string",
|
|
417
417
|
}));
|
|
418
418
|
export function isReqAppTickRearm(obj) {
|
|
419
|
-
return
|
|
419
|
+
return reqAppTickRearm.allows(obj);
|
|
420
420
|
}
|
|
421
421
|
export const resAppTickRearm = lazyType(() => type({
|
|
422
422
|
type: "'vibes.diy.res-app-tick-rearm'",
|
|
@@ -427,7 +427,7 @@ export const resAppTickRearm = lazyType(() => type({
|
|
|
427
427
|
nextAlarmAt: "string|null",
|
|
428
428
|
}));
|
|
429
429
|
export function isResAppTickRearm(obj) {
|
|
430
|
-
return
|
|
430
|
+
return resAppTickRearm.allows(obj);
|
|
431
431
|
}
|
|
432
432
|
export const reqAppTickDisarm = lazyType(() => type({
|
|
433
433
|
type: "'vibes.diy.req-app-tick-disarm'",
|
|
@@ -436,7 +436,7 @@ export const reqAppTickDisarm = lazyType(() => type({
|
|
|
436
436
|
appSlug: "string",
|
|
437
437
|
}));
|
|
438
438
|
export function isReqAppTickDisarm(obj) {
|
|
439
|
-
return
|
|
439
|
+
return reqAppTickDisarm.allows(obj);
|
|
440
440
|
}
|
|
441
441
|
export const resAppTickDisarm = lazyType(() => type({
|
|
442
442
|
type: "'vibes.diy.res-app-tick-disarm'",
|
|
@@ -446,7 +446,7 @@ export const resAppTickDisarm = lazyType(() => type({
|
|
|
446
446
|
intervalMs: "number|null",
|
|
447
447
|
}));
|
|
448
448
|
export function isResAppTickDisarm(obj) {
|
|
449
|
-
return
|
|
449
|
+
return resAppTickDisarm.allows(obj);
|
|
450
450
|
}
|
|
451
451
|
export const reqRecaptureScreenshot = lazyType(() => type({
|
|
452
452
|
type: "'vibes.diy.req-recapture-screenshot'",
|
|
@@ -455,7 +455,7 @@ export const reqRecaptureScreenshot = lazyType(() => type({
|
|
|
455
455
|
appSlug: "string",
|
|
456
456
|
}));
|
|
457
457
|
export function isReqRecaptureScreenshot(obj) {
|
|
458
|
-
return
|
|
458
|
+
return reqRecaptureScreenshot.allows(obj);
|
|
459
459
|
}
|
|
460
460
|
export const resRecaptureScreenshot = lazyType(() => type({
|
|
461
461
|
type: "'vibes.diy.res-recapture-screenshot'",
|
|
@@ -465,7 +465,7 @@ export const resRecaptureScreenshot = lazyType(() => type({
|
|
|
465
465
|
enqueued: "boolean",
|
|
466
466
|
}));
|
|
467
467
|
export function isResRecaptureScreenshot(obj) {
|
|
468
|
-
return
|
|
468
|
+
return resRecaptureScreenshot.allows(obj);
|
|
469
469
|
}
|
|
470
470
|
export const reqSetVersionLock = lazyType(() => type({
|
|
471
471
|
type: "'vibes.diy.req-set-version-lock'",
|
|
@@ -475,7 +475,7 @@ export const reqSetVersionLock = lazyType(() => type({
|
|
|
475
475
|
"fsId?": "string",
|
|
476
476
|
}));
|
|
477
477
|
export function isReqSetVersionLock(obj) {
|
|
478
|
-
return
|
|
478
|
+
return reqSetVersionLock.allows(obj);
|
|
479
479
|
}
|
|
480
480
|
export const resSetVersionLock = lazyType(() => type({
|
|
481
481
|
type: "'vibes.diy.res-set-version-lock'",
|
|
@@ -485,10 +485,10 @@ export const resSetVersionLock = lazyType(() => type({
|
|
|
485
485
|
previousLockedFsId: "string",
|
|
486
486
|
}));
|
|
487
487
|
export function isResSetVersionLock(obj) {
|
|
488
|
-
return
|
|
488
|
+
return resSetVersionLock.allows(obj);
|
|
489
489
|
}
|
|
490
490
|
export function isReqGetByUserSlugAppSlug(obj) {
|
|
491
|
-
return
|
|
491
|
+
return reqGetByUserSlugAppSlug.allows(obj);
|
|
492
492
|
}
|
|
493
493
|
export const resGetByUserSlugAppSlug = lazyType(() => type({
|
|
494
494
|
type: "'vibes.diy.res-get-by-user-slug-app-slug'",
|
|
@@ -498,7 +498,7 @@ export function isResGetByUserSlugAppSlug(obj) {
|
|
|
498
498
|
if (res instanceof type.errors) {
|
|
499
499
|
console.error(`Invalid resGetByUserSlugAppSlug:`, obj, res.summary);
|
|
500
500
|
}
|
|
501
|
-
return
|
|
501
|
+
return resGetByUserSlugAppSlug.allows(obj);
|
|
502
502
|
}
|
|
503
503
|
export const reqForkApp = lazyType(() => type({
|
|
504
504
|
type: "'vibes.diy.req-fork-app'",
|
|
@@ -512,7 +512,7 @@ export const reqForkApp = lazyType(() => type({
|
|
|
512
512
|
"cacheKey?": "string",
|
|
513
513
|
}));
|
|
514
514
|
export function isReqForkApp(obj) {
|
|
515
|
-
return
|
|
515
|
+
return reqForkApp.allows(obj);
|
|
516
516
|
}
|
|
517
517
|
export const resForkApp = lazyType(() => type({
|
|
518
518
|
type: "'vibes.diy.res-fork-app'",
|
|
@@ -525,7 +525,7 @@ export const resForkApp = lazyType(() => type({
|
|
|
525
525
|
"seededFromCache?": "boolean",
|
|
526
526
|
}));
|
|
527
527
|
export function isResForkApp(obj) {
|
|
528
|
-
return
|
|
528
|
+
return resForkApp.allows(obj);
|
|
529
529
|
}
|
|
530
530
|
export const reqCarryAppSettings = lazyType(() => type({
|
|
531
531
|
type: "'vibes.diy.req-carry-app-settings'",
|
|
@@ -536,7 +536,7 @@ export const reqCarryAppSettings = lazyType(() => type({
|
|
|
536
536
|
dstAppSlug: "string",
|
|
537
537
|
}));
|
|
538
538
|
export function isReqCarryAppSettings(obj) {
|
|
539
|
-
return
|
|
539
|
+
return reqCarryAppSettings.allows(obj);
|
|
540
540
|
}
|
|
541
541
|
export const resCarryAppSettings = lazyType(() => type({
|
|
542
542
|
type: "'vibes.diy.res-carry-app-settings'",
|
|
@@ -544,7 +544,7 @@ export const resCarryAppSettings = lazyType(() => type({
|
|
|
544
544
|
skippedPresent: "string[]",
|
|
545
545
|
}));
|
|
546
546
|
export function isResCarryAppSettings(obj) {
|
|
547
|
-
return
|
|
547
|
+
return resCarryAppSettings.allows(obj);
|
|
548
548
|
}
|
|
549
549
|
export const ResSetModeFs = lazyType(() => type({
|
|
550
550
|
type: "'vibes.diy.res-set-mode-fs'",
|
|
@@ -554,7 +554,7 @@ export const ResSetModeFs = lazyType(() => type({
|
|
|
554
554
|
mode: FSMode,
|
|
555
555
|
}));
|
|
556
556
|
export function isResSetModeFs(obj) {
|
|
557
|
-
return
|
|
557
|
+
return ResSetModeFs.allows(obj);
|
|
558
558
|
}
|
|
559
559
|
export const ReqSetModeFs = lazyType(() => type({
|
|
560
560
|
type: "'vibes.diy.req-set-mode-fs'",
|
|
@@ -566,7 +566,7 @@ export const ReqSetModeFs = lazyType(() => type({
|
|
|
566
566
|
}));
|
|
567
567
|
export const reqSetModeFs = ReqSetModeFs;
|
|
568
568
|
export function isReqSetModeFs(obj) {
|
|
569
|
-
return
|
|
569
|
+
return ReqSetModeFs.allows(obj);
|
|
570
570
|
}
|
|
571
571
|
export const reqPublishApp = lazyType(() => type({
|
|
572
572
|
type: "'vibes.diy.req-publish-app'",
|
|
@@ -580,7 +580,7 @@ export const reqPublishApp = lazyType(() => type({
|
|
|
580
580
|
"anonWrite?": anonWriteMode,
|
|
581
581
|
}));
|
|
582
582
|
export function isReqPublishApp(obj) {
|
|
583
|
-
return
|
|
583
|
+
return reqPublishApp.allows(obj);
|
|
584
584
|
}
|
|
585
585
|
export const resPublishApp = lazyType(() => type({
|
|
586
586
|
type: "'vibes.diy.res-publish-app'",
|
|
@@ -595,7 +595,7 @@ export const resPublishApp = lazyType(() => type({
|
|
|
595
595
|
"suppressed?": "boolean",
|
|
596
596
|
}));
|
|
597
597
|
export function isResPublishApp(obj) {
|
|
598
|
-
return
|
|
598
|
+
return resPublishApp.allows(obj);
|
|
599
599
|
}
|
|
600
600
|
export const reqSeedRemove = lazyType(() => type({
|
|
601
601
|
type: "'vibes.diy.req-seed-remove'",
|
|
@@ -604,7 +604,7 @@ export const reqSeedRemove = lazyType(() => type({
|
|
|
604
604
|
ownerHandle: "string",
|
|
605
605
|
}));
|
|
606
606
|
export function isReqSeedRemove(obj) {
|
|
607
|
-
return
|
|
607
|
+
return reqSeedRemove.allows(obj);
|
|
608
608
|
}
|
|
609
609
|
export const resSeedRemove = lazyType(() => type({
|
|
610
610
|
type: "'vibes.diy.res-seed-remove'",
|
|
@@ -616,7 +616,7 @@ export const resSeedRemove = lazyType(() => type({
|
|
|
616
616
|
"perDb?": type({ dbName: "string", removed: "number", failed: "number" }).array(),
|
|
617
617
|
}));
|
|
618
618
|
export function isResSeedRemove(obj) {
|
|
619
|
-
return
|
|
619
|
+
return resSeedRemove.allows(obj);
|
|
620
620
|
}
|
|
621
621
|
export const reqSeedRerun = lazyType(() => type({
|
|
622
622
|
type: "'vibes.diy.req-seed-rerun'",
|
|
@@ -625,7 +625,7 @@ export const reqSeedRerun = lazyType(() => type({
|
|
|
625
625
|
ownerHandle: "string",
|
|
626
626
|
}));
|
|
627
627
|
export function isReqSeedRerun(obj) {
|
|
628
|
-
return
|
|
628
|
+
return reqSeedRerun.allows(obj);
|
|
629
629
|
}
|
|
630
630
|
export const resSeedRerun = lazyType(() => type({
|
|
631
631
|
type: "'vibes.diy.res-seed-rerun'",
|
|
@@ -640,7 +640,7 @@ export const resSeedRerun = lazyType(() => type({
|
|
|
640
640
|
"perDb?": type({ dbName: "string", applied: "number", skipped: "number", failed: "number" }).array(),
|
|
641
641
|
}));
|
|
642
642
|
export function isResSeedRerun(obj) {
|
|
643
|
-
return
|
|
643
|
+
return resSeedRerun.allows(obj);
|
|
644
644
|
}
|
|
645
645
|
export const ReqListHandleBindings = lazyType(() => type({
|
|
646
646
|
type: "'vibes.diy.req-list-user-slug-bindings'",
|
|
@@ -648,7 +648,7 @@ export const ReqListHandleBindings = lazyType(() => type({
|
|
|
648
648
|
"asHandle?": "string",
|
|
649
649
|
}));
|
|
650
650
|
export function isReqListHandleBindings(obj) {
|
|
651
|
-
return
|
|
651
|
+
return ReqListHandleBindings.allows(obj);
|
|
652
652
|
}
|
|
653
653
|
export const HandleBindingItem = lazyType(() => type({
|
|
654
654
|
ownerHandle: "string",
|
|
@@ -667,7 +667,7 @@ export const ResListHandleBindings = lazyType(() => type({
|
|
|
667
667
|
"viewedAs?": "string",
|
|
668
668
|
}));
|
|
669
669
|
export function isResListHandleBindings(obj) {
|
|
670
|
-
return
|
|
670
|
+
return ResListHandleBindings.allows(obj);
|
|
671
671
|
}
|
|
672
672
|
export const ReqCreateHandleBinding = lazyType(() => type({
|
|
673
673
|
type: "'vibes.diy.req-create-user-slug-binding'",
|
|
@@ -676,7 +676,7 @@ export const ReqCreateHandleBinding = lazyType(() => type({
|
|
|
676
676
|
"adopt?": "boolean",
|
|
677
677
|
}));
|
|
678
678
|
export function isReqCreateHandleBinding(obj) {
|
|
679
|
-
return
|
|
679
|
+
return ReqCreateHandleBinding.allows(obj);
|
|
680
680
|
}
|
|
681
681
|
export const ResCreateHandleBinding = lazyType(() => type({
|
|
682
682
|
type: "'vibes.diy.res-create-user-slug-binding'",
|
|
@@ -687,7 +687,7 @@ export const ResCreateHandleBinding = lazyType(() => type({
|
|
|
687
687
|
"movesPending?": guestAppPair.array(),
|
|
688
688
|
}));
|
|
689
689
|
export function isResCreateHandleBinding(obj) {
|
|
690
|
-
return
|
|
690
|
+
return ResCreateHandleBinding.allows(obj);
|
|
691
691
|
}
|
|
692
692
|
export const ReqDeleteHandleBinding = lazyType(() => type({
|
|
693
693
|
type: "'vibes.diy.req-delete-user-slug-binding'",
|
|
@@ -695,7 +695,7 @@ export const ReqDeleteHandleBinding = lazyType(() => type({
|
|
|
695
695
|
ownerHandle: "string",
|
|
696
696
|
}));
|
|
697
697
|
export function isReqDeleteHandleBinding(obj) {
|
|
698
|
-
return
|
|
698
|
+
return ReqDeleteHandleBinding.allows(obj);
|
|
699
699
|
}
|
|
700
700
|
export const ResDeleteHandleBinding = lazyType(() => type({
|
|
701
701
|
type: "'vibes.diy.res-delete-user-slug-binding'",
|
|
@@ -703,7 +703,7 @@ export const ResDeleteHandleBinding = lazyType(() => type({
|
|
|
703
703
|
deleted: "boolean",
|
|
704
704
|
}));
|
|
705
705
|
export function isResDeleteHandleBinding(obj) {
|
|
706
|
-
return
|
|
706
|
+
return ResDeleteHandleBinding.allows(obj);
|
|
707
707
|
}
|
|
708
708
|
export const ReqHasOwnedWrites = lazyType(() => type({
|
|
709
709
|
type: "'vibes.diy.req-has-owned-writes'",
|
|
@@ -712,14 +712,14 @@ export const ReqHasOwnedWrites = lazyType(() => type({
|
|
|
712
712
|
appSlug: "string",
|
|
713
713
|
}));
|
|
714
714
|
export function isReqHasOwnedWrites(obj) {
|
|
715
|
-
return
|
|
715
|
+
return ReqHasOwnedWrites.allows(obj);
|
|
716
716
|
}
|
|
717
717
|
export const ResHasOwnedWrites = lazyType(() => type({
|
|
718
718
|
type: "'vibes.diy.res-has-owned-writes'",
|
|
719
719
|
hasWrites: "boolean",
|
|
720
720
|
}));
|
|
721
721
|
export function isResHasOwnedWrites(obj) {
|
|
722
|
-
return
|
|
722
|
+
return ResHasOwnedWrites.allows(obj);
|
|
723
723
|
}
|
|
724
724
|
export const ReqSuggestHandleCandidates = lazyType(() => type({
|
|
725
725
|
type: "'vibes.diy.req-suggest-handle-candidates'",
|
|
@@ -727,7 +727,7 @@ export const ReqSuggestHandleCandidates = lazyType(() => type({
|
|
|
727
727
|
"count?": "number",
|
|
728
728
|
}));
|
|
729
729
|
export function isReqSuggestHandleCandidates(obj) {
|
|
730
|
-
return
|
|
730
|
+
return ReqSuggestHandleCandidates.allows(obj);
|
|
731
731
|
}
|
|
732
732
|
export const ResSuggestHandleCandidates = lazyType(() => type({
|
|
733
733
|
type: "'vibes.diy.res-suggest-handle-candidates'",
|
|
@@ -736,7 +736,7 @@ export const ResSuggestHandleCandidates = lazyType(() => type({
|
|
|
736
736
|
"ranked?": type("string").array(),
|
|
737
737
|
}));
|
|
738
738
|
export function isResSuggestHandleCandidates(obj) {
|
|
739
|
-
return
|
|
739
|
+
return ResSuggestHandleCandidates.allows(obj);
|
|
740
740
|
}
|
|
741
741
|
export const ReqConfirmPlaceholderHandle = lazyType(() => type({
|
|
742
742
|
type: "'vibes.diy.req-confirm-placeholder-handle'",
|
|
@@ -746,7 +746,7 @@ export const ReqConfirmPlaceholderHandle = lazyType(() => type({
|
|
|
746
746
|
routeHandle: "string",
|
|
747
747
|
}));
|
|
748
748
|
export function isReqConfirmPlaceholderHandle(obj) {
|
|
749
|
-
return
|
|
749
|
+
return ReqConfirmPlaceholderHandle.allows(obj);
|
|
750
750
|
}
|
|
751
751
|
export const ResConfirmPlaceholderHandle = lazyType(() => type({
|
|
752
752
|
type: "'vibes.diy.res-confirm-placeholder-handle'",
|
|
@@ -757,7 +757,7 @@ export const ResConfirmPlaceholderHandle = lazyType(() => type({
|
|
|
757
757
|
moved: "boolean",
|
|
758
758
|
}));
|
|
759
759
|
export function isResConfirmPlaceholderHandle(obj) {
|
|
760
|
-
return
|
|
760
|
+
return ResConfirmPlaceholderHandle.allows(obj);
|
|
761
761
|
}
|
|
762
762
|
export const reqListNotifications = lazyType(() => type({
|
|
763
763
|
type: "'vibes.diy.req-list-notifications'",
|
|
@@ -771,7 +771,7 @@ export const reqListNotifications = lazyType(() => type({
|
|
|
771
771
|
"limit?": "number",
|
|
772
772
|
}));
|
|
773
773
|
export function isReqListNotifications(obj) {
|
|
774
|
-
return
|
|
774
|
+
return reqListNotifications.allows(obj);
|
|
775
775
|
}
|
|
776
776
|
export const resListNotifications = lazyType(() => type({
|
|
777
777
|
type: "'vibes.diy.res-list-notifications'",
|
|
@@ -780,7 +780,7 @@ export const resListNotifications = lazyType(() => type({
|
|
|
780
780
|
unreadCount: "number",
|
|
781
781
|
}));
|
|
782
782
|
export function isResListNotifications(obj) {
|
|
783
|
-
return
|
|
783
|
+
return resListNotifications.allows(obj);
|
|
784
784
|
}
|
|
785
785
|
export const reqMarkNotificationsRead = lazyType(() => type({
|
|
786
786
|
type: "'vibes.diy.req-mark-notifications-read'",
|
|
@@ -788,14 +788,14 @@ export const reqMarkNotificationsRead = lazyType(() => type({
|
|
|
788
788
|
"ids?": "string[]",
|
|
789
789
|
}));
|
|
790
790
|
export function isReqMarkNotificationsRead(obj) {
|
|
791
|
-
return
|
|
791
|
+
return reqMarkNotificationsRead.allows(obj);
|
|
792
792
|
}
|
|
793
793
|
export const resMarkNotificationsRead = lazyType(() => type({
|
|
794
794
|
type: "'vibes.diy.res-mark-notifications-read'",
|
|
795
795
|
ok: "number",
|
|
796
796
|
}));
|
|
797
797
|
export function isResMarkNotificationsRead(obj) {
|
|
798
|
-
return
|
|
798
|
+
return resMarkNotificationsRead.allows(obj);
|
|
799
799
|
}
|
|
800
800
|
export const vibeLogEventWire = lazyType(() => type({
|
|
801
801
|
id: "string",
|
|
@@ -822,7 +822,7 @@ export const reqAppLogs = lazyType(() => type({
|
|
|
822
822
|
limit: "number",
|
|
823
823
|
}));
|
|
824
824
|
export function isReqAppLogs(obj) {
|
|
825
|
-
return
|
|
825
|
+
return reqAppLogs.allows(obj);
|
|
826
826
|
}
|
|
827
827
|
export const resAppLogs = lazyType(() => type({
|
|
828
828
|
type: "'vibes.diy.res-app-logs'",
|
|
@@ -833,7 +833,7 @@ export const resAppLogs = lazyType(() => type({
|
|
|
833
833
|
"latestTs?": "string|null",
|
|
834
834
|
}));
|
|
835
835
|
export function isResAppLogs(obj) {
|
|
836
|
-
return
|
|
836
|
+
return resAppLogs.allows(obj);
|
|
837
837
|
}
|
|
838
838
|
export const OPEN_TURN_WIRE_STATUSES = ["open", "closed", "absent"];
|
|
839
839
|
export const reqGetOpenTurn = lazyType(() => type({
|
|
@@ -843,7 +843,7 @@ export const reqGetOpenTurn = lazyType(() => type({
|
|
|
843
843
|
promptId: "string",
|
|
844
844
|
}));
|
|
845
845
|
export function isReqGetOpenTurn(obj) {
|
|
846
|
-
return
|
|
846
|
+
return reqGetOpenTurn.allows(obj);
|
|
847
847
|
}
|
|
848
848
|
export const resGetOpenTurn = lazyType(() => type({
|
|
849
849
|
type: "'vibes.diy.res-get-open-turn'",
|
|
@@ -852,6 +852,6 @@ export const resGetOpenTurn = lazyType(() => type({
|
|
|
852
852
|
status: "'open'|'closed'|'absent'",
|
|
853
853
|
}));
|
|
854
854
|
export function isResGetOpenTurn(obj) {
|
|
855
|
-
return
|
|
855
|
+
return resGetOpenTurn.allows(obj);
|
|
856
856
|
}
|
|
857
857
|
//# sourceMappingURL=app.js.map
|