vibes-diy 14.3.340 → 14.3.341
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/cli/cmd-evento.d.ts +243 -243
- package/cli/cmds/run/backend-worker/run-backend-entry.js +149 -25
- package/cli/cmds/run/bundle-inputs.json +2 -0
- package/cli/cmds/run/run-bundle.js +654 -523
- package/package.json +8 -8
package/cli/cmd-evento.d.ts
CHANGED
|
@@ -2,91 +2,193 @@ import { isCmdProgress, sendMsg, sendProgress, type CmdProgress, type CmdTSMsg,
|
|
|
2
2
|
export type { CmdTSMsg, WrapCmdTSMsg, CmdProgress };
|
|
3
3
|
export { isCmdProgress, sendMsg, sendProgress };
|
|
4
4
|
export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
5
|
-
type: "
|
|
5
|
+
type: "core-cli.device-id-register";
|
|
6
|
+
commonName: string;
|
|
7
|
+
organization: string;
|
|
8
|
+
locality: string;
|
|
9
|
+
state: string;
|
|
10
|
+
country: string;
|
|
11
|
+
caUrl: string;
|
|
12
|
+
port: string;
|
|
13
|
+
timeout: string;
|
|
14
|
+
forceRenew: boolean;
|
|
15
|
+
cert?: string | undefined;
|
|
16
|
+
noBrowser?: boolean | undefined;
|
|
17
|
+
apiUrl?: string | undefined;
|
|
18
|
+
expectHandle?: string | undefined;
|
|
19
|
+
expectUser?: string | undefined;
|
|
6
20
|
}, {
|
|
7
|
-
type: "
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
21
|
+
type: "core-cli.res-device-id-register";
|
|
22
|
+
output: string;
|
|
23
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
24
|
+
type: "vibes-diy.cli.variety";
|
|
25
|
+
}, {
|
|
26
|
+
type: "vibes-diy.cli.res-variety-list";
|
|
27
|
+
grammar: string;
|
|
28
|
+
flourishCount: number;
|
|
29
|
+
archetypes: {
|
|
30
|
+
id: string;
|
|
31
|
+
guidance: string;
|
|
32
|
+
}[];
|
|
33
|
+
flourishes: {
|
|
34
|
+
id: string;
|
|
35
|
+
guidance: string;
|
|
11
36
|
}[];
|
|
12
|
-
} | {
|
|
13
|
-
type: "use-vibes.cli.res-theme-content";
|
|
14
|
-
slug: string;
|
|
15
|
-
content: string;
|
|
16
37
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
17
|
-
type: "vibes-diy.cli.
|
|
38
|
+
type: "vibes-diy.cli.put-asset";
|
|
39
|
+
file: string;
|
|
40
|
+
appSlug: string;
|
|
41
|
+
ownerHandle: string;
|
|
18
42
|
apiUrl: string;
|
|
43
|
+
mimeType: string;
|
|
44
|
+
verifyFetch: boolean;
|
|
45
|
+
}, {
|
|
46
|
+
type: "vibes-diy.cli.res-put-asset";
|
|
47
|
+
cid: string;
|
|
48
|
+
getURL: string;
|
|
49
|
+
size: number;
|
|
50
|
+
uploadId: string;
|
|
51
|
+
verified?: boolean | undefined;
|
|
52
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
53
|
+
type: "vibes-diy.cli.generate";
|
|
54
|
+
prompt: string;
|
|
19
55
|
appSlug: string;
|
|
20
56
|
ownerHandle: string;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
57
|
+
instantJoin?: boolean | undefined;
|
|
58
|
+
noAccessFn?: boolean | undefined;
|
|
59
|
+
privateMode?: boolean | undefined;
|
|
60
|
+
verbose: boolean;
|
|
61
|
+
apiUrl: string;
|
|
62
|
+
focusPath?: string | undefined;
|
|
63
|
+
model?: string | undefined;
|
|
64
|
+
builderModel?: string | undefined;
|
|
65
|
+
apiKey?: string | undefined;
|
|
66
|
+
variety?: string | undefined;
|
|
67
|
+
record?: string | undefined;
|
|
68
|
+
style?: string | undefined;
|
|
69
|
+
fastPass?: boolean | undefined;
|
|
25
70
|
}, {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
71
|
+
appSlug: string;
|
|
72
|
+
ownerHandle: string;
|
|
73
|
+
mode: "dev" | "production";
|
|
74
|
+
fsId: string;
|
|
75
|
+
type: "vibes.diy.res-ensure-app-slug";
|
|
76
|
+
env: Record<string, string>;
|
|
77
|
+
fileSystem: {
|
|
78
|
+
fileName: string;
|
|
79
|
+
mimeType: string;
|
|
80
|
+
assetId: string;
|
|
81
|
+
assetURI: string;
|
|
82
|
+
transform?: {
|
|
83
|
+
type: "jsx-to-js";
|
|
84
|
+
transformedAssetId: string;
|
|
85
|
+
} | {
|
|
86
|
+
type: "imports";
|
|
87
|
+
importMapAssetId: string;
|
|
88
|
+
} | {
|
|
89
|
+
type: "import-map";
|
|
90
|
+
fromAssetIds: string[];
|
|
91
|
+
} | {
|
|
92
|
+
type: "transformed";
|
|
93
|
+
action: "jsx-to-js";
|
|
94
|
+
transformedAssetId: string;
|
|
95
|
+
} | {
|
|
96
|
+
type: "tailwind-css";
|
|
97
|
+
} | undefined;
|
|
98
|
+
entryPoint?: boolean | undefined;
|
|
99
|
+
size: number;
|
|
100
|
+
kind?: "asset" | undefined;
|
|
101
|
+
uploadId?: string | undefined;
|
|
102
|
+
}[];
|
|
103
|
+
autoEnhanceOff?: true | undefined;
|
|
104
|
+
appCreated?: true | undefined;
|
|
105
|
+
} | {
|
|
106
|
+
type: "vibes.diy.res-error";
|
|
107
|
+
error: {
|
|
108
|
+
message: string;
|
|
109
|
+
code: "require-login";
|
|
110
|
+
};
|
|
111
|
+
} | {
|
|
112
|
+
type: "vibes.diy.res-error";
|
|
113
|
+
error: {
|
|
114
|
+
message: string;
|
|
115
|
+
code: "user-slug-invalid";
|
|
29
116
|
};
|
|
117
|
+
} | {
|
|
118
|
+
type: "vibes.diy.res-error";
|
|
119
|
+
error: {
|
|
120
|
+
message: string;
|
|
121
|
+
code: "app-slug-invalid";
|
|
122
|
+
};
|
|
123
|
+
} | {
|
|
124
|
+
type: "vibes.diy.res-error";
|
|
125
|
+
error: {
|
|
126
|
+
message: string;
|
|
127
|
+
code: "max-app-slugs-reached";
|
|
128
|
+
};
|
|
129
|
+
} | {
|
|
130
|
+
type: "vibes.diy.res-error";
|
|
131
|
+
error: {
|
|
132
|
+
message: string;
|
|
133
|
+
code: "handle-required";
|
|
134
|
+
};
|
|
135
|
+
} | {
|
|
136
|
+
type: "vibes.diy.res-error";
|
|
137
|
+
error: {
|
|
138
|
+
message: string;
|
|
139
|
+
code: "from-not-owned";
|
|
140
|
+
};
|
|
141
|
+
} | {
|
|
142
|
+
type: "vibes.diy.res-error";
|
|
143
|
+
error: {
|
|
144
|
+
message: string;
|
|
145
|
+
code: "from-carry-failed";
|
|
146
|
+
};
|
|
147
|
+
} | {
|
|
148
|
+
type: "vibes.diy.res-error";
|
|
149
|
+
error: {
|
|
150
|
+
message: string;
|
|
151
|
+
code: "auto-enhance-off";
|
|
152
|
+
};
|
|
153
|
+
} | {
|
|
154
|
+
type: "vibes-diy.cli.res-generate";
|
|
155
|
+
appSlug: string;
|
|
156
|
+
ownerHandle: string;
|
|
157
|
+
url: string;
|
|
158
|
+
directory: string;
|
|
159
|
+
release?: "not-visible" | "published" | "version-locked" | undefined;
|
|
160
|
+
turns?: number | undefined;
|
|
161
|
+
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
162
|
+
posture?: "gated" | "open" | "private" | undefined;
|
|
30
163
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
31
|
-
type: "vibes-diy.cli.db.
|
|
164
|
+
type: "vibes-diy.cli.db.query";
|
|
32
165
|
apiUrl: string;
|
|
33
166
|
appSlug: string;
|
|
34
167
|
ownerHandle: string;
|
|
35
168
|
dbName: string;
|
|
36
|
-
|
|
169
|
+
field: string;
|
|
170
|
+
key: string;
|
|
171
|
+
prefix: string;
|
|
172
|
+
range: string;
|
|
173
|
+
limit: number;
|
|
174
|
+
descending: boolean;
|
|
37
175
|
admin: boolean;
|
|
38
176
|
actingHandle: string;
|
|
39
177
|
}, {
|
|
40
|
-
type: "vibes-diy.cli.db.
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
44
|
-
type: "vibes-diy.cli.db.seed";
|
|
45
|
-
action: "add" | "remove";
|
|
46
|
-
apiUrl: string;
|
|
47
|
-
appSlug: string;
|
|
48
|
-
ownerHandle: string;
|
|
49
|
-
}, {
|
|
50
|
-
type: "vibes-diy.cli.db.seed-res";
|
|
51
|
-
action: "add" | "remove";
|
|
52
|
-
appSlug: string;
|
|
53
|
-
ownerHandle: string;
|
|
54
|
-
seedFile: "absent" | "invalid" | "present" | "unknown";
|
|
55
|
-
changed: number;
|
|
56
|
-
skipped: number;
|
|
57
|
-
failed: number;
|
|
58
|
-
perDb: {
|
|
59
|
-
dbName: string;
|
|
60
|
-
changed: number;
|
|
61
|
-
skipped: number;
|
|
62
|
-
failed: number;
|
|
178
|
+
type: "vibes-diy.cli.db.query-res";
|
|
179
|
+
docs: {
|
|
180
|
+
[x: string]: unknown;
|
|
63
181
|
}[];
|
|
64
182
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
65
|
-
type: "vibes-diy.cli.
|
|
183
|
+
type: "vibes-diy.cli.whoami";
|
|
66
184
|
apiUrl: string;
|
|
67
185
|
}, {
|
|
68
|
-
type: "vibes-diy.cli.res-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
deviceOk: boolean;
|
|
75
|
-
fingerprint?: string | undefined;
|
|
76
|
-
certExpires?: string | undefined;
|
|
77
|
-
apiUrl: string;
|
|
78
|
-
wsUrl: string;
|
|
79
|
-
proxy: string;
|
|
80
|
-
handshake: {
|
|
81
|
-
ok: boolean;
|
|
82
|
-
detail: string;
|
|
83
|
-
ms?: number | undefined;
|
|
84
|
-
};
|
|
85
|
-
auth?: {
|
|
86
|
-
ok: boolean;
|
|
87
|
-
detail: string;
|
|
88
|
-
ms?: number | undefined;
|
|
89
|
-
} | undefined;
|
|
186
|
+
type: "vibes-diy.cli.res-whoami";
|
|
187
|
+
authenticated: boolean;
|
|
188
|
+
userId?: string | undefined;
|
|
189
|
+
defaultHandle?: string | undefined;
|
|
190
|
+
handles: string[];
|
|
191
|
+
detail?: string | undefined;
|
|
90
192
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
91
193
|
type: "vibes-diy.cli.app-status";
|
|
92
194
|
appSlug: string;
|
|
@@ -400,6 +502,9 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
400
502
|
email: string;
|
|
401
503
|
updatedAt: string;
|
|
402
504
|
verified?: boolean | undefined;
|
|
505
|
+
} | {
|
|
506
|
+
type: "onboarding";
|
|
507
|
+
completedAt: string;
|
|
403
508
|
} | {
|
|
404
509
|
type: "geoCountry";
|
|
405
510
|
country: string;
|
|
@@ -410,9 +515,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
410
515
|
[x: string]: string;
|
|
411
516
|
};
|
|
412
517
|
updatedAt: string;
|
|
413
|
-
} | {
|
|
414
|
-
type: "onboarding";
|
|
415
|
-
completedAt: string;
|
|
416
518
|
} | {
|
|
417
519
|
type: "kyc";
|
|
418
520
|
cardAt?: string | undefined;
|
|
@@ -520,19 +622,17 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
520
622
|
name: string;
|
|
521
623
|
content: string;
|
|
522
624
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
523
|
-
type: "vibes
|
|
625
|
+
type: "use-vibes.cli.themes";
|
|
524
626
|
}, {
|
|
525
|
-
type: "vibes
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
id: string;
|
|
530
|
-
guidance: string;
|
|
531
|
-
}[];
|
|
532
|
-
flourishes: {
|
|
533
|
-
id: string;
|
|
534
|
-
guidance: string;
|
|
627
|
+
type: "use-vibes.cli.res-themes-list";
|
|
628
|
+
themes: {
|
|
629
|
+
slug: string;
|
|
630
|
+
name: string;
|
|
535
631
|
}[];
|
|
632
|
+
} | {
|
|
633
|
+
type: "use-vibes.cli.res-theme-content";
|
|
634
|
+
slug: string;
|
|
635
|
+
content: string;
|
|
536
636
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
537
637
|
type: "vibes-diy.cli.system";
|
|
538
638
|
}, {
|
|
@@ -719,132 +819,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
719
819
|
model: string;
|
|
720
820
|
};
|
|
721
821
|
};
|
|
722
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
723
|
-
type: "vibes-diy.cli.put-asset";
|
|
724
|
-
file: string;
|
|
725
|
-
appSlug: string;
|
|
726
|
-
ownerHandle: string;
|
|
727
|
-
apiUrl: string;
|
|
728
|
-
mimeType: string;
|
|
729
|
-
verifyFetch: boolean;
|
|
730
|
-
}, {
|
|
731
|
-
type: "vibes-diy.cli.res-put-asset";
|
|
732
|
-
cid: string;
|
|
733
|
-
getURL: string;
|
|
734
|
-
size: number;
|
|
735
|
-
uploadId: string;
|
|
736
|
-
verified?: boolean | undefined;
|
|
737
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
738
|
-
type: "vibes-diy.cli.generate";
|
|
739
|
-
prompt: string;
|
|
740
|
-
appSlug: string;
|
|
741
|
-
ownerHandle: string;
|
|
742
|
-
instantJoin?: boolean | undefined;
|
|
743
|
-
noAccessFn?: boolean | undefined;
|
|
744
|
-
privateMode?: boolean | undefined;
|
|
745
|
-
verbose: boolean;
|
|
746
|
-
apiUrl: string;
|
|
747
|
-
focusPath?: string | undefined;
|
|
748
|
-
model?: string | undefined;
|
|
749
|
-
builderModel?: string | undefined;
|
|
750
|
-
apiKey?: string | undefined;
|
|
751
|
-
variety?: string | undefined;
|
|
752
|
-
record?: string | undefined;
|
|
753
|
-
style?: string | undefined;
|
|
754
|
-
fastPass?: boolean | undefined;
|
|
755
|
-
}, {
|
|
756
|
-
type: "vibes-diy.cli.res-generate";
|
|
757
|
-
appSlug: string;
|
|
758
|
-
ownerHandle: string;
|
|
759
|
-
url: string;
|
|
760
|
-
directory: string;
|
|
761
|
-
release?: "not-visible" | "published" | "version-locked" | undefined;
|
|
762
|
-
turns?: number | undefined;
|
|
763
|
-
publish?: "kept-private-no-access-fn" | "private" | "published" | undefined;
|
|
764
|
-
posture?: "gated" | "open" | "private" | undefined;
|
|
765
|
-
} | {
|
|
766
|
-
appSlug: string;
|
|
767
|
-
ownerHandle: string;
|
|
768
|
-
mode: "dev" | "production";
|
|
769
|
-
fsId: string;
|
|
770
|
-
type: "vibes.diy.res-ensure-app-slug";
|
|
771
|
-
env: Record<string, string>;
|
|
772
|
-
fileSystem: {
|
|
773
|
-
fileName: string;
|
|
774
|
-
mimeType: string;
|
|
775
|
-
assetId: string;
|
|
776
|
-
assetURI: string;
|
|
777
|
-
transform?: {
|
|
778
|
-
type: "jsx-to-js";
|
|
779
|
-
transformedAssetId: string;
|
|
780
|
-
} | {
|
|
781
|
-
type: "imports";
|
|
782
|
-
importMapAssetId: string;
|
|
783
|
-
} | {
|
|
784
|
-
type: "import-map";
|
|
785
|
-
fromAssetIds: string[];
|
|
786
|
-
} | {
|
|
787
|
-
type: "transformed";
|
|
788
|
-
action: "jsx-to-js";
|
|
789
|
-
transformedAssetId: string;
|
|
790
|
-
} | {
|
|
791
|
-
type: "tailwind-css";
|
|
792
|
-
} | undefined;
|
|
793
|
-
entryPoint?: boolean | undefined;
|
|
794
|
-
size: number;
|
|
795
|
-
kind?: "asset" | undefined;
|
|
796
|
-
uploadId?: string | undefined;
|
|
797
|
-
}[];
|
|
798
|
-
autoEnhanceOff?: true | undefined;
|
|
799
|
-
appCreated?: true | undefined;
|
|
800
|
-
} | {
|
|
801
|
-
type: "vibes.diy.res-error";
|
|
802
|
-
error: {
|
|
803
|
-
message: string;
|
|
804
|
-
code: "require-login";
|
|
805
|
-
};
|
|
806
|
-
} | {
|
|
807
|
-
type: "vibes.diy.res-error";
|
|
808
|
-
error: {
|
|
809
|
-
message: string;
|
|
810
|
-
code: "user-slug-invalid";
|
|
811
|
-
};
|
|
812
|
-
} | {
|
|
813
|
-
type: "vibes.diy.res-error";
|
|
814
|
-
error: {
|
|
815
|
-
message: string;
|
|
816
|
-
code: "app-slug-invalid";
|
|
817
|
-
};
|
|
818
|
-
} | {
|
|
819
|
-
type: "vibes.diy.res-error";
|
|
820
|
-
error: {
|
|
821
|
-
message: string;
|
|
822
|
-
code: "max-app-slugs-reached";
|
|
823
|
-
};
|
|
824
|
-
} | {
|
|
825
|
-
type: "vibes.diy.res-error";
|
|
826
|
-
error: {
|
|
827
|
-
message: string;
|
|
828
|
-
code: "handle-required";
|
|
829
|
-
};
|
|
830
|
-
} | {
|
|
831
|
-
type: "vibes.diy.res-error";
|
|
832
|
-
error: {
|
|
833
|
-
message: string;
|
|
834
|
-
code: "from-not-owned";
|
|
835
|
-
};
|
|
836
|
-
} | {
|
|
837
|
-
type: "vibes.diy.res-error";
|
|
838
|
-
error: {
|
|
839
|
-
message: string;
|
|
840
|
-
code: "from-carry-failed";
|
|
841
|
-
};
|
|
842
|
-
} | {
|
|
843
|
-
type: "vibes.diy.res-error";
|
|
844
|
-
error: {
|
|
845
|
-
message: string;
|
|
846
|
-
code: "auto-enhance-off";
|
|
847
|
-
};
|
|
848
822
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
849
823
|
type: "vibes-diy.cli.app-chats";
|
|
850
824
|
appSlug: string;
|
|
@@ -1025,15 +999,31 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1025
999
|
unpublishedAt?: string | undefined;
|
|
1026
1000
|
}[];
|
|
1027
1001
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1028
|
-
type: "vibes-diy.cli.
|
|
1002
|
+
type: "vibes-diy.cli.doctor";
|
|
1029
1003
|
apiUrl: string;
|
|
1030
1004
|
}, {
|
|
1031
|
-
type: "vibes-diy.cli.res-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1005
|
+
type: "vibes-diy.cli.res-doctor";
|
|
1006
|
+
cliVersion: string;
|
|
1007
|
+
node: string;
|
|
1008
|
+
keybagPath: string;
|
|
1009
|
+
keybagInstance?: string | undefined;
|
|
1010
|
+
device: string;
|
|
1011
|
+
deviceOk: boolean;
|
|
1012
|
+
fingerprint?: string | undefined;
|
|
1013
|
+
certExpires?: string | undefined;
|
|
1014
|
+
apiUrl: string;
|
|
1015
|
+
wsUrl: string;
|
|
1016
|
+
proxy: string;
|
|
1017
|
+
handshake: {
|
|
1018
|
+
ok: boolean;
|
|
1019
|
+
detail: string;
|
|
1020
|
+
ms?: number | undefined;
|
|
1021
|
+
};
|
|
1022
|
+
auth?: {
|
|
1023
|
+
ok: boolean;
|
|
1024
|
+
detail: string;
|
|
1025
|
+
ms?: number | undefined;
|
|
1026
|
+
} | undefined;
|
|
1037
1027
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1038
1028
|
type: "vibes-diy.cli.pull";
|
|
1039
1029
|
appSlug: string;
|
|
@@ -1582,25 +1572,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1582
1572
|
}, {
|
|
1583
1573
|
type: "vibes-diy.cli.res-phone-link-classify";
|
|
1584
1574
|
reaction?: string | undefined;
|
|
1585
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1586
|
-
type: "core-cli.device-id-register";
|
|
1587
|
-
commonName: string;
|
|
1588
|
-
organization: string;
|
|
1589
|
-
locality: string;
|
|
1590
|
-
state: string;
|
|
1591
|
-
country: string;
|
|
1592
|
-
caUrl: string;
|
|
1593
|
-
port: string;
|
|
1594
|
-
timeout: string;
|
|
1595
|
-
forceRenew: boolean;
|
|
1596
|
-
cert?: string | undefined;
|
|
1597
|
-
noBrowser?: boolean | undefined;
|
|
1598
|
-
apiUrl?: string | undefined;
|
|
1599
|
-
expectHandle?: string | undefined;
|
|
1600
|
-
expectUser?: string | undefined;
|
|
1601
|
-
}, {
|
|
1602
|
-
type: "core-cli.res-device-id-register";
|
|
1603
|
-
output: string;
|
|
1604
1575
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1605
1576
|
type: "vibes-diy.cli.db.list";
|
|
1606
1577
|
apiUrl: string;
|
|
@@ -1610,6 +1581,20 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1610
1581
|
}, {
|
|
1611
1582
|
type: "vibes-diy.cli.db.list-res";
|
|
1612
1583
|
dbNames: string[];
|
|
1584
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1585
|
+
type: "vibes-diy.cli.db.get";
|
|
1586
|
+
apiUrl: string;
|
|
1587
|
+
appSlug: string;
|
|
1588
|
+
ownerHandle: string;
|
|
1589
|
+
dbName: string;
|
|
1590
|
+
docId: string;
|
|
1591
|
+
admin: boolean;
|
|
1592
|
+
actingHandle: string;
|
|
1593
|
+
}, {
|
|
1594
|
+
type: "vibes-diy.cli.db.get-res";
|
|
1595
|
+
doc: {
|
|
1596
|
+
[x: string]: unknown;
|
|
1597
|
+
};
|
|
1613
1598
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1614
1599
|
type: "vibes-diy.cli.db.put";
|
|
1615
1600
|
apiUrl: string;
|
|
@@ -1631,29 +1616,44 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
1631
1616
|
uploadId: string;
|
|
1632
1617
|
}[] | undefined;
|
|
1633
1618
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1634
|
-
type: "vibes-diy.cli.db.
|
|
1619
|
+
type: "vibes-diy.cli.db.del";
|
|
1635
1620
|
apiUrl: string;
|
|
1636
1621
|
appSlug: string;
|
|
1637
1622
|
ownerHandle: string;
|
|
1638
1623
|
dbName: string;
|
|
1639
|
-
|
|
1640
|
-
key: string;
|
|
1641
|
-
prefix: string;
|
|
1642
|
-
range: string;
|
|
1643
|
-
limit: number;
|
|
1644
|
-
descending: boolean;
|
|
1624
|
+
docId: string;
|
|
1645
1625
|
admin: boolean;
|
|
1646
1626
|
actingHandle: string;
|
|
1647
1627
|
}, {
|
|
1648
|
-
type: "vibes-diy.cli.db.
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
}[];
|
|
1628
|
+
type: "vibes-diy.cli.db.del-res";
|
|
1629
|
+
id: string;
|
|
1630
|
+
ok: true;
|
|
1652
1631
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1653
1632
|
type: "vibes-diy.cli.db.subscribe";
|
|
1654
1633
|
apiUrl: string;
|
|
1655
1634
|
appSlug: string;
|
|
1656
1635
|
ownerHandle: string;
|
|
1657
1636
|
dbName: string;
|
|
1658
|
-
}, never>)
|
|
1637
|
+
}, never> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
1638
|
+
type: "vibes-diy.cli.db.seed";
|
|
1639
|
+
action: "add" | "remove";
|
|
1640
|
+
apiUrl: string;
|
|
1641
|
+
appSlug: string;
|
|
1642
|
+
ownerHandle: string;
|
|
1643
|
+
}, {
|
|
1644
|
+
type: "vibes-diy.cli.db.seed-res";
|
|
1645
|
+
action: "add" | "remove";
|
|
1646
|
+
appSlug: string;
|
|
1647
|
+
ownerHandle: string;
|
|
1648
|
+
seedFile: "absent" | "invalid" | "present" | "unknown";
|
|
1649
|
+
changed: number;
|
|
1650
|
+
skipped: number;
|
|
1651
|
+
failed: number;
|
|
1652
|
+
perDb: {
|
|
1653
|
+
dbName: string;
|
|
1654
|
+
changed: number;
|
|
1655
|
+
skipped: number;
|
|
1656
|
+
failed: number;
|
|
1657
|
+
}[];
|
|
1658
|
+
}>)[];
|
|
1659
1659
|
export declare function cmdTsEvento(): import("@adviser/cement").Evento;
|