@robbeverhelst/do 1.367.0 → 1.368.1
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 +71 -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.368.1";
|
|
14424
14424
|
var API_PREFIX = "/api/v1";
|
|
14425
14425
|
var DEFAULT_API_URL = "http://localhost:3001";
|
|
14426
14426
|
|
|
@@ -19677,6 +19677,56 @@ var postCardReportSchema = object({
|
|
|
19677
19677
|
table: tableBody.optional(),
|
|
19678
19678
|
href: href.optional()
|
|
19679
19679
|
});
|
|
19680
|
+
var postCardHandoffSchema = object({
|
|
19681
|
+
from: line2,
|
|
19682
|
+
to: line2,
|
|
19683
|
+
what: string2().trim().min(1).max(2000),
|
|
19684
|
+
sub: line2.optional(),
|
|
19685
|
+
state: _enum2(["stuck", "seen", "picked"]),
|
|
19686
|
+
reassignHref: href.optional()
|
|
19687
|
+
});
|
|
19688
|
+
var postCardDecisionSchema = object({
|
|
19689
|
+
text: string2().trim().min(1).max(2000),
|
|
19690
|
+
when: line2.optional(),
|
|
19691
|
+
by: line2.optional()
|
|
19692
|
+
});
|
|
19693
|
+
var postCardInvoiceSchema = object({
|
|
19694
|
+
title: line2,
|
|
19695
|
+
to: line2,
|
|
19696
|
+
due: line2,
|
|
19697
|
+
state: _enum2(["draft", "sent", "paid"]),
|
|
19698
|
+
amount: string2().trim().min(1).max(40),
|
|
19699
|
+
lines: words.optional(),
|
|
19700
|
+
sentAt: line2.optional(),
|
|
19701
|
+
paidAt: line2.optional(),
|
|
19702
|
+
editHref: href.optional()
|
|
19703
|
+
});
|
|
19704
|
+
var postCardMailSchema = object({
|
|
19705
|
+
subject: line2,
|
|
19706
|
+
to: line2,
|
|
19707
|
+
from: line2.optional(),
|
|
19708
|
+
state: _enum2(["draft", "sent"]).default("draft"),
|
|
19709
|
+
text: string2().max(8000),
|
|
19710
|
+
note: line2.optional(),
|
|
19711
|
+
sentAt: line2.optional(),
|
|
19712
|
+
undoUntil: line2.optional()
|
|
19713
|
+
});
|
|
19714
|
+
var postCardLinkSchema = object({
|
|
19715
|
+
href,
|
|
19716
|
+
site: line2,
|
|
19717
|
+
title: line2,
|
|
19718
|
+
desc: words.optional(),
|
|
19719
|
+
image: href.optional()
|
|
19720
|
+
});
|
|
19721
|
+
var postCardFileSchema = object({
|
|
19722
|
+
name: line2,
|
|
19723
|
+
meta: line2.optional(),
|
|
19724
|
+
preview: union([
|
|
19725
|
+
object({ kind: literal("pdf"), title: line2 }),
|
|
19726
|
+
object({ kind: literal("text"), text: string2().max(2000) })
|
|
19727
|
+
]).optional(),
|
|
19728
|
+
href: href.optional()
|
|
19729
|
+
});
|
|
19680
19730
|
var POST_CARD_DATA = {
|
|
19681
19731
|
text: postCardTextSchema,
|
|
19682
19732
|
brief: postCardBriefSchema,
|
|
@@ -19688,7 +19738,13 @@ var POST_CARD_DATA = {
|
|
|
19688
19738
|
chips: postCardChipsSchema,
|
|
19689
19739
|
table: postCardTableSchema,
|
|
19690
19740
|
chart: postCardChartSchema,
|
|
19691
|
-
report: postCardReportSchema
|
|
19741
|
+
report: postCardReportSchema,
|
|
19742
|
+
handoff: postCardHandoffSchema,
|
|
19743
|
+
decision: postCardDecisionSchema,
|
|
19744
|
+
invoice: postCardInvoiceSchema,
|
|
19745
|
+
mail: postCardMailSchema,
|
|
19746
|
+
link: postCardLinkSchema,
|
|
19747
|
+
file: postCardFileSchema
|
|
19692
19748
|
};
|
|
19693
19749
|
|
|
19694
19750
|
// ../../packages/schema/src/contracts/agent-gateway.ts
|
|
@@ -19758,6 +19814,12 @@ var postCardSchema = discriminatedUnion("type", [
|
|
|
19758
19814
|
pinned("table"),
|
|
19759
19815
|
pinned("chart"),
|
|
19760
19816
|
pinned("report"),
|
|
19817
|
+
pinned("handoff"),
|
|
19818
|
+
pinned("decision"),
|
|
19819
|
+
pinned("invoice"),
|
|
19820
|
+
pinned("mail"),
|
|
19821
|
+
pinned("link"),
|
|
19822
|
+
pinned("file"),
|
|
19761
19823
|
object({
|
|
19762
19824
|
type: postCardTypeSchema.exclude([
|
|
19763
19825
|
"text",
|
|
@@ -19770,7 +19832,13 @@ var postCardSchema = discriminatedUnion("type", [
|
|
|
19770
19832
|
"chips",
|
|
19771
19833
|
"table",
|
|
19772
19834
|
"chart",
|
|
19773
|
-
"report"
|
|
19835
|
+
"report",
|
|
19836
|
+
"handoff",
|
|
19837
|
+
"decision",
|
|
19838
|
+
"invoice",
|
|
19839
|
+
"mail",
|
|
19840
|
+
"link",
|
|
19841
|
+
"file"
|
|
19774
19842
|
]),
|
|
19775
19843
|
data: record(string2(), unknown()).default({})
|
|
19776
19844
|
})
|
package/package.json
CHANGED