@start9labs/start-sdk 0.4.0-beta.57 → 0.4.0-beta.58
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/base/lib/actions/input/inputSpecConstants.d.ts +6 -34
- package/base/lib/actions/input/inputSpecConstants.js +1 -5
- package/base/lib/actions/input/inputSpecConstants.js.map +1 -1
- package/base/lib/osBindings/Hostname.d.ts +1 -0
- package/base/lib/osBindings/Hostname.js +4 -0
- package/base/lib/osBindings/Hostname.js.map +1 -0
- package/package/lib/StartSdk.d.ts +6 -34
- package/package/lib/test/output.d.ts +158 -0
- package/package/lib/test/output.js +446 -0
- package/package/lib/test/output.js.map +1 -0
- package/package/lib/test/output.sdk.d.ts +6 -34
- package/package/package.json +1 -1
- package/package.json +1 -1
|
@@ -56,10 +56,6 @@ export declare const customSmtp: InputSpec<{
|
|
|
56
56
|
* Each variant has SMTP fields pre-filled with the provider's recommended settings.
|
|
57
57
|
*/
|
|
58
58
|
export declare const smtpProviderVariants: Variants<{
|
|
59
|
-
none: {
|
|
60
|
-
name: string;
|
|
61
|
-
spec: InputSpec<{}, {}>;
|
|
62
|
-
};
|
|
63
59
|
gmail: {
|
|
64
60
|
name: string;
|
|
65
61
|
spec: InputSpec<{
|
|
@@ -367,10 +363,6 @@ export declare const smtpProviderVariants: Variants<{
|
|
|
367
363
|
*/
|
|
368
364
|
export declare const systemSmtpSpec: InputSpec<{
|
|
369
365
|
provider: import("./builder/variants").UnionRes<{
|
|
370
|
-
none: {
|
|
371
|
-
name: string;
|
|
372
|
-
spec: InputSpec<{}, {}>;
|
|
373
|
-
};
|
|
374
366
|
gmail: {
|
|
375
367
|
name: string;
|
|
376
368
|
spec: InputSpec<{
|
|
@@ -671,13 +663,9 @@ export declare const systemSmtpSpec: InputSpec<{
|
|
|
671
663
|
password: string | null;
|
|
672
664
|
}>;
|
|
673
665
|
};
|
|
674
|
-
}, "
|
|
666
|
+
}, "other" | "gmail" | "ses" | "sendgrid" | "mailgun" | "protonmail">;
|
|
675
667
|
}, {
|
|
676
668
|
provider: import("./builder/variants").UnionResStaticValidatedAs<{
|
|
677
|
-
none: {
|
|
678
|
-
name: string;
|
|
679
|
-
spec: InputSpec<{}, {}>;
|
|
680
|
-
};
|
|
681
669
|
gmail: {
|
|
682
670
|
name: string;
|
|
683
671
|
spec: InputSpec<{
|
|
@@ -978,7 +966,7 @@ export declare const systemSmtpSpec: InputSpec<{
|
|
|
978
966
|
password: string | null;
|
|
979
967
|
}>;
|
|
980
968
|
};
|
|
981
|
-
}, "
|
|
969
|
+
}, "other" | "gmail" | "ses" | "sendgrid" | "mailgun" | "protonmail">;
|
|
982
970
|
}>;
|
|
983
971
|
/**
|
|
984
972
|
* For service inputSpec. Gives users 3 options for SMTP: (1) disabled, (2) use system SMTP settings, (3) use custom SMTP settings with provider presets
|
|
@@ -1000,10 +988,6 @@ export declare const smtpInputSpec: Value<import("./builder/variants").UnionRes<
|
|
|
1000
988
|
name: string;
|
|
1001
989
|
spec: InputSpec<{
|
|
1002
990
|
provider: import("./builder/variants").UnionRes<{
|
|
1003
|
-
none: {
|
|
1004
|
-
name: string;
|
|
1005
|
-
spec: InputSpec<{}, {}>;
|
|
1006
|
-
};
|
|
1007
991
|
gmail: {
|
|
1008
992
|
name: string;
|
|
1009
993
|
spec: InputSpec<{
|
|
@@ -1304,13 +1288,9 @@ export declare const smtpInputSpec: Value<import("./builder/variants").UnionRes<
|
|
|
1304
1288
|
password: string | null;
|
|
1305
1289
|
}>;
|
|
1306
1290
|
};
|
|
1307
|
-
}, "
|
|
1291
|
+
}, "other" | "gmail" | "ses" | "sendgrid" | "mailgun" | "protonmail">;
|
|
1308
1292
|
}, {
|
|
1309
1293
|
provider: import("./builder/variants").UnionResStaticValidatedAs<{
|
|
1310
|
-
none: {
|
|
1311
|
-
name: string;
|
|
1312
|
-
spec: InputSpec<{}, {}>;
|
|
1313
|
-
};
|
|
1314
1294
|
gmail: {
|
|
1315
1295
|
name: string;
|
|
1316
1296
|
spec: InputSpec<{
|
|
@@ -1611,7 +1591,7 @@ export declare const smtpInputSpec: Value<import("./builder/variants").UnionRes<
|
|
|
1611
1591
|
password: string | null;
|
|
1612
1592
|
}>;
|
|
1613
1593
|
};
|
|
1614
|
-
}, "
|
|
1594
|
+
}, "other" | "gmail" | "ses" | "sendgrid" | "mailgun" | "protonmail">;
|
|
1615
1595
|
}>;
|
|
1616
1596
|
};
|
|
1617
1597
|
}>, import("./builder/variants").UnionResStaticValidatedAs<{
|
|
@@ -1631,10 +1611,6 @@ export declare const smtpInputSpec: Value<import("./builder/variants").UnionRes<
|
|
|
1631
1611
|
name: string;
|
|
1632
1612
|
spec: InputSpec<{
|
|
1633
1613
|
provider: import("./builder/variants").UnionRes<{
|
|
1634
|
-
none: {
|
|
1635
|
-
name: string;
|
|
1636
|
-
spec: InputSpec<{}, {}>;
|
|
1637
|
-
};
|
|
1638
1614
|
gmail: {
|
|
1639
1615
|
name: string;
|
|
1640
1616
|
spec: InputSpec<{
|
|
@@ -1935,13 +1911,9 @@ export declare const smtpInputSpec: Value<import("./builder/variants").UnionRes<
|
|
|
1935
1911
|
password: string | null;
|
|
1936
1912
|
}>;
|
|
1937
1913
|
};
|
|
1938
|
-
}, "
|
|
1914
|
+
}, "other" | "gmail" | "ses" | "sendgrid" | "mailgun" | "protonmail">;
|
|
1939
1915
|
}, {
|
|
1940
1916
|
provider: import("./builder/variants").UnionResStaticValidatedAs<{
|
|
1941
|
-
none: {
|
|
1942
|
-
name: string;
|
|
1943
|
-
spec: InputSpec<{}, {}>;
|
|
1944
|
-
};
|
|
1945
1917
|
gmail: {
|
|
1946
1918
|
name: string;
|
|
1947
1919
|
spec: InputSpec<{
|
|
@@ -2242,7 +2214,7 @@ export declare const smtpInputSpec: Value<import("./builder/variants").UnionRes<
|
|
|
2242
2214
|
password: string | null;
|
|
2243
2215
|
}>;
|
|
2244
2216
|
};
|
|
2245
|
-
}, "
|
|
2217
|
+
}, "other" | "gmail" | "ses" | "sendgrid" | "mailgun" | "protonmail">;
|
|
2246
2218
|
}>;
|
|
2247
2219
|
};
|
|
2248
2220
|
}>, unknown>;
|
|
@@ -76,10 +76,6 @@ exports.customSmtp = smtpFields();
|
|
|
76
76
|
* Each variant has SMTP fields pre-filled with the provider's recommended settings.
|
|
77
77
|
*/
|
|
78
78
|
exports.smtpProviderVariants = variants_1.Variants.of({
|
|
79
|
-
none: {
|
|
80
|
-
name: 'None',
|
|
81
|
-
spec: inputSpec_1.InputSpec.of({}),
|
|
82
|
-
},
|
|
83
79
|
gmail: {
|
|
84
80
|
name: 'Gmail',
|
|
85
81
|
spec: smtpFields({
|
|
@@ -131,7 +127,7 @@ exports.smtpProviderVariants = variants_1.Variants.of({
|
|
|
131
127
|
exports.systemSmtpSpec = inputSpec_1.InputSpec.of({
|
|
132
128
|
provider: value_1.Value.union({
|
|
133
129
|
name: 'Provider',
|
|
134
|
-
default: '
|
|
130
|
+
default: 'gmail',
|
|
135
131
|
variants: exports.smtpProviderVariants,
|
|
136
132
|
}),
|
|
137
133
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inputSpecConstants.js","sourceRoot":"","sources":["../../../../../base/lib/actions/input/inputSpecConstants.ts"],"names":[],"mappings":";;;AAAA,qCAAoD;AACpD,mDAA+C;AAC/C,2CAAuC;AACvC,iDAA6C;AAE7C,MAAM,gBAAgB,GAAG,mBAAQ,CAAC,EAAE,CAAC;IACnC,GAAG,EAAE;QACH,IAAI,EAAE,KAAK;QACX,IAAI,EAAE,qBAAS,CAAC,EAAE,CAAC;YACjB,IAAI,EAAE,aAAK,CAAC,WAAW,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC;gBACnC,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,KAAK;gBACd,QAAQ,EAAE,eAAe;aAC1B,CAAC,CAAC;SACJ,CAAC;KACH;IACD,QAAQ,EAAE;QACR,IAAI,EAAE,UAAU;QACh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QAAQ,EAAE,KAAK;YACf,OAAO,EAAE,IAAI;YACb,MAAM,EAAE,IAAI;SACb,CAAC;KACH,CAAC,CAAA;AACJ,CAAC;AAED;;GAEG;AACU,QAAA,UAAU,GAAG,UAAU,EAAE,CAAA;AAEtC;;;GAGG;AACU,QAAA,oBAAoB,GAAG,mBAAQ,CAAC,EAAE,CAAC;IAC9C,
|
|
1
|
+
{"version":3,"file":"inputSpecConstants.js","sourceRoot":"","sources":["../../../../../base/lib/actions/input/inputSpecConstants.ts"],"names":[],"mappings":";;;AAAA,qCAAoD;AACpD,mDAA+C;AAC/C,2CAAuC;AACvC,iDAA6C;AAE7C,MAAM,gBAAgB,GAAG,mBAAQ,CAAC,EAAE,CAAC;IACnC,GAAG,EAAE;QACH,IAAI,EAAE,KAAK;QACX,IAAI,EAAE,qBAAS,CAAC,EAAE,CAAC;YACjB,IAAI,EAAE,aAAK,CAAC,WAAW,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC;gBACnC,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,KAAK;gBACd,QAAQ,EAAE,eAAe;aAC1B,CAAC,CAAC;SACJ,CAAC;KACH;IACD,QAAQ,EAAE;QACR,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,qBAAS,CAAC,EAAE,CAAC;YACjB,IAAI,EAAE,aAAK,CAAC,MAAM,CAAC;gBACjB,IAAI,EAAE,MAAM;gBACZ,OAAO,EAAE,KAAK;gBACd,MAAM,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE;aACrD,CAAC;SACH,CAAC;KACH;CACF,CAAC,CAAA;AAEF;;GAEG;AACH,SAAS,UAAU,CACjB,WAII,EAAE;IAEN,MAAM,QAAQ,GAAG,aAAK,CAAC,IAAI,CAAC;QAC1B,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,QAAQ,CA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OAAO,EAAE,IAAI;gBACb,WAAW,EAAE,yBAAyB;gBACtC,QAAQ,EAAE,CAAC,eAAQ,CAAC,aAAa,CAAC;aACnC,CAAC;SACH,CAAC;KACH;IACD,MAAM,EAAE;QACN,IAAI,EAAE,oBAAoB;QAC1B,IAAI,EAAE,qBAAS,CAAC,EAAE,CAAC;YACjB,QAAQ,EAAE,aAAK,CAAC,KAAK,CAAC;gBACpB,IAAI,EAAE,UAAU;gBAChB,OAAO,EAAE,IAAW;gBACpB,QAAQ,EAAE,4BAAoB;aAC/B,CAAC;SACH,CAAC;KACH;CACF,CAAC,CAAA;AACF;;GAEG;AACU,QAAA,aAAa,GAAG,aAAK,CAAC,YAAY,CAAC,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;IACpE,MAAM,IAAI,GAAG,MAAM,IAAI,oBAAa,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,CAAA;IACpD,MAAM,QAAQ,GAAG,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAA;IACvC,OAAO;QACL,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,sDAAsD;QACnE,OAAO,EAAE,UAAU;QACnB,QAAQ;QACR,QAAQ,EAAE,YAAY;KACvB,CAAA;AACH,CAAC,EAAE,YAAY,CAAC,SAAS,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Hostname = string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Hostname.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/Hostname.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
|
|
@@ -290,10 +290,6 @@ export declare class StartSdk<Manifest extends T.SDKManifest> {
|
|
|
290
290
|
name: string;
|
|
291
291
|
spec: InputSpec<{
|
|
292
292
|
provider: import("../../base/lib/actions/input/builder/variants").UnionRes<{
|
|
293
|
-
none: {
|
|
294
|
-
name: string;
|
|
295
|
-
spec: InputSpec<{}, {}>;
|
|
296
|
-
};
|
|
297
293
|
gmail: {
|
|
298
294
|
name: string;
|
|
299
295
|
spec: InputSpec<{
|
|
@@ -594,13 +590,9 @@ export declare class StartSdk<Manifest extends T.SDKManifest> {
|
|
|
594
590
|
password: string | null;
|
|
595
591
|
}>;
|
|
596
592
|
};
|
|
597
|
-
}, "
|
|
593
|
+
}, "other" | "gmail" | "ses" | "sendgrid" | "mailgun" | "protonmail">;
|
|
598
594
|
}, {
|
|
599
595
|
provider: import("../../base/lib/actions/input/builder/variants").UnionResStaticValidatedAs<{
|
|
600
|
-
none: {
|
|
601
|
-
name: string;
|
|
602
|
-
spec: InputSpec<{}, {}>;
|
|
603
|
-
};
|
|
604
596
|
gmail: {
|
|
605
597
|
name: string;
|
|
606
598
|
spec: InputSpec<{
|
|
@@ -901,7 +893,7 @@ export declare class StartSdk<Manifest extends T.SDKManifest> {
|
|
|
901
893
|
password: string | null;
|
|
902
894
|
}>;
|
|
903
895
|
};
|
|
904
|
-
}, "
|
|
896
|
+
}, "other" | "gmail" | "ses" | "sendgrid" | "mailgun" | "protonmail">;
|
|
905
897
|
}>;
|
|
906
898
|
};
|
|
907
899
|
}>, import("../../base/lib/actions/input/builder/variants").UnionResStaticValidatedAs<{
|
|
@@ -921,10 +913,6 @@ export declare class StartSdk<Manifest extends T.SDKManifest> {
|
|
|
921
913
|
name: string;
|
|
922
914
|
spec: InputSpec<{
|
|
923
915
|
provider: import("../../base/lib/actions/input/builder/variants").UnionRes<{
|
|
924
|
-
none: {
|
|
925
|
-
name: string;
|
|
926
|
-
spec: InputSpec<{}, {}>;
|
|
927
|
-
};
|
|
928
916
|
gmail: {
|
|
929
917
|
name: string;
|
|
930
918
|
spec: InputSpec<{
|
|
@@ -1225,13 +1213,9 @@ export declare class StartSdk<Manifest extends T.SDKManifest> {
|
|
|
1225
1213
|
password: string | null;
|
|
1226
1214
|
}>;
|
|
1227
1215
|
};
|
|
1228
|
-
}, "
|
|
1216
|
+
}, "other" | "gmail" | "ses" | "sendgrid" | "mailgun" | "protonmail">;
|
|
1229
1217
|
}, {
|
|
1230
1218
|
provider: import("../../base/lib/actions/input/builder/variants").UnionResStaticValidatedAs<{
|
|
1231
|
-
none: {
|
|
1232
|
-
name: string;
|
|
1233
|
-
spec: InputSpec<{}, {}>;
|
|
1234
|
-
};
|
|
1235
1219
|
gmail: {
|
|
1236
1220
|
name: string;
|
|
1237
1221
|
spec: InputSpec<{
|
|
@@ -1532,16 +1516,12 @@ export declare class StartSdk<Manifest extends T.SDKManifest> {
|
|
|
1532
1516
|
password: string | null;
|
|
1533
1517
|
}>;
|
|
1534
1518
|
};
|
|
1535
|
-
}, "
|
|
1519
|
+
}, "other" | "gmail" | "ses" | "sendgrid" | "mailgun" | "protonmail">;
|
|
1536
1520
|
}>;
|
|
1537
1521
|
};
|
|
1538
1522
|
}>, unknown>;
|
|
1539
1523
|
systemSmtpSpec: InputSpec<{
|
|
1540
1524
|
provider: import("../../base/lib/actions/input/builder/variants").UnionRes<{
|
|
1541
|
-
none: {
|
|
1542
|
-
name: string;
|
|
1543
|
-
spec: InputSpec<{}, {}>;
|
|
1544
|
-
};
|
|
1545
1525
|
gmail: {
|
|
1546
1526
|
name: string;
|
|
1547
1527
|
spec: InputSpec<{
|
|
@@ -1842,13 +1822,9 @@ export declare class StartSdk<Manifest extends T.SDKManifest> {
|
|
|
1842
1822
|
password: string | null;
|
|
1843
1823
|
}>;
|
|
1844
1824
|
};
|
|
1845
|
-
}, "
|
|
1825
|
+
}, "other" | "gmail" | "ses" | "sendgrid" | "mailgun" | "protonmail">;
|
|
1846
1826
|
}, {
|
|
1847
1827
|
provider: import("../../base/lib/actions/input/builder/variants").UnionResStaticValidatedAs<{
|
|
1848
|
-
none: {
|
|
1849
|
-
name: string;
|
|
1850
|
-
spec: InputSpec<{}, {}>;
|
|
1851
|
-
};
|
|
1852
1828
|
gmail: {
|
|
1853
1829
|
name: string;
|
|
1854
1830
|
spec: InputSpec<{
|
|
@@ -2149,7 +2125,7 @@ export declare class StartSdk<Manifest extends T.SDKManifest> {
|
|
|
2149
2125
|
password: string | null;
|
|
2150
2126
|
}>;
|
|
2151
2127
|
};
|
|
2152
|
-
}, "
|
|
2128
|
+
}, "other" | "gmail" | "ses" | "sendgrid" | "mailgun" | "protonmail">;
|
|
2153
2129
|
}>;
|
|
2154
2130
|
customSmtp: InputSpec<{
|
|
2155
2131
|
host: string;
|
|
@@ -2199,10 +2175,6 @@ export declare class StartSdk<Manifest extends T.SDKManifest> {
|
|
|
2199
2175
|
password: string | null;
|
|
2200
2176
|
}>;
|
|
2201
2177
|
smtpProviderVariants: Variants<{
|
|
2202
|
-
none: {
|
|
2203
|
-
name: string;
|
|
2204
|
-
spec: InputSpec<{}, {}>;
|
|
2205
|
-
};
|
|
2206
2178
|
gmail: {
|
|
2207
2179
|
name: string;
|
|
2208
2180
|
spec: InputSpec<{
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
export declare const inputSpecSpec: import("../../../base/lib/actions/input/builder").InputSpec<{
|
|
2
|
+
mediasources: ("nextcloud" | "filebrowser")[];
|
|
3
|
+
testListUnion: {
|
|
4
|
+
union: {
|
|
5
|
+
selection: "lnd";
|
|
6
|
+
value: {
|
|
7
|
+
name: string;
|
|
8
|
+
};
|
|
9
|
+
other?: {} | undefined;
|
|
10
|
+
};
|
|
11
|
+
}[];
|
|
12
|
+
rpc: {
|
|
13
|
+
enable: boolean;
|
|
14
|
+
username: string;
|
|
15
|
+
password: string;
|
|
16
|
+
bio: string;
|
|
17
|
+
advanced: {
|
|
18
|
+
auth: string[];
|
|
19
|
+
serialversion: "segwit" | "non-segwit";
|
|
20
|
+
servertimeout: number;
|
|
21
|
+
threads: number;
|
|
22
|
+
workqueue: number;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
'zmq-enabled': boolean;
|
|
26
|
+
txindex: boolean;
|
|
27
|
+
wallet: {
|
|
28
|
+
enable: boolean;
|
|
29
|
+
avoidpartialspends: boolean;
|
|
30
|
+
discardfee: number;
|
|
31
|
+
};
|
|
32
|
+
advanced: {
|
|
33
|
+
mempool: {
|
|
34
|
+
mempoolfullrbf: boolean;
|
|
35
|
+
persistmempool: boolean;
|
|
36
|
+
maxmempool: number;
|
|
37
|
+
mempoolexpiry: number;
|
|
38
|
+
};
|
|
39
|
+
peers: {
|
|
40
|
+
listen: boolean;
|
|
41
|
+
onlyconnect: boolean;
|
|
42
|
+
onlyonion: boolean;
|
|
43
|
+
addnode: {
|
|
44
|
+
hostname: string | null;
|
|
45
|
+
port: number | null;
|
|
46
|
+
}[];
|
|
47
|
+
};
|
|
48
|
+
dbcache: number | null;
|
|
49
|
+
pruning: import("../../../base/lib/actions/input/builder/variants").UnionRes<{
|
|
50
|
+
disabled: {
|
|
51
|
+
name: string;
|
|
52
|
+
spec: import("../../../base/lib/actions/input/builder").InputSpec<{}, {}>;
|
|
53
|
+
};
|
|
54
|
+
automatic: {
|
|
55
|
+
name: string;
|
|
56
|
+
spec: import("../../../base/lib/actions/input/builder").InputSpec<{
|
|
57
|
+
size: number;
|
|
58
|
+
}, {
|
|
59
|
+
size: number;
|
|
60
|
+
}>;
|
|
61
|
+
};
|
|
62
|
+
manual: {
|
|
63
|
+
name: string;
|
|
64
|
+
spec: import("../../../base/lib/actions/input/builder").InputSpec<{
|
|
65
|
+
size: number;
|
|
66
|
+
}, {
|
|
67
|
+
size: number;
|
|
68
|
+
}>;
|
|
69
|
+
};
|
|
70
|
+
}, "disabled" | "automatic" | "manual">;
|
|
71
|
+
blockfilters: {
|
|
72
|
+
blockfilterindex: boolean;
|
|
73
|
+
peerblockfilters: boolean;
|
|
74
|
+
};
|
|
75
|
+
bloomfilters: {
|
|
76
|
+
peerbloomfilters: boolean;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
}, {
|
|
80
|
+
mediasources: ("nextcloud" | "filebrowser")[];
|
|
81
|
+
testListUnion: {
|
|
82
|
+
union: {
|
|
83
|
+
selection: "lnd";
|
|
84
|
+
value: {
|
|
85
|
+
name: string;
|
|
86
|
+
};
|
|
87
|
+
other?: {} | undefined;
|
|
88
|
+
};
|
|
89
|
+
}[];
|
|
90
|
+
rpc: {
|
|
91
|
+
enable: boolean;
|
|
92
|
+
username: string;
|
|
93
|
+
password: string;
|
|
94
|
+
bio: string;
|
|
95
|
+
advanced: {
|
|
96
|
+
auth: string[];
|
|
97
|
+
serialversion: "segwit" | "non-segwit";
|
|
98
|
+
servertimeout: number;
|
|
99
|
+
threads: number;
|
|
100
|
+
workqueue: number;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
'zmq-enabled': boolean;
|
|
104
|
+
txindex: boolean;
|
|
105
|
+
wallet: {
|
|
106
|
+
enable: boolean;
|
|
107
|
+
avoidpartialspends: boolean;
|
|
108
|
+
discardfee: number;
|
|
109
|
+
};
|
|
110
|
+
advanced: {
|
|
111
|
+
mempool: {
|
|
112
|
+
mempoolfullrbf: boolean;
|
|
113
|
+
persistmempool: boolean;
|
|
114
|
+
maxmempool: number;
|
|
115
|
+
mempoolexpiry: number;
|
|
116
|
+
};
|
|
117
|
+
peers: {
|
|
118
|
+
listen: boolean;
|
|
119
|
+
onlyconnect: boolean;
|
|
120
|
+
onlyonion: boolean;
|
|
121
|
+
addnode: {
|
|
122
|
+
hostname: string | null;
|
|
123
|
+
port: number | null;
|
|
124
|
+
}[];
|
|
125
|
+
};
|
|
126
|
+
dbcache: number | null;
|
|
127
|
+
pruning: import("../../../base/lib/actions/input/builder/variants").UnionResStaticValidatedAs<{
|
|
128
|
+
disabled: {
|
|
129
|
+
name: string;
|
|
130
|
+
spec: import("../../../base/lib/actions/input/builder").InputSpec<{}, {}>;
|
|
131
|
+
};
|
|
132
|
+
automatic: {
|
|
133
|
+
name: string;
|
|
134
|
+
spec: import("../../../base/lib/actions/input/builder").InputSpec<{
|
|
135
|
+
size: number;
|
|
136
|
+
}, {
|
|
137
|
+
size: number;
|
|
138
|
+
}>;
|
|
139
|
+
};
|
|
140
|
+
manual: {
|
|
141
|
+
name: string;
|
|
142
|
+
spec: import("../../../base/lib/actions/input/builder").InputSpec<{
|
|
143
|
+
size: number;
|
|
144
|
+
}, {
|
|
145
|
+
size: number;
|
|
146
|
+
}>;
|
|
147
|
+
};
|
|
148
|
+
}, "disabled" | "automatic" | "manual">;
|
|
149
|
+
blockfilters: {
|
|
150
|
+
blockfilterindex: boolean;
|
|
151
|
+
peerblockfilters: boolean;
|
|
152
|
+
};
|
|
153
|
+
bloomfilters: {
|
|
154
|
+
peerbloomfilters: boolean;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
}>;
|
|
158
|
+
export type InputSpecSpec = typeof inputSpecSpec._TYPE;
|
|
@@ -0,0 +1,446 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.inputSpecSpec = void 0;
|
|
4
|
+
const output_sdk_1 = require("./output.sdk");
|
|
5
|
+
const { InputSpec, List, Value, Variants } = output_sdk_1.sdk;
|
|
6
|
+
exports.inputSpecSpec = InputSpec.of({
|
|
7
|
+
mediasources: Value.multiselect({
|
|
8
|
+
name: 'Media Sources',
|
|
9
|
+
minLength: null,
|
|
10
|
+
maxLength: null,
|
|
11
|
+
default: ['nextcloud'],
|
|
12
|
+
description: 'List of Media Sources to use with Jellyfin',
|
|
13
|
+
warning: null,
|
|
14
|
+
values: {
|
|
15
|
+
nextcloud: 'NextCloud',
|
|
16
|
+
filebrowser: 'File Browser',
|
|
17
|
+
},
|
|
18
|
+
}),
|
|
19
|
+
testListUnion: Value.list(
|
|
20
|
+
/* TODO: Convert range for this value ([1,*))*/ List.obj({
|
|
21
|
+
name: 'Lightning Nodes',
|
|
22
|
+
minLength: null,
|
|
23
|
+
maxLength: null,
|
|
24
|
+
default: [],
|
|
25
|
+
description: 'List of Lightning Network node instances to manage',
|
|
26
|
+
warning: null,
|
|
27
|
+
}, {
|
|
28
|
+
spec: InputSpec.of({
|
|
29
|
+
/* TODO: Convert range for this value ([1,*))*/
|
|
30
|
+
union: Value.union({
|
|
31
|
+
name: 'Type',
|
|
32
|
+
description: '- LND: Lightning Network Daemon from Lightning Labs\n- CLN: Core Lightning from Blockstream\n',
|
|
33
|
+
warning: null,
|
|
34
|
+
default: 'lnd',
|
|
35
|
+
variants: Variants.of({
|
|
36
|
+
lnd: {
|
|
37
|
+
name: 'lnd',
|
|
38
|
+
spec: InputSpec.of({
|
|
39
|
+
name: Value.text({
|
|
40
|
+
name: 'Node Name',
|
|
41
|
+
default: 'LND Wrapper',
|
|
42
|
+
required: true,
|
|
43
|
+
description: 'Name of this node in the list',
|
|
44
|
+
warning: null,
|
|
45
|
+
masked: false,
|
|
46
|
+
placeholder: null,
|
|
47
|
+
inputmode: 'text',
|
|
48
|
+
patterns: [],
|
|
49
|
+
minLength: null,
|
|
50
|
+
maxLength: null,
|
|
51
|
+
}),
|
|
52
|
+
}),
|
|
53
|
+
},
|
|
54
|
+
}),
|
|
55
|
+
}),
|
|
56
|
+
}),
|
|
57
|
+
displayAs: '{{name}}',
|
|
58
|
+
uniqueBy: 'name',
|
|
59
|
+
})),
|
|
60
|
+
rpc: Value.object({
|
|
61
|
+
name: 'RPC Settings',
|
|
62
|
+
description: 'RPC configuration options.',
|
|
63
|
+
}, InputSpec.of({
|
|
64
|
+
enable: Value.toggle({
|
|
65
|
+
name: 'Enable',
|
|
66
|
+
default: true,
|
|
67
|
+
description: 'Allow remote RPC requests.',
|
|
68
|
+
warning: null,
|
|
69
|
+
}),
|
|
70
|
+
username: Value.text({
|
|
71
|
+
name: 'Username',
|
|
72
|
+
default: 'bitcoin',
|
|
73
|
+
required: true,
|
|
74
|
+
description: 'The username for connecting to Bitcoin over RPC.',
|
|
75
|
+
warning: null,
|
|
76
|
+
masked: true,
|
|
77
|
+
placeholder: null,
|
|
78
|
+
inputmode: 'text',
|
|
79
|
+
patterns: [
|
|
80
|
+
{
|
|
81
|
+
regex: '^[a-zA-Z0-9_]+$',
|
|
82
|
+
description: 'Must be alphanumeric (can contain underscore).',
|
|
83
|
+
},
|
|
84
|
+
],
|
|
85
|
+
minLength: null,
|
|
86
|
+
maxLength: null,
|
|
87
|
+
}),
|
|
88
|
+
password: Value.text({
|
|
89
|
+
name: 'RPC Password',
|
|
90
|
+
default: {
|
|
91
|
+
charset: 'a-z,2-7',
|
|
92
|
+
len: 20,
|
|
93
|
+
},
|
|
94
|
+
required: true,
|
|
95
|
+
description: 'The password for connecting to Bitcoin over RPC.',
|
|
96
|
+
warning: null,
|
|
97
|
+
masked: true,
|
|
98
|
+
placeholder: null,
|
|
99
|
+
inputmode: 'text',
|
|
100
|
+
patterns: [
|
|
101
|
+
{
|
|
102
|
+
regex: '^[^\\n"]*$',
|
|
103
|
+
description: 'Must not contain newline or quote characters.',
|
|
104
|
+
},
|
|
105
|
+
],
|
|
106
|
+
minLength: null,
|
|
107
|
+
maxLength: null,
|
|
108
|
+
}),
|
|
109
|
+
bio: Value.textarea({
|
|
110
|
+
name: 'Username',
|
|
111
|
+
description: 'The username for connecting to Bitcoin over RPC.',
|
|
112
|
+
warning: null,
|
|
113
|
+
required: true,
|
|
114
|
+
default: 'bitcoin',
|
|
115
|
+
placeholder: null,
|
|
116
|
+
minLength: null,
|
|
117
|
+
maxLength: null,
|
|
118
|
+
minRows: 3,
|
|
119
|
+
maxRows: 6,
|
|
120
|
+
}),
|
|
121
|
+
advanced: Value.object({
|
|
122
|
+
name: 'Advanced',
|
|
123
|
+
description: 'Advanced RPC Settings',
|
|
124
|
+
}, InputSpec.of({
|
|
125
|
+
auth: Value.list(
|
|
126
|
+
/* TODO: Convert range for this value ([0,*))*/ List.text({
|
|
127
|
+
name: 'Authorization',
|
|
128
|
+
minLength: null,
|
|
129
|
+
maxLength: null,
|
|
130
|
+
default: [],
|
|
131
|
+
description: 'Username and hashed password for JSON-RPC connections. RPC clients connect using the usual http basic authentication.',
|
|
132
|
+
warning: null,
|
|
133
|
+
}, {
|
|
134
|
+
masked: false,
|
|
135
|
+
placeholder: null,
|
|
136
|
+
patterns: [
|
|
137
|
+
{
|
|
138
|
+
regex: '^[a-zA-Z0-9_-]+:([0-9a-fA-F]{2})+\\$([0-9a-fA-F]{2})+$',
|
|
139
|
+
description: 'Each item must be of the form "<USERNAME>:<SALT>$<HASH>".',
|
|
140
|
+
},
|
|
141
|
+
],
|
|
142
|
+
minLength: null,
|
|
143
|
+
maxLength: null,
|
|
144
|
+
})),
|
|
145
|
+
serialversion: Value.select({
|
|
146
|
+
name: 'Serialization Version',
|
|
147
|
+
description: 'Return raw transaction or block hex with Segwit or non-SegWit serialization.',
|
|
148
|
+
warning: null,
|
|
149
|
+
default: 'segwit',
|
|
150
|
+
values: {
|
|
151
|
+
'non-segwit': 'non-segwit',
|
|
152
|
+
segwit: 'segwit',
|
|
153
|
+
},
|
|
154
|
+
}),
|
|
155
|
+
servertimeout:
|
|
156
|
+
/* TODO: Convert range for this value ([5,300])*/ Value.number({
|
|
157
|
+
name: 'Rpc Server Timeout',
|
|
158
|
+
description: 'Number of seconds after which an uncompleted RPC call will time out.',
|
|
159
|
+
warning: null,
|
|
160
|
+
default: 30,
|
|
161
|
+
required: true,
|
|
162
|
+
min: null,
|
|
163
|
+
max: null,
|
|
164
|
+
step: null,
|
|
165
|
+
integer: true,
|
|
166
|
+
units: 'seconds',
|
|
167
|
+
placeholder: null,
|
|
168
|
+
}),
|
|
169
|
+
threads:
|
|
170
|
+
/* TODO: Convert range for this value ([1,64])*/ Value.number({
|
|
171
|
+
name: 'Threads',
|
|
172
|
+
description: 'Set the number of threads for handling RPC calls. You may wish to increase this if you are making lots of calls via an integration.',
|
|
173
|
+
warning: null,
|
|
174
|
+
default: 16,
|
|
175
|
+
required: true,
|
|
176
|
+
min: null,
|
|
177
|
+
max: null,
|
|
178
|
+
step: null,
|
|
179
|
+
integer: true,
|
|
180
|
+
units: null,
|
|
181
|
+
placeholder: null,
|
|
182
|
+
}),
|
|
183
|
+
workqueue:
|
|
184
|
+
/* TODO: Convert range for this value ([8,256])*/ Value.number({
|
|
185
|
+
name: 'Work Queue',
|
|
186
|
+
description: 'Set the depth of the work queue to service RPC calls. Determines how long the backlog of RPC requests can get before it just rejects new ones.',
|
|
187
|
+
warning: null,
|
|
188
|
+
default: 128,
|
|
189
|
+
required: true,
|
|
190
|
+
min: null,
|
|
191
|
+
max: null,
|
|
192
|
+
step: null,
|
|
193
|
+
integer: true,
|
|
194
|
+
units: 'requests',
|
|
195
|
+
placeholder: null,
|
|
196
|
+
}),
|
|
197
|
+
})),
|
|
198
|
+
})),
|
|
199
|
+
'zmq-enabled': Value.toggle({
|
|
200
|
+
name: 'ZeroMQ Enabled',
|
|
201
|
+
default: true,
|
|
202
|
+
description: 'Enable the ZeroMQ interface',
|
|
203
|
+
warning: null,
|
|
204
|
+
}),
|
|
205
|
+
txindex: Value.toggle({
|
|
206
|
+
name: 'Transaction Index',
|
|
207
|
+
default: true,
|
|
208
|
+
description: 'Enable the Transaction Index (txindex)',
|
|
209
|
+
warning: null,
|
|
210
|
+
}),
|
|
211
|
+
wallet: Value.object({
|
|
212
|
+
name: 'Wallet',
|
|
213
|
+
description: 'Wallet Settings',
|
|
214
|
+
}, InputSpec.of({
|
|
215
|
+
enable: Value.toggle({
|
|
216
|
+
name: 'Enable Wallet',
|
|
217
|
+
default: true,
|
|
218
|
+
description: 'Load the wallet and enable wallet RPC calls.',
|
|
219
|
+
warning: null,
|
|
220
|
+
}),
|
|
221
|
+
avoidpartialspends: Value.toggle({
|
|
222
|
+
name: 'Avoid Partial Spends',
|
|
223
|
+
default: true,
|
|
224
|
+
description: 'Group outputs by address, selecting all or none, instead of selecting on a per-output basis. This improves privacy at the expense of higher transaction fees.',
|
|
225
|
+
warning: null,
|
|
226
|
+
}),
|
|
227
|
+
discardfee:
|
|
228
|
+
/* TODO: Convert range for this value ([0,.01])*/ Value.number({
|
|
229
|
+
name: 'Discard Change Tolerance',
|
|
230
|
+
description: 'The fee rate (in BTC/kB) that indicates your tolerance for discarding change by adding it to the fee.',
|
|
231
|
+
warning: null,
|
|
232
|
+
default: 0.0001,
|
|
233
|
+
required: true,
|
|
234
|
+
min: null,
|
|
235
|
+
max: null,
|
|
236
|
+
step: null,
|
|
237
|
+
integer: false,
|
|
238
|
+
units: 'BTC/kB',
|
|
239
|
+
placeholder: null,
|
|
240
|
+
}),
|
|
241
|
+
})),
|
|
242
|
+
advanced: Value.object({
|
|
243
|
+
name: 'Advanced',
|
|
244
|
+
description: 'Advanced Settings',
|
|
245
|
+
}, InputSpec.of({
|
|
246
|
+
mempool: Value.object({
|
|
247
|
+
name: 'Mempool',
|
|
248
|
+
description: 'Mempool Settings',
|
|
249
|
+
}, InputSpec.of({
|
|
250
|
+
mempoolfullrbf: Value.toggle({
|
|
251
|
+
name: 'Enable Full RBF',
|
|
252
|
+
default: false,
|
|
253
|
+
description: 'Policy for your node to use for relaying and mining unconfirmed transactions. For details, see https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-24.0.md#notice-of-new-option-for-transaction-replacement-policies',
|
|
254
|
+
warning: null,
|
|
255
|
+
}),
|
|
256
|
+
persistmempool: Value.toggle({
|
|
257
|
+
name: 'Persist Mempool',
|
|
258
|
+
default: true,
|
|
259
|
+
description: 'Save the mempool on shutdown and load on restart.',
|
|
260
|
+
warning: null,
|
|
261
|
+
}),
|
|
262
|
+
maxmempool:
|
|
263
|
+
/* TODO: Convert range for this value ([1,*))*/ Value.number({
|
|
264
|
+
name: 'Max Mempool Size',
|
|
265
|
+
description: 'Keep the transaction memory pool below <n> megabytes.',
|
|
266
|
+
warning: null,
|
|
267
|
+
default: 300,
|
|
268
|
+
required: true,
|
|
269
|
+
min: null,
|
|
270
|
+
max: null,
|
|
271
|
+
step: null,
|
|
272
|
+
integer: true,
|
|
273
|
+
units: 'MiB',
|
|
274
|
+
placeholder: null,
|
|
275
|
+
}),
|
|
276
|
+
mempoolexpiry:
|
|
277
|
+
/* TODO: Convert range for this value ([1,*))*/ Value.number({
|
|
278
|
+
name: 'Mempool Expiration',
|
|
279
|
+
description: 'Do not keep transactions in the mempool longer than <n> hours.',
|
|
280
|
+
warning: null,
|
|
281
|
+
default: 336,
|
|
282
|
+
required: true,
|
|
283
|
+
min: null,
|
|
284
|
+
max: null,
|
|
285
|
+
step: null,
|
|
286
|
+
integer: true,
|
|
287
|
+
units: 'Hr',
|
|
288
|
+
placeholder: null,
|
|
289
|
+
}),
|
|
290
|
+
})),
|
|
291
|
+
peers: Value.object({
|
|
292
|
+
name: 'Peers',
|
|
293
|
+
description: 'Peer Connection Settings',
|
|
294
|
+
}, InputSpec.of({
|
|
295
|
+
listen: Value.toggle({
|
|
296
|
+
name: 'Make Public',
|
|
297
|
+
default: true,
|
|
298
|
+
description: 'Allow other nodes to find your server on the network.',
|
|
299
|
+
warning: null,
|
|
300
|
+
}),
|
|
301
|
+
onlyconnect: Value.toggle({
|
|
302
|
+
name: 'Disable Peer Discovery',
|
|
303
|
+
default: false,
|
|
304
|
+
description: 'Only connect to specified peers.',
|
|
305
|
+
warning: null,
|
|
306
|
+
}),
|
|
307
|
+
onlyonion: Value.toggle({
|
|
308
|
+
name: 'Disable Clearnet',
|
|
309
|
+
default: false,
|
|
310
|
+
description: 'Only connect to peers over Tor.',
|
|
311
|
+
warning: null,
|
|
312
|
+
}),
|
|
313
|
+
addnode: Value.list(
|
|
314
|
+
/* TODO: Convert range for this value ([0,*))*/ List.obj({
|
|
315
|
+
name: 'Add Nodes',
|
|
316
|
+
minLength: null,
|
|
317
|
+
maxLength: null,
|
|
318
|
+
default: [],
|
|
319
|
+
description: 'Add addresses of nodes to connect to.',
|
|
320
|
+
}, {
|
|
321
|
+
spec: InputSpec.of({
|
|
322
|
+
hostname: Value.text({
|
|
323
|
+
name: 'Hostname',
|
|
324
|
+
default: null,
|
|
325
|
+
required: false,
|
|
326
|
+
description: 'Domain or IP address of bitcoin peer',
|
|
327
|
+
warning: null,
|
|
328
|
+
masked: false,
|
|
329
|
+
placeholder: null,
|
|
330
|
+
inputmode: 'text',
|
|
331
|
+
patterns: [
|
|
332
|
+
{
|
|
333
|
+
regex: '(^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$)|((^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$)|(^[a-z2-7]{16}\\.onion$)|(^([a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$))',
|
|
334
|
+
description: "Must be either a domain name, or an IPv4 or IPv6 address. Do not include protocol scheme (eg 'http://') or port.",
|
|
335
|
+
},
|
|
336
|
+
],
|
|
337
|
+
minLength: null,
|
|
338
|
+
maxLength: null,
|
|
339
|
+
}),
|
|
340
|
+
port: /* TODO: Convert range for this value ([0,65535])*/ Value.number({
|
|
341
|
+
name: 'Port',
|
|
342
|
+
description: 'Port that peer is listening on for inbound p2p connections',
|
|
343
|
+
warning: null,
|
|
344
|
+
default: null,
|
|
345
|
+
required: false,
|
|
346
|
+
min: null,
|
|
347
|
+
max: null,
|
|
348
|
+
step: null,
|
|
349
|
+
integer: true,
|
|
350
|
+
units: null,
|
|
351
|
+
placeholder: null,
|
|
352
|
+
}),
|
|
353
|
+
}),
|
|
354
|
+
displayAs: null,
|
|
355
|
+
uniqueBy: null,
|
|
356
|
+
})),
|
|
357
|
+
})),
|
|
358
|
+
dbcache: /* TODO: Convert range for this value ((0,*))*/ Value.number({
|
|
359
|
+
name: 'Database Cache',
|
|
360
|
+
description: "How much RAM to allocate for caching the TXO set. Higher values improve syncing performance, but increase your chance of using up all your system's memory or corrupting your database in the event of an ungraceful shutdown. Set this high but comfortably below your system's total RAM during IBD, then turn down to 450 (or leave blank) once the sync completes.",
|
|
361
|
+
warning: 'WARNING: Increasing this value results in a higher chance of ungraceful shutdowns, which can leave your node unusable if it happens during the initial block download. Use this setting with caution. Be sure to set this back to the default (450 or leave blank) once your node is synced. DO NOT press the STOP button if your dbcache is large. Instead, set this number back to the default, hit save, and wait for bitcoind to restart on its own.',
|
|
362
|
+
default: null,
|
|
363
|
+
required: false,
|
|
364
|
+
min: null,
|
|
365
|
+
max: null,
|
|
366
|
+
step: null,
|
|
367
|
+
integer: true,
|
|
368
|
+
units: 'MiB',
|
|
369
|
+
placeholder: null,
|
|
370
|
+
}),
|
|
371
|
+
pruning: Value.union({
|
|
372
|
+
name: 'Pruning Settings',
|
|
373
|
+
description: '- Disabled: Disable pruning\n- Automatic: Limit blockchain size on disk to a certain number of megabytes\n- Manual: Prune blockchain with the "pruneblockchain" RPC\n',
|
|
374
|
+
warning: null,
|
|
375
|
+
default: 'disabled',
|
|
376
|
+
variants: Variants.of({
|
|
377
|
+
disabled: { name: 'Disabled', spec: InputSpec.of({}) },
|
|
378
|
+
automatic: {
|
|
379
|
+
name: 'Automatic',
|
|
380
|
+
spec: InputSpec.of({
|
|
381
|
+
size: /* TODO: Convert range for this value ([550,1000000))*/ Value.number({
|
|
382
|
+
name: 'Max Chain Size',
|
|
383
|
+
description: 'Limit of blockchain size on disk.',
|
|
384
|
+
warning: 'Increasing this value will require re-syncing your node.',
|
|
385
|
+
default: 550,
|
|
386
|
+
required: true,
|
|
387
|
+
min: null,
|
|
388
|
+
max: null,
|
|
389
|
+
step: null,
|
|
390
|
+
integer: true,
|
|
391
|
+
units: 'MiB',
|
|
392
|
+
placeholder: null,
|
|
393
|
+
}),
|
|
394
|
+
}),
|
|
395
|
+
},
|
|
396
|
+
manual: {
|
|
397
|
+
name: 'Manual',
|
|
398
|
+
spec: InputSpec.of({
|
|
399
|
+
size: /* TODO: Convert range for this value ([550,1000000))*/ Value.number({
|
|
400
|
+
name: 'Failsafe Chain Size',
|
|
401
|
+
description: 'Prune blockchain if size expands beyond this.',
|
|
402
|
+
warning: null,
|
|
403
|
+
default: 65536,
|
|
404
|
+
required: true,
|
|
405
|
+
min: null,
|
|
406
|
+
max: null,
|
|
407
|
+
step: null,
|
|
408
|
+
integer: true,
|
|
409
|
+
units: 'MiB',
|
|
410
|
+
placeholder: null,
|
|
411
|
+
}),
|
|
412
|
+
}),
|
|
413
|
+
},
|
|
414
|
+
}),
|
|
415
|
+
}),
|
|
416
|
+
blockfilters: Value.object({
|
|
417
|
+
name: 'Block Filters',
|
|
418
|
+
description: 'Settings for storing and serving compact block filters',
|
|
419
|
+
}, InputSpec.of({
|
|
420
|
+
blockfilterindex: Value.toggle({
|
|
421
|
+
name: 'Compute Compact Block Filters (BIP158)',
|
|
422
|
+
default: true,
|
|
423
|
+
description: "Generate Compact Block Filters during initial sync (IBD) to enable 'getblockfilter' RPC. This is useful if dependent services need block filters to efficiently scan for addresses/transactions etc.",
|
|
424
|
+
warning: null,
|
|
425
|
+
}),
|
|
426
|
+
peerblockfilters: Value.toggle({
|
|
427
|
+
name: 'Serve Compact Block Filters to Peers (BIP157)',
|
|
428
|
+
default: false,
|
|
429
|
+
description: "Serve Compact Block Filters as a peer service to other nodes on the network. This is useful if you wish to connect an SPV client to your node to make it efficient to scan transactions without having to download all block data. 'Compute Compact Block Filters (BIP158)' is required.",
|
|
430
|
+
warning: null,
|
|
431
|
+
}),
|
|
432
|
+
})),
|
|
433
|
+
bloomfilters: Value.object({
|
|
434
|
+
name: 'Bloom Filters (BIP37)',
|
|
435
|
+
description: 'Setting for serving Bloom Filters',
|
|
436
|
+
}, InputSpec.of({
|
|
437
|
+
peerbloomfilters: Value.toggle({
|
|
438
|
+
name: 'Serve Bloom Filters to Peers',
|
|
439
|
+
default: false,
|
|
440
|
+
description: 'Peers have the option of setting filters on each connection they make after the version handshake has completed. Bloom filters are for clients implementing SPV (Simplified Payment Verification) that want to check that block headers connect together correctly, without needing to verify the full blockchain. The client must trust that the transactions in the chain are in fact valid. It is highly recommended AGAINST using for anything except Bisq integration.',
|
|
441
|
+
warning: 'This is ONLY for use with Bisq integration, please use Block Filters for all other applications.',
|
|
442
|
+
}),
|
|
443
|
+
})),
|
|
444
|
+
})),
|
|
445
|
+
});
|
|
446
|
+
//# sourceMappingURL=output.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output.js","sourceRoot":"","sources":["../../../../package/lib/test/output.ts"],"names":[],"mappings":";;;AAAA,6CAAkC;AAClC,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,gBAAG,CAAA;AAEnC,QAAA,aAAa,GAAG,SAAS,CAAC,EAAE,CAAC;IACxC,YAAY,EAAE,KAAK,CAAC,WAAW,CAAC;QAC9B,IAAI,EAAE,eAAe;QACrB,SAAS,EAAE,IAAI;QACf,SAAS,EAAE,IAAI;QACf,OAAO,EAAE,CAAC,WAAW,CAAC;QACtB,WAAW,EAAE,4CAA4C;QACzD,OAAO,EAAE,IAAI;QACb,MAAM,EAAE;YACN,SAAS,EAAE,WAAW;YACtB,WAAW,EAAE,cAAc;SA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F,YAAY,EAAE,KAAK,CAAC,MAAM,CACxB;YACE,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,wDAAwD;SACtE,EACD,SAAS,CAAC,EAAE,CAAC;YACX,gBAAgB,EAAE,KAAK,CAAC,MAAM,CAAC;gBAC7B,IAAI,EAAE,wCAAwC;gBAC9C,OAAO,EAAE,IAAI;gBACb,WAAW,EACT,sMAAsM;gBACxM,OAAO,EAAE,IAAI;aACd,CAAC;YACF,gBAAgB,EAAE,KAAK,CAAC,MAAM,CAAC;gBAC7B,IAAI,EAAE,+CAA+C;gBACrD,OAAO,EAAE,KAAK;gBACd,WAAW,EACT,2RAA2R;gBAC7R,OAAO,EAAE,IAAI;aACd,CAAC;SACH,CAAC,CACH;QACD,YAAY,EAAE,KAAK,CAAC,MAAM,CACxB;YACE,IAAI,EAAE,uBAAuB;YAC7B,WAAW,EAAE,mCAAmC;SACjD,EACD,SAAS,CAAC,EAAE,CAAC;YACX,gBAAgB,EAAE,KAAK,CAAC,MAAM,CAAC;gBAC7B,IAAI,EAAE,8BAA8B;gBACpC,OAAO,EAAE,KAAK;gBACd,WAAW,EACT,gdAAgd;gBACld,OAAO,EACL,kGAAkG;aACrG,CAAC;SACH,CAAC,CACH;KACF,CAAC,CACH;CACF,CAAC,CAAA"}
|
|
@@ -68,10 +68,6 @@ export declare const sdk: {
|
|
|
68
68
|
name: string;
|
|
69
69
|
spec: import("../../../base/lib/actions/input/builder").InputSpec<{
|
|
70
70
|
provider: import("../../../base/lib/actions/input/builder/variants").UnionRes<{
|
|
71
|
-
none: {
|
|
72
|
-
name: string;
|
|
73
|
-
spec: import("../../../base/lib/actions/input/builder").InputSpec<{}, {}>;
|
|
74
|
-
};
|
|
75
71
|
gmail: {
|
|
76
72
|
name: string;
|
|
77
73
|
spec: import("../../../base/lib/actions/input/builder").InputSpec<{
|
|
@@ -372,13 +368,9 @@ export declare const sdk: {
|
|
|
372
368
|
password: string | null;
|
|
373
369
|
}>;
|
|
374
370
|
};
|
|
375
|
-
}, "
|
|
371
|
+
}, "other" | "gmail" | "ses" | "sendgrid" | "mailgun" | "protonmail">;
|
|
376
372
|
}, {
|
|
377
373
|
provider: import("../../../base/lib/actions/input/builder/variants").UnionResStaticValidatedAs<{
|
|
378
|
-
none: {
|
|
379
|
-
name: string;
|
|
380
|
-
spec: import("../../../base/lib/actions/input/builder").InputSpec<{}, {}>;
|
|
381
|
-
};
|
|
382
374
|
gmail: {
|
|
383
375
|
name: string;
|
|
384
376
|
spec: import("../../../base/lib/actions/input/builder").InputSpec<{
|
|
@@ -679,7 +671,7 @@ export declare const sdk: {
|
|
|
679
671
|
password: string | null;
|
|
680
672
|
}>;
|
|
681
673
|
};
|
|
682
|
-
}, "
|
|
674
|
+
}, "other" | "gmail" | "ses" | "sendgrid" | "mailgun" | "protonmail">;
|
|
683
675
|
}>;
|
|
684
676
|
};
|
|
685
677
|
}>, import("../../../base/lib/actions/input/builder/variants").UnionResStaticValidatedAs<{
|
|
@@ -699,10 +691,6 @@ export declare const sdk: {
|
|
|
699
691
|
name: string;
|
|
700
692
|
spec: import("../../../base/lib/actions/input/builder").InputSpec<{
|
|
701
693
|
provider: import("../../../base/lib/actions/input/builder/variants").UnionRes<{
|
|
702
|
-
none: {
|
|
703
|
-
name: string;
|
|
704
|
-
spec: import("../../../base/lib/actions/input/builder").InputSpec<{}, {}>;
|
|
705
|
-
};
|
|
706
694
|
gmail: {
|
|
707
695
|
name: string;
|
|
708
696
|
spec: import("../../../base/lib/actions/input/builder").InputSpec<{
|
|
@@ -1003,13 +991,9 @@ export declare const sdk: {
|
|
|
1003
991
|
password: string | null;
|
|
1004
992
|
}>;
|
|
1005
993
|
};
|
|
1006
|
-
}, "
|
|
994
|
+
}, "other" | "gmail" | "ses" | "sendgrid" | "mailgun" | "protonmail">;
|
|
1007
995
|
}, {
|
|
1008
996
|
provider: import("../../../base/lib/actions/input/builder/variants").UnionResStaticValidatedAs<{
|
|
1009
|
-
none: {
|
|
1010
|
-
name: string;
|
|
1011
|
-
spec: import("../../../base/lib/actions/input/builder").InputSpec<{}, {}>;
|
|
1012
|
-
};
|
|
1013
997
|
gmail: {
|
|
1014
998
|
name: string;
|
|
1015
999
|
spec: import("../../../base/lib/actions/input/builder").InputSpec<{
|
|
@@ -1310,16 +1294,12 @@ export declare const sdk: {
|
|
|
1310
1294
|
password: string | null;
|
|
1311
1295
|
}>;
|
|
1312
1296
|
};
|
|
1313
|
-
}, "
|
|
1297
|
+
}, "other" | "gmail" | "ses" | "sendgrid" | "mailgun" | "protonmail">;
|
|
1314
1298
|
}>;
|
|
1315
1299
|
};
|
|
1316
1300
|
}>, unknown>;
|
|
1317
1301
|
systemSmtpSpec: import("../../../base/lib/actions/input/builder").InputSpec<{
|
|
1318
1302
|
provider: import("../../../base/lib/actions/input/builder/variants").UnionRes<{
|
|
1319
|
-
none: {
|
|
1320
|
-
name: string;
|
|
1321
|
-
spec: import("../../../base/lib/actions/input/builder").InputSpec<{}, {}>;
|
|
1322
|
-
};
|
|
1323
1303
|
gmail: {
|
|
1324
1304
|
name: string;
|
|
1325
1305
|
spec: import("../../../base/lib/actions/input/builder").InputSpec<{
|
|
@@ -1620,13 +1600,9 @@ export declare const sdk: {
|
|
|
1620
1600
|
password: string | null;
|
|
1621
1601
|
}>;
|
|
1622
1602
|
};
|
|
1623
|
-
}, "
|
|
1603
|
+
}, "other" | "gmail" | "ses" | "sendgrid" | "mailgun" | "protonmail">;
|
|
1624
1604
|
}, {
|
|
1625
1605
|
provider: import("../../../base/lib/actions/input/builder/variants").UnionResStaticValidatedAs<{
|
|
1626
|
-
none: {
|
|
1627
|
-
name: string;
|
|
1628
|
-
spec: import("../../../base/lib/actions/input/builder").InputSpec<{}, {}>;
|
|
1629
|
-
};
|
|
1630
1606
|
gmail: {
|
|
1631
1607
|
name: string;
|
|
1632
1608
|
spec: import("../../../base/lib/actions/input/builder").InputSpec<{
|
|
@@ -1927,7 +1903,7 @@ export declare const sdk: {
|
|
|
1927
1903
|
password: string | null;
|
|
1928
1904
|
}>;
|
|
1929
1905
|
};
|
|
1930
|
-
}, "
|
|
1906
|
+
}, "other" | "gmail" | "ses" | "sendgrid" | "mailgun" | "protonmail">;
|
|
1931
1907
|
}>;
|
|
1932
1908
|
customSmtp: import("../../../base/lib/actions/input/builder").InputSpec<{
|
|
1933
1909
|
host: string;
|
|
@@ -1977,10 +1953,6 @@ export declare const sdk: {
|
|
|
1977
1953
|
password: string | null;
|
|
1978
1954
|
}>;
|
|
1979
1955
|
smtpProviderVariants: import("../../../base/lib/actions/input/builder").Variants<{
|
|
1980
|
-
none: {
|
|
1981
|
-
name: string;
|
|
1982
|
-
spec: import("../../../base/lib/actions/input/builder").InputSpec<{}, {}>;
|
|
1983
|
-
};
|
|
1984
1956
|
gmail: {
|
|
1985
1957
|
name: string;
|
|
1986
1958
|
spec: import("../../../base/lib/actions/input/builder").InputSpec<{
|
package/package/package.json
CHANGED
package/package.json
CHANGED