@robbeverhelst/do 1.368.1 → 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 +75 -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
|
|
|
@@ -19727,6 +19727,60 @@ var postCardFileSchema = object({
|
|
|
19727
19727
|
]).optional(),
|
|
19728
19728
|
href: href.optional()
|
|
19729
19729
|
});
|
|
19730
|
+
var postCardAnswerSchema = object({
|
|
19731
|
+
title: line2,
|
|
19732
|
+
sub: line2.optional(),
|
|
19733
|
+
state: string2().trim().min(1).max(20).optional(),
|
|
19734
|
+
stateText: line2.optional(),
|
|
19735
|
+
lead: string2().trim().min(1).max(2000),
|
|
19736
|
+
chart: object({ label: line2, bars }).optional(),
|
|
19737
|
+
table: tableBody.optional(),
|
|
19738
|
+
gate: object({ title: line2, text: words.optional() }).optional(),
|
|
19739
|
+
risk: object({
|
|
19740
|
+
title: line2,
|
|
19741
|
+
text: words.optional(),
|
|
19742
|
+
actions: array(object({ label: line2, primary: boolean2().optional(), href: href.optional() })).max(4).optional()
|
|
19743
|
+
}).optional(),
|
|
19744
|
+
follow: array(line2).max(6).optional()
|
|
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
|
+
});
|
|
19730
19784
|
var POST_CARD_DATA = {
|
|
19731
19785
|
text: postCardTextSchema,
|
|
19732
19786
|
brief: postCardBriefSchema,
|
|
@@ -19744,7 +19798,13 @@ var POST_CARD_DATA = {
|
|
|
19744
19798
|
invoice: postCardInvoiceSchema,
|
|
19745
19799
|
mail: postCardMailSchema,
|
|
19746
19800
|
link: postCardLinkSchema,
|
|
19747
|
-
file: postCardFileSchema
|
|
19801
|
+
file: postCardFileSchema,
|
|
19802
|
+
answer: postCardAnswerSchema,
|
|
19803
|
+
compare: postCardCompareSchema,
|
|
19804
|
+
gallery: postCardGallerySchema,
|
|
19805
|
+
design: postCardDesignSchema,
|
|
19806
|
+
voice: postCardVoiceSchema,
|
|
19807
|
+
code: postCardCodeSchema
|
|
19748
19808
|
};
|
|
19749
19809
|
|
|
19750
19810
|
// ../../packages/schema/src/contracts/agent-gateway.ts
|
|
@@ -19820,6 +19880,12 @@ var postCardSchema = discriminatedUnion("type", [
|
|
|
19820
19880
|
pinned("mail"),
|
|
19821
19881
|
pinned("link"),
|
|
19822
19882
|
pinned("file"),
|
|
19883
|
+
pinned("answer"),
|
|
19884
|
+
pinned("compare"),
|
|
19885
|
+
pinned("gallery"),
|
|
19886
|
+
pinned("design"),
|
|
19887
|
+
pinned("voice"),
|
|
19888
|
+
pinned("code"),
|
|
19823
19889
|
object({
|
|
19824
19890
|
type: postCardTypeSchema.exclude([
|
|
19825
19891
|
"text",
|
|
@@ -19838,7 +19904,13 @@ var postCardSchema = discriminatedUnion("type", [
|
|
|
19838
19904
|
"invoice",
|
|
19839
19905
|
"mail",
|
|
19840
19906
|
"link",
|
|
19841
|
-
"file"
|
|
19907
|
+
"file",
|
|
19908
|
+
"answer",
|
|
19909
|
+
"compare",
|
|
19910
|
+
"gallery",
|
|
19911
|
+
"design",
|
|
19912
|
+
"voice",
|
|
19913
|
+
"code"
|
|
19842
19914
|
]),
|
|
19843
19915
|
data: record(string2(), unknown()).default({})
|
|
19844
19916
|
})
|
package/package.json
CHANGED