@robbeverhelst/do 1.369.0 → 1.370.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/dist/do.js +56 -3
- package/package.json +1 -1
package/dist/do.js
CHANGED
|
@@ -14420,7 +14420,7 @@ var configError = (message) => new CliError("config", message, EXIT.CONFIG);
|
|
|
14420
14420
|
|
|
14421
14421
|
// src/meta.ts
|
|
14422
14422
|
var CLI_NAME = "do";
|
|
14423
|
-
var VERSION = "1.
|
|
14423
|
+
var VERSION = "1.370.0";
|
|
14424
14424
|
var API_PREFIX = "/api/v1";
|
|
14425
14425
|
var DEFAULT_API_URL = "http://localhost:3001";
|
|
14426
14426
|
|
|
@@ -19743,6 +19743,44 @@ var postCardAnswerSchema = object({
|
|
|
19743
19743
|
}).optional(),
|
|
19744
19744
|
follow: array(line2).max(6).optional()
|
|
19745
19745
|
});
|
|
19746
|
+
var shot = href;
|
|
19747
|
+
var cardActions = array(object({ label: line2, primary: boolean2().optional(), href: href.optional() })).max(4);
|
|
19748
|
+
var postCardCompareSchema = object({
|
|
19749
|
+
title: line2,
|
|
19750
|
+
sub: line2.optional(),
|
|
19751
|
+
before: shot.optional(),
|
|
19752
|
+
after: shot.optional(),
|
|
19753
|
+
beforeLabel: line2.optional(),
|
|
19754
|
+
afterLabel: line2.optional(),
|
|
19755
|
+
pos: number2().min(0).max(100).optional(),
|
|
19756
|
+
notes: array(line2).max(12).optional(),
|
|
19757
|
+
actions: cardActions.optional()
|
|
19758
|
+
});
|
|
19759
|
+
var postCardGallerySchema = object({
|
|
19760
|
+
title: line2,
|
|
19761
|
+
sub: line2.optional(),
|
|
19762
|
+
items: array(object({ label: line2, image: shot.optional(), href: href.optional() })).min(1).max(24)
|
|
19763
|
+
});
|
|
19764
|
+
var postCardDesignSchema = object({
|
|
19765
|
+
title: line2,
|
|
19766
|
+
sub: line2.optional(),
|
|
19767
|
+
state: string2().trim().min(1).max(20).optional(),
|
|
19768
|
+
stateText: line2.optional(),
|
|
19769
|
+
screens: array(object({ label: line2, image: shot.optional(), href: href.optional() })).min(1).max(8),
|
|
19770
|
+
openHref: href.optional(),
|
|
19771
|
+
approve: boolean2().optional()
|
|
19772
|
+
});
|
|
19773
|
+
var postCardVoiceSchema = object({
|
|
19774
|
+
length: string2().trim().min(1).max(20),
|
|
19775
|
+
seed: number2().int().nonnegative().max(1e6).optional(),
|
|
19776
|
+
transcript: string2().max(8000),
|
|
19777
|
+
open: boolean2().optional()
|
|
19778
|
+
});
|
|
19779
|
+
var postCardCodeSchema = object({
|
|
19780
|
+
title: line2.optional(),
|
|
19781
|
+
lang: string2().trim().min(1).max(40).optional(),
|
|
19782
|
+
code: string2().min(1).max(8000)
|
|
19783
|
+
});
|
|
19746
19784
|
var POST_CARD_DATA = {
|
|
19747
19785
|
text: postCardTextSchema,
|
|
19748
19786
|
brief: postCardBriefSchema,
|
|
@@ -19761,7 +19799,12 @@ var POST_CARD_DATA = {
|
|
|
19761
19799
|
mail: postCardMailSchema,
|
|
19762
19800
|
link: postCardLinkSchema,
|
|
19763
19801
|
file: postCardFileSchema,
|
|
19764
|
-
answer: postCardAnswerSchema
|
|
19802
|
+
answer: postCardAnswerSchema,
|
|
19803
|
+
compare: postCardCompareSchema,
|
|
19804
|
+
gallery: postCardGallerySchema,
|
|
19805
|
+
design: postCardDesignSchema,
|
|
19806
|
+
voice: postCardVoiceSchema,
|
|
19807
|
+
code: postCardCodeSchema
|
|
19765
19808
|
};
|
|
19766
19809
|
|
|
19767
19810
|
// ../../packages/schema/src/contracts/agent-gateway.ts
|
|
@@ -19838,6 +19881,11 @@ var postCardSchema = discriminatedUnion("type", [
|
|
|
19838
19881
|
pinned("link"),
|
|
19839
19882
|
pinned("file"),
|
|
19840
19883
|
pinned("answer"),
|
|
19884
|
+
pinned("compare"),
|
|
19885
|
+
pinned("gallery"),
|
|
19886
|
+
pinned("design"),
|
|
19887
|
+
pinned("voice"),
|
|
19888
|
+
pinned("code"),
|
|
19841
19889
|
object({
|
|
19842
19890
|
type: postCardTypeSchema.exclude([
|
|
19843
19891
|
"text",
|
|
@@ -19857,7 +19905,12 @@ var postCardSchema = discriminatedUnion("type", [
|
|
|
19857
19905
|
"mail",
|
|
19858
19906
|
"link",
|
|
19859
19907
|
"file",
|
|
19860
|
-
"answer"
|
|
19908
|
+
"answer",
|
|
19909
|
+
"compare",
|
|
19910
|
+
"gallery",
|
|
19911
|
+
"design",
|
|
19912
|
+
"voice",
|
|
19913
|
+
"code"
|
|
19861
19914
|
]),
|
|
19862
19915
|
data: record(string2(), unknown()).default({})
|
|
19863
19916
|
})
|
package/package.json
CHANGED