@vibes.diy/api-types 2.0.9 → 2.2.0
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-documents.d.ts +18 -0
- package/app-documents.js +17 -0
- package/app-documents.js.map +1 -1
- package/cf-env.d.ts +1 -0
- package/chat.d.ts +79 -22
- package/chat.js +1 -0
- package/chat.js.map +1 -1
- package/invite.d.ts +11 -0
- package/package.json +2 -2
- package/prompt.d.ts +14 -4
- package/settings.d.ts +30 -0
- package/vibes-diy-api.d.ts +2 -1
- package/vibes-diy-api.js.map +1 -1
- package/vibes-diy-serv-ctx.d.ts +4 -0
- package/vibes-diy-serv-ctx.js +2 -0
- package/vibes-diy-serv-ctx.js.map +1 -1
package/app-documents.d.ts
CHANGED
|
@@ -107,6 +107,24 @@ export declare const resSubscribeDocs: import("arktype/internal/variants/object.
|
|
|
107
107
|
}, {}>;
|
|
108
108
|
export type ResSubscribeDocs = typeof resSubscribeDocs.infer;
|
|
109
109
|
export declare function isResSubscribeDocs(obj: unknown): obj is ResSubscribeDocs;
|
|
110
|
+
export declare const reqListDbNames: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
111
|
+
type: "vibes.diy.req-list-db-names";
|
|
112
|
+
auth: {
|
|
113
|
+
type: "clerk" | "device-id" | "ucan";
|
|
114
|
+
token: string;
|
|
115
|
+
};
|
|
116
|
+
userSlug: string;
|
|
117
|
+
appSlug: string;
|
|
118
|
+
}, {}>;
|
|
119
|
+
export type ReqListDbNames = typeof reqListDbNames.infer;
|
|
120
|
+
export declare function isReqListDbNames(obj: unknown): obj is ReqListDbNames;
|
|
121
|
+
export declare const resListDbNames: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
122
|
+
type: "vibes.diy.res-list-db-names";
|
|
123
|
+
status: "ok";
|
|
124
|
+
dbNames: string[];
|
|
125
|
+
}, {}>;
|
|
126
|
+
export type ResListDbNames = typeof resListDbNames.infer;
|
|
127
|
+
export declare function isResListDbNames(obj: unknown): obj is ResListDbNames;
|
|
110
128
|
export declare const evtDocChanged: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
111
129
|
type: "vibes.diy.evt-doc-changed";
|
|
112
130
|
userSlug: string;
|
package/app-documents.js
CHANGED
|
@@ -102,6 +102,23 @@ export const resSubscribeDocs = type({
|
|
|
102
102
|
export function isResSubscribeDocs(obj) {
|
|
103
103
|
return !(resSubscribeDocs(obj) instanceof type.errors);
|
|
104
104
|
}
|
|
105
|
+
export const reqListDbNames = type({
|
|
106
|
+
type: "'vibes.diy.req-list-db-names'",
|
|
107
|
+
auth: dashAuthType,
|
|
108
|
+
userSlug: "string",
|
|
109
|
+
appSlug: "string",
|
|
110
|
+
});
|
|
111
|
+
export function isReqListDbNames(obj) {
|
|
112
|
+
return !(reqListDbNames(obj) instanceof type.errors);
|
|
113
|
+
}
|
|
114
|
+
export const resListDbNames = type({
|
|
115
|
+
type: "'vibes.diy.res-list-db-names'",
|
|
116
|
+
status: "'ok'",
|
|
117
|
+
dbNames: "string[]",
|
|
118
|
+
});
|
|
119
|
+
export function isResListDbNames(obj) {
|
|
120
|
+
return !(resListDbNames(obj) instanceof type.errors);
|
|
121
|
+
}
|
|
105
122
|
export const evtDocChanged = type({
|
|
106
123
|
type: "'vibes.diy.evt-doc-changed'",
|
|
107
124
|
userSlug: "string",
|
package/app-documents.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-documents.js","sourceRoot":"","sources":["../jsr/app-documents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAI3C,MAAM,CAAC,MAAM,SAAS,GAAG,IAAI,CAAC;IAC5B,IAAI,EAAE,yBAAyB;IAC/B,IAAI,EAAE,YAAY;IAClB,QAAQ,EAAE,QAAQ;IAClB,OAAO,EAAE,QAAQ;IACjB,MAAM,EAAE,QAAQ;IAChB,GA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BAA+B;IACrC,IAAI,EAAE,YAAY;IAClB,QAAQ,EAAE,QAAQ;IAClB,OAAO,EAAE,QAAQ;CAClB,CAAC,CAAC;AAEH,MAAM,UAAU,gBAAgB,CAAC,GAAY;IAC3C,OAAO,CAAC,CAAC,cAAc,CAAC,GAAG,CAAC,YAAY,IAAI,CAAC,MAAM,CAAC,CAAC;AACvD,CAAC;AAED,MAAM,CAAC,MAAM,cAAc,GAAG,IAAI,CAAC;IACjC,IAAI,EAAE,+BAA+B;IACrC,MAAM,EAAE,MAAM;IACd,OAAO,EAAE,UAAU;CACpB,CAAC,CAAC;AAEH,MAAM,UAAU,gBAAgB,CAAC,GAAY;IAC3C,OAAO,CAAC,CAAC,cAAc,CAAC,GAAG,CAAC,YAAY,IAAI,CAAC,MAAM,CAAC,CAAC;AACvD,CAAC;AAID,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,CAAC;IAChC,IAAI,EAAE,6BAA6B;IACnC,QAAQ,EAAE,QAAQ;IAClB,OAAO,EAAE,QAAQ;IACjB,KAAK,EAAE,QAAQ;CAChB,CAAC,CAAC;AAEH,MAAM,UAAU,eAAe,CAAC,GAAY;IAC1C,OAAO,CAAC,CAAC,aAAa,CAAC,GAAG,CAAC,YAAY,IAAI,CAAC,MAAM,CAAC,CAAC;AACtD,CAAC"}
|
package/cf-env.d.ts
CHANGED
package/chat.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export declare const Model: import("arktype/internal/variants/object.ts").Object
|
|
|
12
12
|
description: string;
|
|
13
13
|
featured?: boolean | undefined;
|
|
14
14
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
15
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
15
16
|
}, {}>;
|
|
16
17
|
export type Model = typeof Model.infer;
|
|
17
18
|
export declare const reqOpenChat: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
@@ -49,10 +50,15 @@ export declare const reqCreationPromptChatSection: import("arktype/internal/vari
|
|
|
49
50
|
model?: string | undefined;
|
|
50
51
|
messages: {
|
|
51
52
|
role: "assistant" | "system" | "user";
|
|
52
|
-
content: {
|
|
53
|
+
content: ({
|
|
53
54
|
type: "text";
|
|
54
55
|
text: string;
|
|
55
|
-
}
|
|
56
|
+
} | {
|
|
57
|
+
type: "image_url";
|
|
58
|
+
image_url: {
|
|
59
|
+
url: string;
|
|
60
|
+
};
|
|
61
|
+
})[];
|
|
56
62
|
}[];
|
|
57
63
|
stream?: boolean | undefined;
|
|
58
64
|
temperature?: number | undefined;
|
|
@@ -81,10 +87,15 @@ export declare const reqPromptApplicationChatSection: import("arktype/internal/v
|
|
|
81
87
|
model?: string | undefined;
|
|
82
88
|
messages: {
|
|
83
89
|
role: "assistant" | "system" | "user";
|
|
84
|
-
content: {
|
|
90
|
+
content: ({
|
|
85
91
|
type: "text";
|
|
86
92
|
text: string;
|
|
87
|
-
}
|
|
93
|
+
} | {
|
|
94
|
+
type: "image_url";
|
|
95
|
+
image_url: {
|
|
96
|
+
url: string;
|
|
97
|
+
};
|
|
98
|
+
})[];
|
|
88
99
|
}[];
|
|
89
100
|
stream?: boolean | undefined;
|
|
90
101
|
temperature?: number | undefined;
|
|
@@ -113,10 +124,15 @@ export declare const reqPromptImageChatSection: import("arktype/internal/variant
|
|
|
113
124
|
model?: string | undefined;
|
|
114
125
|
messages: {
|
|
115
126
|
role: "assistant" | "system" | "user";
|
|
116
|
-
content: {
|
|
127
|
+
content: ({
|
|
117
128
|
type: "text";
|
|
118
129
|
text: string;
|
|
119
|
-
}
|
|
130
|
+
} | {
|
|
131
|
+
type: "image_url";
|
|
132
|
+
image_url: {
|
|
133
|
+
url: string;
|
|
134
|
+
};
|
|
135
|
+
})[];
|
|
120
136
|
}[];
|
|
121
137
|
stream?: boolean | undefined;
|
|
122
138
|
temperature?: number | undefined;
|
|
@@ -297,10 +313,15 @@ export declare const reqPromptLLMChatSection: import("arktype/internal/variants/
|
|
|
297
313
|
model?: string | undefined;
|
|
298
314
|
messages: {
|
|
299
315
|
role: "assistant" | "system" | "user";
|
|
300
|
-
content: {
|
|
316
|
+
content: ({
|
|
301
317
|
type: "text";
|
|
302
318
|
text: string;
|
|
303
|
-
}
|
|
319
|
+
} | {
|
|
320
|
+
type: "image_url";
|
|
321
|
+
image_url: {
|
|
322
|
+
url: string;
|
|
323
|
+
};
|
|
324
|
+
})[];
|
|
304
325
|
}[];
|
|
305
326
|
stream?: boolean | undefined;
|
|
306
327
|
temperature?: number | undefined;
|
|
@@ -327,10 +348,15 @@ export declare const reqPromptLLMChatSection: import("arktype/internal/variants/
|
|
|
327
348
|
model?: string | undefined;
|
|
328
349
|
messages: {
|
|
329
350
|
role: "assistant" | "system" | "user";
|
|
330
|
-
content: {
|
|
351
|
+
content: ({
|
|
331
352
|
type: "text";
|
|
332
353
|
text: string;
|
|
333
|
-
}
|
|
354
|
+
} | {
|
|
355
|
+
type: "image_url";
|
|
356
|
+
image_url: {
|
|
357
|
+
url: string;
|
|
358
|
+
};
|
|
359
|
+
})[];
|
|
334
360
|
}[];
|
|
335
361
|
stream?: boolean | undefined;
|
|
336
362
|
temperature?: number | undefined;
|
|
@@ -357,10 +383,15 @@ export declare const reqPromptLLMChatSection: import("arktype/internal/variants/
|
|
|
357
383
|
model?: string | undefined;
|
|
358
384
|
messages: {
|
|
359
385
|
role: "assistant" | "system" | "user";
|
|
360
|
-
content: {
|
|
386
|
+
content: ({
|
|
361
387
|
type: "text";
|
|
362
388
|
text: string;
|
|
363
|
-
}
|
|
389
|
+
} | {
|
|
390
|
+
type: "image_url";
|
|
391
|
+
image_url: {
|
|
392
|
+
url: string;
|
|
393
|
+
};
|
|
394
|
+
})[];
|
|
364
395
|
}[];
|
|
365
396
|
stream?: boolean | undefined;
|
|
366
397
|
temperature?: number | undefined;
|
|
@@ -494,10 +525,15 @@ export declare const reqPromptChatSection: import("arktype/internal/variants/obj
|
|
|
494
525
|
model?: string | undefined;
|
|
495
526
|
messages: {
|
|
496
527
|
role: "assistant" | "system" | "user";
|
|
497
|
-
content: {
|
|
528
|
+
content: ({
|
|
498
529
|
type: "text";
|
|
499
530
|
text: string;
|
|
500
|
-
}
|
|
531
|
+
} | {
|
|
532
|
+
type: "image_url";
|
|
533
|
+
image_url: {
|
|
534
|
+
url: string;
|
|
535
|
+
};
|
|
536
|
+
})[];
|
|
501
537
|
}[];
|
|
502
538
|
stream?: boolean | undefined;
|
|
503
539
|
temperature?: number | undefined;
|
|
@@ -524,10 +560,15 @@ export declare const reqPromptChatSection: import("arktype/internal/variants/obj
|
|
|
524
560
|
model?: string | undefined;
|
|
525
561
|
messages: {
|
|
526
562
|
role: "assistant" | "system" | "user";
|
|
527
|
-
content: {
|
|
563
|
+
content: ({
|
|
528
564
|
type: "text";
|
|
529
565
|
text: string;
|
|
530
|
-
}
|
|
566
|
+
} | {
|
|
567
|
+
type: "image_url";
|
|
568
|
+
image_url: {
|
|
569
|
+
url: string;
|
|
570
|
+
};
|
|
571
|
+
})[];
|
|
531
572
|
}[];
|
|
532
573
|
stream?: boolean | undefined;
|
|
533
574
|
temperature?: number | undefined;
|
|
@@ -554,10 +595,15 @@ export declare const reqPromptChatSection: import("arktype/internal/variants/obj
|
|
|
554
595
|
model?: string | undefined;
|
|
555
596
|
messages: {
|
|
556
597
|
role: "assistant" | "system" | "user";
|
|
557
|
-
content: {
|
|
598
|
+
content: ({
|
|
558
599
|
type: "text";
|
|
559
600
|
text: string;
|
|
560
|
-
}
|
|
601
|
+
} | {
|
|
602
|
+
type: "image_url";
|
|
603
|
+
image_url: {
|
|
604
|
+
url: string;
|
|
605
|
+
};
|
|
606
|
+
})[];
|
|
561
607
|
}[];
|
|
562
608
|
stream?: boolean | undefined;
|
|
563
609
|
temperature?: number | undefined;
|
|
@@ -707,10 +753,15 @@ export declare const PromptAndBlockMsgs: import("arktype/internal/variants/objec
|
|
|
707
753
|
model?: string | undefined;
|
|
708
754
|
messages: {
|
|
709
755
|
role: "assistant" | "system" | "user";
|
|
710
|
-
content: {
|
|
756
|
+
content: ({
|
|
711
757
|
type: "text";
|
|
712
758
|
text: string;
|
|
713
|
-
}
|
|
759
|
+
} | {
|
|
760
|
+
type: "image_url";
|
|
761
|
+
image_url: {
|
|
762
|
+
url: string;
|
|
763
|
+
};
|
|
764
|
+
})[];
|
|
714
765
|
}[];
|
|
715
766
|
stream?: boolean | undefined;
|
|
716
767
|
temperature?: number | undefined;
|
|
@@ -972,10 +1023,15 @@ export declare const sectionEvent: import("arktype/internal/variants/object.ts")
|
|
|
972
1023
|
model?: string | undefined;
|
|
973
1024
|
messages: {
|
|
974
1025
|
role: "assistant" | "system" | "user";
|
|
975
|
-
content: {
|
|
1026
|
+
content: ({
|
|
976
1027
|
type: "text";
|
|
977
1028
|
text: string;
|
|
978
|
-
}
|
|
1029
|
+
} | {
|
|
1030
|
+
type: "image_url";
|
|
1031
|
+
image_url: {
|
|
1032
|
+
url: string;
|
|
1033
|
+
};
|
|
1034
|
+
})[];
|
|
979
1035
|
}[];
|
|
980
1036
|
stream?: boolean | undefined;
|
|
981
1037
|
temperature?: number | undefined;
|
|
@@ -1234,6 +1290,7 @@ export declare const resListModels: import("arktype/internal/variants/object.ts"
|
|
|
1234
1290
|
description: string;
|
|
1235
1291
|
featured?: boolean | undefined;
|
|
1236
1292
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
1293
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
1237
1294
|
}[];
|
|
1238
1295
|
}, {}>;
|
|
1239
1296
|
export type ResListModels = typeof resListModels.infer;
|
package/chat.js
CHANGED
package/chat.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat.js","sourceRoot":"","sources":["../jsr/chat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAC3E,OAAO,EAA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AAI,EAAE,2BAA2B;IACjC,QAAQ,EAAE,QAAQ;IAClB,OAAO,EAAE,QAAQ;IACjB,IAAI,EAAE,QAAQ;IACd,YAAY,EAAE,QAAQ;IACtB,OAAO,EAAE,QAAQ;CAClB,CAAC,CAAC;AAGH,MAAM,UAAU,YAAY,CAAC,GAAY;IACvC,OAAO,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,YAAY,IAAI,CAAC,MAAM,CAAC,CAAC;AACnD,CAAC;AAED,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,CAAC;IAChC,IAAI,EAAE,6BAA6B;CACpC,CAAC,CAAC;AAEH,MAAM,UAAU,eAAe,CAAC,GAAY;IAC1C,OAAO,CAAC,CAAC,aAAa,CAAC,GAAG,CAAC,YAAY,IAAI,CAAC,MAAM,CAAC,CAAC;AACtD,CAAC;AAED,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,CAAC;IAChC,IAAI,EAAE,6BAA6B;IACnC,MAAM,EAAE,KAAK,CAAC,KAAK,EAAE;CACtB,CAAC,CAAC;AAEH,MAAM,UAAU,eAAe,CAAC,GAAY;IAC1C,OAAO,CAAC,CAAC,aAAa,CAAC,GAAG,CAAC,YAAY,IAAI,CAAC,MAAM,CAAC,CAAC;AACtD,CAAC"}
|
package/invite.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export declare const AIParams: import("arktype/internal/variants/object.ts").Obj
|
|
|
12
12
|
description: string;
|
|
13
13
|
featured?: boolean | undefined;
|
|
14
14
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
15
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
15
16
|
};
|
|
16
17
|
apiKey?: string | undefined;
|
|
17
18
|
}, {}>;
|
|
@@ -575,6 +576,7 @@ export declare const ActiveModelSettingBase: import("arktype/internal/variants/o
|
|
|
575
576
|
description: string;
|
|
576
577
|
featured?: boolean | undefined;
|
|
577
578
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
579
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
578
580
|
};
|
|
579
581
|
apiKey?: string | undefined;
|
|
580
582
|
};
|
|
@@ -588,6 +590,7 @@ export declare const ActiveModelSettingChat: import("arktype/internal/variants/o
|
|
|
588
590
|
description: string;
|
|
589
591
|
featured?: boolean | undefined;
|
|
590
592
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
593
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
591
594
|
};
|
|
592
595
|
apiKey?: string | undefined;
|
|
593
596
|
};
|
|
@@ -604,6 +607,7 @@ export declare const ActiveModelSettingApp: import("arktype/internal/variants/ob
|
|
|
604
607
|
description: string;
|
|
605
608
|
featured?: boolean | undefined;
|
|
606
609
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
610
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
607
611
|
};
|
|
608
612
|
apiKey?: string | undefined;
|
|
609
613
|
};
|
|
@@ -620,6 +624,7 @@ export declare const ActiveModelSettingImg: import("arktype/internal/variants/ob
|
|
|
620
624
|
description: string;
|
|
621
625
|
featured?: boolean | undefined;
|
|
622
626
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
627
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
623
628
|
};
|
|
624
629
|
apiKey?: string | undefined;
|
|
625
630
|
};
|
|
@@ -636,6 +641,7 @@ export declare const ActiveModelSetting: import("arktype/internal/variants/objec
|
|
|
636
641
|
description: string;
|
|
637
642
|
featured?: boolean | undefined;
|
|
638
643
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
644
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
639
645
|
};
|
|
640
646
|
apiKey?: string | undefined;
|
|
641
647
|
};
|
|
@@ -649,6 +655,7 @@ export declare const ActiveModelSetting: import("arktype/internal/variants/objec
|
|
|
649
655
|
description: string;
|
|
650
656
|
featured?: boolean | undefined;
|
|
651
657
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
658
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
652
659
|
};
|
|
653
660
|
apiKey?: string | undefined;
|
|
654
661
|
};
|
|
@@ -662,6 +669,7 @@ export declare const ActiveModelSetting: import("arktype/internal/variants/objec
|
|
|
662
669
|
description: string;
|
|
663
670
|
featured?: boolean | undefined;
|
|
664
671
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
672
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
665
673
|
};
|
|
666
674
|
apiKey?: string | undefined;
|
|
667
675
|
};
|
|
@@ -837,6 +845,7 @@ export declare const ActiveEntry: import("arktype/internal/variants/object.ts").
|
|
|
837
845
|
description: string;
|
|
838
846
|
featured?: boolean | undefined;
|
|
839
847
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
848
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
840
849
|
};
|
|
841
850
|
apiKey?: string | undefined;
|
|
842
851
|
};
|
|
@@ -850,6 +859,7 @@ export declare const ActiveEntry: import("arktype/internal/variants/object.ts").
|
|
|
850
859
|
description: string;
|
|
851
860
|
featured?: boolean | undefined;
|
|
852
861
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
862
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
853
863
|
};
|
|
854
864
|
apiKey?: string | undefined;
|
|
855
865
|
};
|
|
@@ -863,6 +873,7 @@ export declare const ActiveEntry: import("arktype/internal/variants/object.ts").
|
|
|
863
873
|
description: string;
|
|
864
874
|
featured?: boolean | undefined;
|
|
865
875
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
876
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
866
877
|
};
|
|
867
878
|
apiKey?: string | undefined;
|
|
868
879
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibes.diy/api-types",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"@fireproof/core-types-base": "~0.24.19",
|
|
15
15
|
"@fireproof/core-types-protocols-cloud": "~0.24.19",
|
|
16
16
|
"@fireproof/core-types-protocols-dashboard": "~0.24.19",
|
|
17
|
-
"@vibes.diy/call-ai-v2": "2.0
|
|
17
|
+
"@vibes.diy/call-ai-v2": "2.2.0",
|
|
18
18
|
"arktype": "~2.2.0"
|
|
19
19
|
},
|
|
20
20
|
"repository": {
|
package/prompt.d.ts
CHANGED
|
@@ -14,10 +14,15 @@ export declare const PromptReq: import("arktype/internal/variants/object.ts").Ob
|
|
|
14
14
|
model?: string | undefined;
|
|
15
15
|
messages: {
|
|
16
16
|
role: "assistant" | "system" | "user";
|
|
17
|
-
content: {
|
|
17
|
+
content: ({
|
|
18
18
|
type: "text";
|
|
19
19
|
text: string;
|
|
20
|
-
}
|
|
20
|
+
} | {
|
|
21
|
+
type: "image_url";
|
|
22
|
+
image_url: {
|
|
23
|
+
url: string;
|
|
24
|
+
};
|
|
25
|
+
})[];
|
|
21
26
|
}[];
|
|
22
27
|
stream?: boolean | undefined;
|
|
23
28
|
temperature?: number | undefined;
|
|
@@ -117,10 +122,15 @@ export declare const PromptMsgs: import("arktype/internal/variants/object.ts").O
|
|
|
117
122
|
model?: string | undefined;
|
|
118
123
|
messages: {
|
|
119
124
|
role: "assistant" | "system" | "user";
|
|
120
|
-
content: {
|
|
125
|
+
content: ({
|
|
121
126
|
type: "text";
|
|
122
127
|
text: string;
|
|
123
|
-
}
|
|
128
|
+
} | {
|
|
129
|
+
type: "image_url";
|
|
130
|
+
image_url: {
|
|
131
|
+
url: string;
|
|
132
|
+
};
|
|
133
|
+
})[];
|
|
124
134
|
}[];
|
|
125
135
|
stream?: boolean | undefined;
|
|
126
136
|
temperature?: number | undefined;
|
package/settings.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export declare const userSettingModelDefaults: import("arktype/internal/variants
|
|
|
25
25
|
description: string;
|
|
26
26
|
featured?: boolean | undefined;
|
|
27
27
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
28
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
28
29
|
} | undefined;
|
|
29
30
|
apiKey?: string | undefined;
|
|
30
31
|
} | undefined;
|
|
@@ -35,6 +36,7 @@ export declare const userSettingModelDefaults: import("arktype/internal/variants
|
|
|
35
36
|
description: string;
|
|
36
37
|
featured?: boolean | undefined;
|
|
37
38
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
39
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
38
40
|
} | undefined;
|
|
39
41
|
apiKey?: string | undefined;
|
|
40
42
|
} | undefined;
|
|
@@ -45,6 +47,7 @@ export declare const userSettingModelDefaults: import("arktype/internal/variants
|
|
|
45
47
|
description: string;
|
|
46
48
|
featured?: boolean | undefined;
|
|
47
49
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
50
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
48
51
|
} | undefined;
|
|
49
52
|
apiKey?: string | undefined;
|
|
50
53
|
} | undefined;
|
|
@@ -74,6 +77,7 @@ export declare const userSettingItem: import("arktype/internal/variants/object.t
|
|
|
74
77
|
description: string;
|
|
75
78
|
featured?: boolean | undefined;
|
|
76
79
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
80
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
77
81
|
} | undefined;
|
|
78
82
|
apiKey?: string | undefined;
|
|
79
83
|
} | undefined;
|
|
@@ -84,6 +88,7 @@ export declare const userSettingItem: import("arktype/internal/variants/object.t
|
|
|
84
88
|
description: string;
|
|
85
89
|
featured?: boolean | undefined;
|
|
86
90
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
91
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
87
92
|
} | undefined;
|
|
88
93
|
apiKey?: string | undefined;
|
|
89
94
|
} | undefined;
|
|
@@ -94,6 +99,7 @@ export declare const userSettingItem: import("arktype/internal/variants/object.t
|
|
|
94
99
|
description: string;
|
|
95
100
|
featured?: boolean | undefined;
|
|
96
101
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
102
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
97
103
|
} | undefined;
|
|
98
104
|
apiKey?: string | undefined;
|
|
99
105
|
} | undefined;
|
|
@@ -125,6 +131,7 @@ export declare const reqEnsureUserSettings: import("arktype/internal/variants/ob
|
|
|
125
131
|
description: string;
|
|
126
132
|
featured?: boolean | undefined;
|
|
127
133
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
134
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
128
135
|
} | undefined;
|
|
129
136
|
apiKey?: string | undefined;
|
|
130
137
|
} | undefined;
|
|
@@ -135,6 +142,7 @@ export declare const reqEnsureUserSettings: import("arktype/internal/variants/ob
|
|
|
135
142
|
description: string;
|
|
136
143
|
featured?: boolean | undefined;
|
|
137
144
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
145
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
138
146
|
} | undefined;
|
|
139
147
|
apiKey?: string | undefined;
|
|
140
148
|
} | undefined;
|
|
@@ -145,6 +153,7 @@ export declare const reqEnsureUserSettings: import("arktype/internal/variants/ob
|
|
|
145
153
|
description: string;
|
|
146
154
|
featured?: boolean | undefined;
|
|
147
155
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
156
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
148
157
|
} | undefined;
|
|
149
158
|
apiKey?: string | undefined;
|
|
150
159
|
} | undefined;
|
|
@@ -174,6 +183,7 @@ export declare const resEnsureUserSettings: import("arktype/internal/variants/ob
|
|
|
174
183
|
description: string;
|
|
175
184
|
featured?: boolean | undefined;
|
|
176
185
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
186
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
177
187
|
} | undefined;
|
|
178
188
|
apiKey?: string | undefined;
|
|
179
189
|
} | undefined;
|
|
@@ -184,6 +194,7 @@ export declare const resEnsureUserSettings: import("arktype/internal/variants/ob
|
|
|
184
194
|
description: string;
|
|
185
195
|
featured?: boolean | undefined;
|
|
186
196
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
197
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
187
198
|
} | undefined;
|
|
188
199
|
apiKey?: string | undefined;
|
|
189
200
|
} | undefined;
|
|
@@ -194,6 +205,7 @@ export declare const resEnsureUserSettings: import("arktype/internal/variants/ob
|
|
|
194
205
|
description: string;
|
|
195
206
|
featured?: boolean | undefined;
|
|
196
207
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
208
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
197
209
|
} | undefined;
|
|
198
210
|
apiKey?: string | undefined;
|
|
199
211
|
} | undefined;
|
|
@@ -433,6 +445,7 @@ export declare const reqEnsureAppSettingsApp: import("arktype/internal/variants/
|
|
|
433
445
|
description: string;
|
|
434
446
|
featured?: boolean | undefined;
|
|
435
447
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
448
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
436
449
|
} | undefined;
|
|
437
450
|
apiKey?: string | undefined;
|
|
438
451
|
};
|
|
@@ -454,6 +467,7 @@ export declare const reqEnsureAppSettingsChat: import("arktype/internal/variants
|
|
|
454
467
|
description: string;
|
|
455
468
|
featured?: boolean | undefined;
|
|
456
469
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
470
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
457
471
|
} | undefined;
|
|
458
472
|
apiKey?: string | undefined;
|
|
459
473
|
};
|
|
@@ -475,6 +489,7 @@ export declare const reqEnsureAppSettingsImg: import("arktype/internal/variants/
|
|
|
475
489
|
description: string;
|
|
476
490
|
featured?: boolean | undefined;
|
|
477
491
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
492
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
478
493
|
} | undefined;
|
|
479
494
|
apiKey?: string | undefined;
|
|
480
495
|
};
|
|
@@ -658,6 +673,7 @@ export declare const AppSettings: import("arktype/internal/variants/object.ts").
|
|
|
658
673
|
description: string;
|
|
659
674
|
featured?: boolean | undefined;
|
|
660
675
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
676
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
661
677
|
};
|
|
662
678
|
apiKey?: string | undefined;
|
|
663
679
|
};
|
|
@@ -671,6 +687,7 @@ export declare const AppSettings: import("arktype/internal/variants/object.ts").
|
|
|
671
687
|
description: string;
|
|
672
688
|
featured?: boolean | undefined;
|
|
673
689
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
690
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
674
691
|
};
|
|
675
692
|
apiKey?: string | undefined;
|
|
676
693
|
};
|
|
@@ -684,6 +701,7 @@ export declare const AppSettings: import("arktype/internal/variants/object.ts").
|
|
|
684
701
|
description: string;
|
|
685
702
|
featured?: boolean | undefined;
|
|
686
703
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
704
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
687
705
|
};
|
|
688
706
|
apiKey?: string | undefined;
|
|
689
707
|
};
|
|
@@ -706,6 +724,7 @@ export declare const AppSettings: import("arktype/internal/variants/object.ts").
|
|
|
706
724
|
description: string;
|
|
707
725
|
featured?: boolean | undefined;
|
|
708
726
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
727
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
709
728
|
} | undefined;
|
|
710
729
|
apiKey?: string | undefined;
|
|
711
730
|
} | undefined;
|
|
@@ -716,6 +735,7 @@ export declare const AppSettings: import("arktype/internal/variants/object.ts").
|
|
|
716
735
|
description: string;
|
|
717
736
|
featured?: boolean | undefined;
|
|
718
737
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
738
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
719
739
|
} | undefined;
|
|
720
740
|
apiKey?: string | undefined;
|
|
721
741
|
} | undefined;
|
|
@@ -726,6 +746,7 @@ export declare const AppSettings: import("arktype/internal/variants/object.ts").
|
|
|
726
746
|
description: string;
|
|
727
747
|
featured?: boolean | undefined;
|
|
728
748
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
749
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
729
750
|
} | undefined;
|
|
730
751
|
apiKey?: string | undefined;
|
|
731
752
|
} | undefined;
|
|
@@ -918,6 +939,7 @@ export declare const resEnsureAppSettings: import("arktype/internal/variants/obj
|
|
|
918
939
|
description: string;
|
|
919
940
|
featured?: boolean | undefined;
|
|
920
941
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
942
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
921
943
|
};
|
|
922
944
|
apiKey?: string | undefined;
|
|
923
945
|
};
|
|
@@ -931,6 +953,7 @@ export declare const resEnsureAppSettings: import("arktype/internal/variants/obj
|
|
|
931
953
|
description: string;
|
|
932
954
|
featured?: boolean | undefined;
|
|
933
955
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
956
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
934
957
|
};
|
|
935
958
|
apiKey?: string | undefined;
|
|
936
959
|
};
|
|
@@ -944,6 +967,7 @@ export declare const resEnsureAppSettings: import("arktype/internal/variants/obj
|
|
|
944
967
|
description: string;
|
|
945
968
|
featured?: boolean | undefined;
|
|
946
969
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
970
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
947
971
|
};
|
|
948
972
|
apiKey?: string | undefined;
|
|
949
973
|
};
|
|
@@ -966,6 +990,7 @@ export declare const resEnsureAppSettings: import("arktype/internal/variants/obj
|
|
|
966
990
|
description: string;
|
|
967
991
|
featured?: boolean | undefined;
|
|
968
992
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
993
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
969
994
|
} | undefined;
|
|
970
995
|
apiKey?: string | undefined;
|
|
971
996
|
} | undefined;
|
|
@@ -976,6 +1001,7 @@ export declare const resEnsureAppSettings: import("arktype/internal/variants/obj
|
|
|
976
1001
|
description: string;
|
|
977
1002
|
featured?: boolean | undefined;
|
|
978
1003
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
1004
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
979
1005
|
} | undefined;
|
|
980
1006
|
apiKey?: string | undefined;
|
|
981
1007
|
} | undefined;
|
|
@@ -986,6 +1012,7 @@ export declare const resEnsureAppSettings: import("arktype/internal/variants/obj
|
|
|
986
1012
|
description: string;
|
|
987
1013
|
featured?: boolean | undefined;
|
|
988
1014
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
1015
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
989
1016
|
} | undefined;
|
|
990
1017
|
apiKey?: string | undefined;
|
|
991
1018
|
} | undefined;
|
|
@@ -1208,6 +1235,7 @@ export declare const evtAppSetting: import("arktype/internal/variants/object.ts"
|
|
|
1208
1235
|
description: string;
|
|
1209
1236
|
featured?: boolean | undefined;
|
|
1210
1237
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
1238
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
1211
1239
|
};
|
|
1212
1240
|
apiKey?: string | undefined;
|
|
1213
1241
|
};
|
|
@@ -1221,6 +1249,7 @@ export declare const evtAppSetting: import("arktype/internal/variants/object.ts"
|
|
|
1221
1249
|
description: string;
|
|
1222
1250
|
featured?: boolean | undefined;
|
|
1223
1251
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
1252
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
1224
1253
|
};
|
|
1225
1254
|
apiKey?: string | undefined;
|
|
1226
1255
|
};
|
|
@@ -1234,6 +1263,7 @@ export declare const evtAppSetting: import("arktype/internal/variants/object.ts"
|
|
|
1234
1263
|
description: string;
|
|
1235
1264
|
featured?: boolean | undefined;
|
|
1236
1265
|
preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
|
|
1266
|
+
supports?: ("app" | "chat" | "img")[] | undefined;
|
|
1237
1267
|
};
|
|
1238
1268
|
apiKey?: string | undefined;
|
|
1239
1269
|
};
|
package/vibes-diy-api.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { ReqEnsureUserSettings, ResEnsureUserSettings, ReqListApplicationChats,
|
|
|
6
6
|
import { ReqFPCloudToken, ResFPCloudToken } from "./fpcloud-token.js";
|
|
7
7
|
import { ReqCreateInvite, ResCreateInvite, ReqRevokeInvite, ResRevokeInvite, ReqRedeemInvite, ResRedeemInviteOK, ReqHasAccessInvite, ResHasAccessInvite, ReqInviteSetRole, ResInviteSetRole, ReqListInviteGrants, ResListInviteGrants } from "./invite-flow.js";
|
|
8
8
|
import { ReqListRequestGrants, ResListRequestGrants, ReqRequestAccess, ResRequestAccess, ReqApproveRequest, ResApproveRequest, ReqRequestSetRole, ResRequestSetRole, ReqRevokeRequest, ResRevokeRequest, ReqHasAccessRequest, ResHasAccessRequest } from "./request-access.js";
|
|
9
|
-
import { ReqPutDoc, ResPutDoc, ReqGetDoc, ResGetDoc, ResGetDocNotFound, ReqQueryDocs, ResQueryDocs, ReqDeleteDoc, ResDeleteDoc, ReqSubscribeDocs, ResSubscribeDocs } from "./app-documents.js";
|
|
9
|
+
import { ReqPutDoc, ResPutDoc, ReqGetDoc, ResGetDoc, ResGetDocNotFound, ReqQueryDocs, ResQueryDocs, ReqDeleteDoc, ResDeleteDoc, ReqSubscribeDocs, ResSubscribeDocs, ReqListDbNames, ResListDbNames } from "./app-documents.js";
|
|
10
10
|
import { LLMRequest } from "@vibes.diy/call-ai-v2";
|
|
11
11
|
import { DashAuthType, ReqCertFromCsr, ResCertFromCsr, VerifiedClaimsResult } from "@fireproof/core-types-protocols-dashboard";
|
|
12
12
|
import { ClerkClaim } from "@fireproof/core-types-base";
|
|
@@ -68,5 +68,6 @@ export interface VibesDiyApiIface<_T = unknown> {
|
|
|
68
68
|
queryDocs(req: Req<ReqQueryDocs>): Promise<Result<ResQueryDocs, VibesDiyError>>;
|
|
69
69
|
deleteDoc(req: Req<ReqDeleteDoc>): Promise<Result<ResDeleteDoc, VibesDiyError>>;
|
|
70
70
|
subscribeDocs(req: Req<ReqSubscribeDocs>): Promise<Result<ResSubscribeDocs, VibesDiyError>>;
|
|
71
|
+
listDbNames(req: Req<ReqListDbNames>): Promise<Result<ResListDbNames, VibesDiyError>>;
|
|
71
72
|
onDocChanged(fn: (userSlug: string, appSlug: string, docId: string) => void): void;
|
|
72
73
|
}
|
package/vibes-diy-api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vibes-diy-api.js","sourceRoot":"","sources":["../jsr/vibes-diy-api.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"vibes-diy-api.js","sourceRoot":"","sources":["../jsr/vibes-diy-api.ts"],"names":[],"mappings":"AA2EA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAK/B,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,CAAC;IAC/B,GAAG,EAAE,QAAQ;IACb,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,QAAQ;IAClB,OAAO,EAAE,QAAQ;CAClB,CAAC,CAAC"}
|
package/vibes-diy-serv-ctx.d.ts
CHANGED
|
@@ -11,6 +11,8 @@ export type VibesSvcEnv = typeof vibesSvcEnv.infer;
|
|
|
11
11
|
declare const metaProps: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
12
12
|
title: string;
|
|
13
13
|
description: string;
|
|
14
|
+
imageUrl?: string | undefined;
|
|
15
|
+
canonicalUrl?: string | undefined;
|
|
14
16
|
}, {}>;
|
|
15
17
|
export type MetaProps = typeof metaProps.infer;
|
|
16
18
|
export declare const vibeImportMap: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
@@ -37,6 +39,8 @@ export declare const vibesDiyServCtx: import("arktype/internal/variants/object.t
|
|
|
37
39
|
metaProps: {
|
|
38
40
|
title: string;
|
|
39
41
|
description: string;
|
|
42
|
+
imageUrl?: string | undefined;
|
|
43
|
+
canonicalUrl?: string | undefined;
|
|
40
44
|
};
|
|
41
45
|
mountJS: string;
|
|
42
46
|
}, {}>;
|
package/vibes-diy-serv-ctx.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vibes-diy-serv-ctx.js","s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