@nodaro/sdk 2.47.0 → 2.49.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/{chunk-I7AHLDXV.js → chunk-2JAKOBD3.js} +8 -8
- package/dist/{chunk-I7AHLDXV.js.map → chunk-2JAKOBD3.js.map} +1 -1
- package/dist/{chunk-KBHDUHKM.js → chunk-2SQ7V6EX.js} +2 -2
- package/dist/chunk-2SQ7V6EX.js.map +1 -0
- package/dist/{chunk-FCYN4N3M.js → chunk-5MZYOJCJ.js} +3 -3
- package/dist/{chunk-FCYN4N3M.js.map → chunk-5MZYOJCJ.js.map} +1 -1
- package/dist/{chunk-JTAW54UM.js → chunk-AEUPH7EE.js} +2 -2
- package/dist/{chunk-34PU2DAT.cjs.map → chunk-AEUPH7EE.js.map} +1 -1
- package/dist/{chunk-DIF7A5OH.cjs → chunk-E5MJK3W5.cjs} +2 -2
- package/dist/chunk-E5MJK3W5.cjs.map +1 -0
- package/dist/{chunk-XKDVEQVD.cjs → chunk-LTZKNAXM.cjs} +2 -2
- package/dist/chunk-LTZKNAXM.cjs.map +1 -0
- package/dist/{chunk-MYTMNPCP.cjs → chunk-NOBQQTAG.cjs} +3 -3
- package/dist/{chunk-MYTMNPCP.cjs.map → chunk-NOBQQTAG.cjs.map} +1 -1
- package/dist/{chunk-OWG3XAHQ.js → chunk-OCRUDBPG.js} +10 -6
- package/dist/chunk-OCRUDBPG.js.map +1 -0
- package/dist/{chunk-7LTVS75S.cjs → chunk-P6AM42UB.cjs} +2 -2
- package/dist/chunk-P6AM42UB.cjs.map +1 -0
- package/dist/{chunk-NP6KDFIJ.cjs → chunk-PPP6VZ3I.cjs} +14 -14
- package/dist/{chunk-NP6KDFIJ.cjs.map → chunk-PPP6VZ3I.cjs.map} +1 -1
- package/dist/{chunk-34PU2DAT.cjs → chunk-Q45PC4YD.cjs} +2 -2
- package/dist/chunk-Q45PC4YD.cjs.map +1 -0
- package/dist/{chunk-PQHZUWSL.js → chunk-THLTFB6I.js} +2 -2
- package/dist/chunk-THLTFB6I.js.map +1 -0
- package/dist/{chunk-GDDV5U32.cjs → chunk-TY2S25W5.cjs} +10 -6
- package/dist/chunk-TY2S25W5.cjs.map +1 -0
- package/dist/{chunk-XILR6TFO.js → chunk-YXVMQEJX.js} +2 -2
- package/dist/chunk-YXVMQEJX.js.map +1 -0
- package/dist/entries/cast-swap.cjs +2 -2
- package/dist/entries/cast-swap.d.cts +34 -31
- package/dist/entries/cast-swap.d.ts +34 -31
- package/dist/entries/cast-swap.js +1 -1
- package/dist/entries/client.cjs +12 -12
- package/dist/entries/client.js +7 -7
- package/dist/entries/core.cjs +5 -5
- package/dist/entries/core.js +1 -1
- package/dist/entries/jobs.cjs +2 -2
- package/dist/entries/jobs.d.cts +18 -7
- package/dist/entries/jobs.d.ts +18 -7
- package/dist/entries/jobs.js +1 -1
- package/dist/entries/node-presets.cjs +2 -2
- package/dist/entries/node-presets.d.cts +6 -0
- package/dist/entries/node-presets.d.ts +6 -0
- package/dist/entries/node-presets.js +1 -1
- package/dist/entries/trash.cjs +2 -2
- package/dist/entries/trash.d.cts +4 -1
- package/dist/entries/trash.d.ts +4 -1
- package/dist/entries/trash.js +1 -1
- package/dist/entries/trends.cjs +2 -2
- package/dist/entries/trends.d.cts +22 -13
- package/dist/entries/trends.d.ts +22 -13
- package/dist/entries/trends.js +1 -1
- package/dist/index.cjs +18 -18
- package/dist/index.js +7 -7
- package/package.json +3 -3
- package/dist/chunk-7LTVS75S.cjs.map +0 -1
- package/dist/chunk-DIF7A5OH.cjs.map +0 -1
- package/dist/chunk-GDDV5U32.cjs.map +0 -1
- package/dist/chunk-JTAW54UM.js.map +0 -1
- package/dist/chunk-KBHDUHKM.js.map +0 -1
- package/dist/chunk-OWG3XAHQ.js.map +0 -1
- package/dist/chunk-PQHZUWSL.js.map +0 -1
- package/dist/chunk-XILR6TFO.js.map +0 -1
- package/dist/chunk-XKDVEQVD.cjs.map +0 -1
package/dist/entries/client.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkPPP6VZ3I_cjs = require('../chunk-PPP6VZ3I.cjs');
|
|
4
4
|
require('../chunk-JTOEHQQJ.cjs');
|
|
5
5
|
require('../chunk-W5VHATSR.cjs');
|
|
6
6
|
require('../chunk-R63TTR35.cjs');
|
|
@@ -12,8 +12,8 @@ require('../chunk-WMT7HEBZ.cjs');
|
|
|
12
12
|
require('../chunk-MBFUMWI5.cjs');
|
|
13
13
|
require('../chunk-NKH2UFSD.cjs');
|
|
14
14
|
require('../chunk-UIBYZNDR.cjs');
|
|
15
|
-
require('../chunk-
|
|
16
|
-
require('../chunk-
|
|
15
|
+
require('../chunk-LTZKNAXM.cjs');
|
|
16
|
+
require('../chunk-E5MJK3W5.cjs');
|
|
17
17
|
require('../chunk-KMNSPC72.cjs');
|
|
18
18
|
require('../chunk-NBVARNVA.cjs');
|
|
19
19
|
require('../chunk-7YHIFCJ4.cjs');
|
|
@@ -26,7 +26,7 @@ require('../chunk-SYVNY3AH.cjs');
|
|
|
26
26
|
require('../chunk-22P4X3N5.cjs');
|
|
27
27
|
require('../chunk-7QOCWJKD.cjs');
|
|
28
28
|
require('../chunk-ZCWKX4V6.cjs');
|
|
29
|
-
require('../chunk-
|
|
29
|
+
require('../chunk-Q45PC4YD.cjs');
|
|
30
30
|
require('../chunk-TK2CEVSK.cjs');
|
|
31
31
|
require('../chunk-GVIFLUYZ.cjs');
|
|
32
32
|
require('../chunk-CR5E2SF3.cjs');
|
|
@@ -34,7 +34,7 @@ require('../chunk-J5LGGCAS.cjs');
|
|
|
34
34
|
require('../chunk-SF2CMKWA.cjs');
|
|
35
35
|
require('../chunk-SBV5MWEL.cjs');
|
|
36
36
|
require('../chunk-WUKIJJG2.cjs');
|
|
37
|
-
require('../chunk-
|
|
37
|
+
require('../chunk-P6AM42UB.cjs');
|
|
38
38
|
require('../chunk-2DZWWIJ4.cjs');
|
|
39
39
|
require('../chunk-SS3B6PHT.cjs');
|
|
40
40
|
require('../chunk-MQ74AKA2.cjs');
|
|
@@ -43,7 +43,7 @@ require('../chunk-43FVH6LJ.cjs');
|
|
|
43
43
|
require('../chunk-YFS2LMG4.cjs');
|
|
44
44
|
require('../chunk-OSMKIRKI.cjs');
|
|
45
45
|
require('../chunk-FRQJNGJS.cjs');
|
|
46
|
-
var
|
|
46
|
+
var chunkNOBQQTAG_cjs = require('../chunk-NOBQQTAG.cjs');
|
|
47
47
|
require('../chunk-FM2KM5TY.cjs');
|
|
48
48
|
require('../chunk-HGCVWOGK.cjs');
|
|
49
49
|
require('../chunk-FIMBPKIH.cjs');
|
|
@@ -51,7 +51,7 @@ require('../chunk-A3S55XGF.cjs');
|
|
|
51
51
|
require('../chunk-JOXZ4ZIF.cjs');
|
|
52
52
|
require('../chunk-GA4LZZKQ.cjs');
|
|
53
53
|
require('../chunk-NGKODS3J.cjs');
|
|
54
|
-
require('../chunk-
|
|
54
|
+
require('../chunk-TY2S25W5.cjs');
|
|
55
55
|
require('../chunk-BPWUWUZ3.cjs');
|
|
56
56
|
require('../chunk-HAKYPZLB.cjs');
|
|
57
57
|
|
|
@@ -59,23 +59,23 @@ require('../chunk-HAKYPZLB.cjs');
|
|
|
59
59
|
|
|
60
60
|
Object.defineProperty(exports, "NodaroClient", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkPPP6VZ3I_cjs.NodaroClient; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "createClient", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkPPP6VZ3I_cjs.createClient; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "CallbackAuth", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkNOBQQTAG_cjs.CallbackAuth; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "StaticTokenAuth", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkNOBQQTAG_cjs.StaticTokenAuth; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "supabaseAuth", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkNOBQQTAG_cjs.supabaseAuth; }
|
|
79
79
|
});
|
|
80
80
|
//# sourceMappingURL=client.cjs.map
|
|
81
81
|
//# sourceMappingURL=client.cjs.map
|
package/dist/entries/client.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { NodaroClient, createClient } from '../chunk-
|
|
1
|
+
export { NodaroClient, createClient } from '../chunk-2JAKOBD3.js';
|
|
2
2
|
import '../chunk-WY4QRJZW.js';
|
|
3
3
|
import '../chunk-ERLXU47J.js';
|
|
4
4
|
import '../chunk-T7N7DFQJ.js';
|
|
@@ -10,8 +10,8 @@ import '../chunk-WS4ZQ4AA.js';
|
|
|
10
10
|
import '../chunk-WVFAQBS7.js';
|
|
11
11
|
import '../chunk-AUKHMT53.js';
|
|
12
12
|
import '../chunk-M7VSFZMV.js';
|
|
13
|
-
import '../chunk-
|
|
14
|
-
import '../chunk-
|
|
13
|
+
import '../chunk-2SQ7V6EX.js';
|
|
14
|
+
import '../chunk-YXVMQEJX.js';
|
|
15
15
|
import '../chunk-HPXE3NZW.js';
|
|
16
16
|
import '../chunk-WEQWU2IC.js';
|
|
17
17
|
import '../chunk-KFZOJBI5.js';
|
|
@@ -24,7 +24,7 @@ import '../chunk-NCCBS6GU.js';
|
|
|
24
24
|
import '../chunk-BQAW4RX2.js';
|
|
25
25
|
import '../chunk-Y6V6CBY5.js';
|
|
26
26
|
import '../chunk-YVU2M7MI.js';
|
|
27
|
-
import '../chunk-
|
|
27
|
+
import '../chunk-AEUPH7EE.js';
|
|
28
28
|
import '../chunk-GW76IRQD.js';
|
|
29
29
|
import '../chunk-Z7LGWNI7.js';
|
|
30
30
|
import '../chunk-7LSFG2AF.js';
|
|
@@ -32,7 +32,7 @@ import '../chunk-ALSLZG3U.js';
|
|
|
32
32
|
import '../chunk-RBX3QTKB.js';
|
|
33
33
|
import '../chunk-Z3ZKFI2M.js';
|
|
34
34
|
import '../chunk-JDEZHITT.js';
|
|
35
|
-
import '../chunk-
|
|
35
|
+
import '../chunk-THLTFB6I.js';
|
|
36
36
|
import '../chunk-P6E4QDJN.js';
|
|
37
37
|
import '../chunk-E37CVHWW.js';
|
|
38
38
|
import '../chunk-TVENC6PH.js';
|
|
@@ -41,7 +41,7 @@ import '../chunk-SFB4YLCS.js';
|
|
|
41
41
|
import '../chunk-BU5A6K4C.js';
|
|
42
42
|
import '../chunk-D2ILCSOQ.js';
|
|
43
43
|
import '../chunk-7CUWAVWB.js';
|
|
44
|
-
export { CallbackAuth, StaticTokenAuth, supabaseAuth } from '../chunk-
|
|
44
|
+
export { CallbackAuth, StaticTokenAuth, supabaseAuth } from '../chunk-5MZYOJCJ.js';
|
|
45
45
|
import '../chunk-L6T44A3G.js';
|
|
46
46
|
import '../chunk-CK3AMMSC.js';
|
|
47
47
|
import '../chunk-5MOJSYHI.js';
|
|
@@ -49,7 +49,7 @@ import '../chunk-65E3JBFZ.js';
|
|
|
49
49
|
import '../chunk-7LODCIQK.js';
|
|
50
50
|
import '../chunk-3QFTP5P5.js';
|
|
51
51
|
import '../chunk-J4WFSKY6.js';
|
|
52
|
-
import '../chunk-
|
|
52
|
+
import '../chunk-OCRUDBPG.js';
|
|
53
53
|
import '../chunk-KG4R454Z.js';
|
|
54
54
|
import '../chunk-EJSGJDZY.js';
|
|
55
55
|
//# sourceMappingURL=client.js.map
|
package/dist/entries/core.cjs
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-X7XP5WBP.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkNOBQQTAG_cjs = require('../chunk-NOBQQTAG.cjs');
|
|
5
5
|
require('../chunk-FM2KM5TY.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "CallbackAuth", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkNOBQQTAG_cjs.CallbackAuth; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "NodaroClientCore", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkNOBQQTAG_cjs.NodaroClientCore; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "StaticTokenAuth", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkNOBQQTAG_cjs.StaticTokenAuth; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "supabaseAuth", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkNOBQQTAG_cjs.supabaseAuth; }
|
|
24
24
|
});
|
|
25
25
|
//# sourceMappingURL=core.cjs.map
|
|
26
26
|
//# sourceMappingURL=core.cjs.map
|
package/dist/entries/core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../chunk-AUDHV3OE.js';
|
|
2
|
-
export { CallbackAuth, NodaroClientCore, StaticTokenAuth, supabaseAuth } from '../chunk-
|
|
2
|
+
export { CallbackAuth, NodaroClientCore, StaticTokenAuth, supabaseAuth } from '../chunk-5MZYOJCJ.js';
|
|
3
3
|
import '../chunk-L6T44A3G.js';
|
|
4
4
|
//# sourceMappingURL=core.js.map
|
|
5
5
|
//# sourceMappingURL=core.js.map
|
package/dist/entries/jobs.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-EHRWTYGR.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkP6AM42UB_cjs = require('../chunk-P6AM42UB.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "JobsResource", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkP6AM42UB_cjs.JobsResource; }
|
|
11
11
|
});
|
|
12
12
|
//# sourceMappingURL=jobs.cjs.map
|
|
13
13
|
//# sourceMappingURL=jobs.cjs.map
|
package/dist/entries/jobs.d.cts
CHANGED
|
@@ -133,17 +133,28 @@ interface Job {
|
|
|
133
133
|
* `usage_logs.status`. `null` when there is no usage log to report. Never
|
|
134
134
|
* changes the meaning of `credits` (the reserved amount) below. */
|
|
135
135
|
credit_status?: CreditStatus | null;
|
|
136
|
-
/** The credits HELD when
|
|
137
|
-
* settle below it; read {@link Job.credits_charged} for what it cost. */
|
|
136
|
+
/** The credits the job itself HELD when it was accepted. Never changes — a
|
|
137
|
+
* job can settle below it; read {@link Job.credits_charged} for what it cost. */
|
|
138
138
|
credits: number | null;
|
|
139
139
|
/**
|
|
140
|
-
* What the job actually cost once its hold settled
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
*
|
|
140
|
+
* What the job actually cost once its hold settled, INCLUDING the steps it
|
|
141
|
+
* ran: a job that runs other jobs for you (a Nodaro Motion run's reference
|
|
142
|
+
* preparation, mask and video) is charged for each, and they are not listed
|
|
143
|
+
* on their own. A step adds its charge once it settles. Can be lower than
|
|
144
|
+
* {@link Job.credits_held} (the unused part goes back to the balance). `0`
|
|
145
|
+
* when the run's own hold was refunded, plus any settled steps (a refunded
|
|
146
|
+
* Nodaro Motion run whose reference and mask steps committed reads
|
|
147
|
+
* `credit_status: "refunded"` with `credits_charged: 165`). `null` while the
|
|
148
|
+
* job's own hold is still open (even when some steps have settled), when
|
|
149
|
+
* nothing in the run was reserved, or when its steps could not be read for a
|
|
150
|
+
* moment (unknown — never a lower figure). Sum this — not `credits` — to
|
|
151
|
+
* total spend. Returned by `get()` and `list()`.
|
|
145
152
|
*/
|
|
146
153
|
credits_charged?: number | null;
|
|
154
|
+
/** The run's hold: the job's own `credits` plus its steps' holds (equals `credits` for a job with no steps). */
|
|
155
|
+
credits_held?: number | null;
|
|
156
|
+
/** What went back from `credits_held` once every hold in the run settled; `null` until then. */
|
|
157
|
+
credits_released?: number | null;
|
|
147
158
|
job_type: string | null;
|
|
148
159
|
created_at: string;
|
|
149
160
|
started_at: string | null;
|
package/dist/entries/jobs.d.ts
CHANGED
|
@@ -133,17 +133,28 @@ interface Job {
|
|
|
133
133
|
* `usage_logs.status`. `null` when there is no usage log to report. Never
|
|
134
134
|
* changes the meaning of `credits` (the reserved amount) below. */
|
|
135
135
|
credit_status?: CreditStatus | null;
|
|
136
|
-
/** The credits HELD when
|
|
137
|
-
* settle below it; read {@link Job.credits_charged} for what it cost. */
|
|
136
|
+
/** The credits the job itself HELD when it was accepted. Never changes — a
|
|
137
|
+
* job can settle below it; read {@link Job.credits_charged} for what it cost. */
|
|
138
138
|
credits: number | null;
|
|
139
139
|
/**
|
|
140
|
-
* What the job actually cost once its hold settled
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
*
|
|
140
|
+
* What the job actually cost once its hold settled, INCLUDING the steps it
|
|
141
|
+
* ran: a job that runs other jobs for you (a Nodaro Motion run's reference
|
|
142
|
+
* preparation, mask and video) is charged for each, and they are not listed
|
|
143
|
+
* on their own. A step adds its charge once it settles. Can be lower than
|
|
144
|
+
* {@link Job.credits_held} (the unused part goes back to the balance). `0`
|
|
145
|
+
* when the run's own hold was refunded, plus any settled steps (a refunded
|
|
146
|
+
* Nodaro Motion run whose reference and mask steps committed reads
|
|
147
|
+
* `credit_status: "refunded"` with `credits_charged: 165`). `null` while the
|
|
148
|
+
* job's own hold is still open (even when some steps have settled), when
|
|
149
|
+
* nothing in the run was reserved, or when its steps could not be read for a
|
|
150
|
+
* moment (unknown — never a lower figure). Sum this — not `credits` — to
|
|
151
|
+
* total spend. Returned by `get()` and `list()`.
|
|
145
152
|
*/
|
|
146
153
|
credits_charged?: number | null;
|
|
154
|
+
/** The run's hold: the job's own `credits` plus its steps' holds (equals `credits` for a job with no steps). */
|
|
155
|
+
credits_held?: number | null;
|
|
156
|
+
/** What went back from `credits_held` once every hold in the run settled; `null` until then. */
|
|
157
|
+
credits_released?: number | null;
|
|
147
158
|
job_type: string | null;
|
|
148
159
|
created_at: string;
|
|
149
160
|
started_at: string | null;
|
package/dist/entries/jobs.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-RA42NMWV.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkQ45PC4YD_cjs = require('../chunk-Q45PC4YD.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "PresetsResource", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkQ45PC4YD_cjs.PresetsResource; }
|
|
11
11
|
});
|
|
12
12
|
//# sourceMappingURL=node-presets.cjs.map
|
|
13
13
|
//# sourceMappingURL=node-presets.cjs.map
|
|
@@ -58,6 +58,12 @@ interface FactoryPresetEntry extends FactoryPreset {
|
|
|
58
58
|
* server you asked — or null while the preset has none.
|
|
59
59
|
*/
|
|
60
60
|
previewUrl?: string | null;
|
|
61
|
+
/**
|
|
62
|
+
* The same picture at its two sizes for an `<img srcset>` — the tile picture
|
|
63
|
+
* at 512w and the full-screen one at up to 1024w. Present only when the
|
|
64
|
+
* preset has both; absent from servers that predate it.
|
|
65
|
+
*/
|
|
66
|
+
previewSrcSet?: string;
|
|
61
67
|
}
|
|
62
68
|
/**
|
|
63
69
|
* Result of `GET /v1/node-presets/factory` — the built-in (factory) catalog for
|
|
@@ -58,6 +58,12 @@ interface FactoryPresetEntry extends FactoryPreset {
|
|
|
58
58
|
* server you asked — or null while the preset has none.
|
|
59
59
|
*/
|
|
60
60
|
previewUrl?: string | null;
|
|
61
|
+
/**
|
|
62
|
+
* The same picture at its two sizes for an `<img srcset>` — the tile picture
|
|
63
|
+
* at 512w and the full-screen one at up to 1024w. Present only when the
|
|
64
|
+
* preset has both; absent from servers that predate it.
|
|
65
|
+
*/
|
|
66
|
+
previewSrcSet?: string;
|
|
61
67
|
}
|
|
62
68
|
/**
|
|
63
69
|
* Result of `GET /v1/node-presets/factory` — the built-in (factory) catalog for
|
package/dist/entries/trash.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-UANHMQ3A.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkLTZKNAXM_cjs = require('../chunk-LTZKNAXM.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "TrashResource", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkLTZKNAXM_cjs.TrashResource; }
|
|
11
11
|
});
|
|
12
12
|
//# sourceMappingURL=trash.cjs.map
|
|
13
13
|
//# sourceMappingURL=trash.cjs.map
|
package/dist/entries/trash.d.cts
CHANGED
|
@@ -3,10 +3,13 @@ import { Job } from './jobs.cjs';
|
|
|
3
3
|
import '@nodaro/shared/apps';
|
|
4
4
|
import '@nodaro/shared/organizations';
|
|
5
5
|
|
|
6
|
-
/** The session a removed item was removed from
|
|
6
|
+
/** The session a removed item was removed from — restore it there with
|
|
7
|
+
* `client.sessions.restoreItem(session.id, job.id)`. */
|
|
7
8
|
interface TrashSession {
|
|
8
9
|
id: string;
|
|
10
|
+
/** `null` = untitled; a UI may fall back to the first prompt. */
|
|
9
11
|
title: string | null;
|
|
12
|
+
/** The session's project, or `null` when it has none. */
|
|
10
13
|
projectId: string | null;
|
|
11
14
|
}
|
|
12
15
|
/**
|
package/dist/entries/trash.d.ts
CHANGED
|
@@ -3,10 +3,13 @@ import { Job } from './jobs.js';
|
|
|
3
3
|
import '@nodaro/shared/apps';
|
|
4
4
|
import '@nodaro/shared/organizations';
|
|
5
5
|
|
|
6
|
-
/** The session a removed item was removed from
|
|
6
|
+
/** The session a removed item was removed from — restore it there with
|
|
7
|
+
* `client.sessions.restoreItem(session.id, job.id)`. */
|
|
7
8
|
interface TrashSession {
|
|
8
9
|
id: string;
|
|
10
|
+
/** `null` = untitled; a UI may fall back to the first prompt. */
|
|
9
11
|
title: string | null;
|
|
12
|
+
/** The session's project, or `null` when it has none. */
|
|
10
13
|
projectId: string | null;
|
|
11
14
|
}
|
|
12
15
|
/**
|
package/dist/entries/trash.js
CHANGED
package/dist/entries/trends.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-PG2GBS3K.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkE5MJK3W5_cjs = require('../chunk-E5MJK3W5.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "TrendsResource", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkE5MJK3W5_cjs.TrendsResource; }
|
|
11
11
|
});
|
|
12
12
|
//# sourceMappingURL=trends.cjs.map
|
|
13
13
|
//# sourceMappingURL=trends.cjs.map
|
|
@@ -24,7 +24,7 @@ type TrendChipKey = keyof TrendChips;
|
|
|
24
24
|
type TrendResolution = "480p" | "720p" | "1080p";
|
|
25
25
|
/**
|
|
26
26
|
* The engine a trend runs on, by its public id ({@link CastSwapEngine}):
|
|
27
|
-
* `"motion-
|
|
27
|
+
* `"motion-prism"` (Nodaro Motion Prism) or `"motion-pulse"` (Nodaro Motion Pulse).
|
|
28
28
|
* The trend chooses it, never the person running it.
|
|
29
29
|
*/
|
|
30
30
|
type TrendEngine = CastSwapEngine;
|
|
@@ -119,14 +119,14 @@ interface TrendDetail extends TrendCard {
|
|
|
119
119
|
* Absent only on a version without a display copy (and from an older server).
|
|
120
120
|
*/
|
|
121
121
|
original?: TrendOriginal;
|
|
122
|
-
/** The engine every run of this trend uses. Absent (an older server) = `"motion-
|
|
122
|
+
/** The engine every run of this trend uses. Absent (an older server) = `"motion-prism"`. */
|
|
123
123
|
engine?: TrendEngine;
|
|
124
|
-
/** Its name to show: "Nodaro Motion
|
|
124
|
+
/** Its name to show: "Nodaro Motion Prism" or "Nodaro Motion Pulse". Absent from an older server. */
|
|
125
125
|
engineName?: string;
|
|
126
126
|
/**
|
|
127
|
-
* The resolutions a run may ask for, the default first. Nodaro Motion
|
|
127
|
+
* The resolutions a run may ask for, the default first. Nodaro Motion Prism:
|
|
128
128
|
* `["480p", "720p", "1080p"]`, where 480p is a draft (show it as one);
|
|
129
|
-
* Nodaro Motion
|
|
129
|
+
* Nodaro Motion Pulse: `["720p", "1080p"]`, no draft. Offer exactly these.
|
|
130
130
|
*/
|
|
131
131
|
resolutions: TrendResolution[];
|
|
132
132
|
slots: TrendDetailSlot[];
|
|
@@ -157,13 +157,13 @@ interface TrendRunRequest {
|
|
|
157
157
|
preview?: boolean;
|
|
158
158
|
/**
|
|
159
159
|
* One of the trend's {@link TrendDetail.resolutions}; default its first
|
|
160
|
-
* (`"480p"` on Nodaro Motion
|
|
160
|
+
* (`"480p"` on Nodaro Motion Prism, `"720p"` on Nodaro Motion Pulse). Another answers 400
|
|
161
161
|
* `resolution_unsupported`.
|
|
162
162
|
*/
|
|
163
163
|
resolution?: TrendResolution;
|
|
164
164
|
/**
|
|
165
|
-
* A draft run, only at 480p on a Nodaro Motion
|
|
166
|
-
* 480p. `true` on a Nodaro Motion
|
|
165
|
+
* A draft run, only at 480p on a Nodaro Motion Prism trend. Default `true` at
|
|
166
|
+
* 480p. `true` on a Nodaro Motion Pulse trend answers 400 `draft_unsupported`.
|
|
167
167
|
*/
|
|
168
168
|
draft?: boolean;
|
|
169
169
|
/**
|
|
@@ -277,18 +277,27 @@ interface TrendRun {
|
|
|
277
277
|
preview: boolean;
|
|
278
278
|
resolution: string;
|
|
279
279
|
draft: boolean;
|
|
280
|
-
/** The engine the run was made on. Absent (an older server) = `"motion-
|
|
280
|
+
/** The engine the run was made on. Absent (an older server) = `"motion-prism"`. */
|
|
281
281
|
engine?: TrendEngine;
|
|
282
|
-
/** Its name to show: "Nodaro Motion
|
|
282
|
+
/** Its name to show: "Nodaro Motion Prism" or "Nodaro Motion Pulse". Absent from an older server. */
|
|
283
283
|
engineName?: string;
|
|
284
284
|
/** The result, once completed. */
|
|
285
285
|
videoUrl: string | null;
|
|
286
286
|
posterUrl: string | null;
|
|
287
|
+
/**
|
|
288
|
+
* What the run was charged once settled, every step it ran included (its
|
|
289
|
+
* reference preparation, mask and video); `null` until the run's own hold
|
|
290
|
+
* settles. A step adds its charge once it settles.
|
|
291
|
+
*/
|
|
287
292
|
creditsCharged: number | null;
|
|
288
|
-
/**
|
|
293
|
+
/** The run's hold: its own plus its steps'. Absent from an older server. */
|
|
294
|
+
creditsHeld?: number | null;
|
|
295
|
+
/** What went back from `creditsHeld` once every hold in the run settled; `null` until then. Absent from an older server. */
|
|
296
|
+
creditsReleased?: number | null;
|
|
297
|
+
/** A Full Quality version: the job id of the run (a draft, or a Nodaro Motion Pulse 720p run) it was made from. `null` for any other run. */
|
|
289
298
|
fullQualityOf: string | null;
|
|
290
299
|
/**
|
|
291
|
-
* A draft's (or Nodaro Motion
|
|
300
|
+
* A draft's (or Nodaro Motion Pulse 720p run's) newest Full Quality try, if one was started: a pointer only,
|
|
292
301
|
* to know an upgrade exists and how it is going. Its video and charge are on
|
|
293
302
|
* that run, listed on its own (its `fullQualityOf` is this run's `jobId`) —
|
|
294
303
|
* read it there (`getRun(fullQuality.jobId)`). Older tries of the draft (a
|
|
@@ -301,7 +310,7 @@ interface TrendRun {
|
|
|
301
310
|
} | null;
|
|
302
311
|
/**
|
|
303
312
|
* Until when a completed run can be redone in Full Quality — a Nodaro Motion
|
|
304
|
-
*
|
|
313
|
+
* Prism draft (the same take at 1080p) or a Nodaro Motion Pulse run at 720p (a new take at
|
|
305
314
|
* 1080p); `null` otherwise.
|
|
306
315
|
*/
|
|
307
316
|
fullQualityUntil: string | null;
|
package/dist/entries/trends.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ type TrendChipKey = keyof TrendChips;
|
|
|
24
24
|
type TrendResolution = "480p" | "720p" | "1080p";
|
|
25
25
|
/**
|
|
26
26
|
* The engine a trend runs on, by its public id ({@link CastSwapEngine}):
|
|
27
|
-
* `"motion-
|
|
27
|
+
* `"motion-prism"` (Nodaro Motion Prism) or `"motion-pulse"` (Nodaro Motion Pulse).
|
|
28
28
|
* The trend chooses it, never the person running it.
|
|
29
29
|
*/
|
|
30
30
|
type TrendEngine = CastSwapEngine;
|
|
@@ -119,14 +119,14 @@ interface TrendDetail extends TrendCard {
|
|
|
119
119
|
* Absent only on a version without a display copy (and from an older server).
|
|
120
120
|
*/
|
|
121
121
|
original?: TrendOriginal;
|
|
122
|
-
/** The engine every run of this trend uses. Absent (an older server) = `"motion-
|
|
122
|
+
/** The engine every run of this trend uses. Absent (an older server) = `"motion-prism"`. */
|
|
123
123
|
engine?: TrendEngine;
|
|
124
|
-
/** Its name to show: "Nodaro Motion
|
|
124
|
+
/** Its name to show: "Nodaro Motion Prism" or "Nodaro Motion Pulse". Absent from an older server. */
|
|
125
125
|
engineName?: string;
|
|
126
126
|
/**
|
|
127
|
-
* The resolutions a run may ask for, the default first. Nodaro Motion
|
|
127
|
+
* The resolutions a run may ask for, the default first. Nodaro Motion Prism:
|
|
128
128
|
* `["480p", "720p", "1080p"]`, where 480p is a draft (show it as one);
|
|
129
|
-
* Nodaro Motion
|
|
129
|
+
* Nodaro Motion Pulse: `["720p", "1080p"]`, no draft. Offer exactly these.
|
|
130
130
|
*/
|
|
131
131
|
resolutions: TrendResolution[];
|
|
132
132
|
slots: TrendDetailSlot[];
|
|
@@ -157,13 +157,13 @@ interface TrendRunRequest {
|
|
|
157
157
|
preview?: boolean;
|
|
158
158
|
/**
|
|
159
159
|
* One of the trend's {@link TrendDetail.resolutions}; default its first
|
|
160
|
-
* (`"480p"` on Nodaro Motion
|
|
160
|
+
* (`"480p"` on Nodaro Motion Prism, `"720p"` on Nodaro Motion Pulse). Another answers 400
|
|
161
161
|
* `resolution_unsupported`.
|
|
162
162
|
*/
|
|
163
163
|
resolution?: TrendResolution;
|
|
164
164
|
/**
|
|
165
|
-
* A draft run, only at 480p on a Nodaro Motion
|
|
166
|
-
* 480p. `true` on a Nodaro Motion
|
|
165
|
+
* A draft run, only at 480p on a Nodaro Motion Prism trend. Default `true` at
|
|
166
|
+
* 480p. `true` on a Nodaro Motion Pulse trend answers 400 `draft_unsupported`.
|
|
167
167
|
*/
|
|
168
168
|
draft?: boolean;
|
|
169
169
|
/**
|
|
@@ -277,18 +277,27 @@ interface TrendRun {
|
|
|
277
277
|
preview: boolean;
|
|
278
278
|
resolution: string;
|
|
279
279
|
draft: boolean;
|
|
280
|
-
/** The engine the run was made on. Absent (an older server) = `"motion-
|
|
280
|
+
/** The engine the run was made on. Absent (an older server) = `"motion-prism"`. */
|
|
281
281
|
engine?: TrendEngine;
|
|
282
|
-
/** Its name to show: "Nodaro Motion
|
|
282
|
+
/** Its name to show: "Nodaro Motion Prism" or "Nodaro Motion Pulse". Absent from an older server. */
|
|
283
283
|
engineName?: string;
|
|
284
284
|
/** The result, once completed. */
|
|
285
285
|
videoUrl: string | null;
|
|
286
286
|
posterUrl: string | null;
|
|
287
|
+
/**
|
|
288
|
+
* What the run was charged once settled, every step it ran included (its
|
|
289
|
+
* reference preparation, mask and video); `null` until the run's own hold
|
|
290
|
+
* settles. A step adds its charge once it settles.
|
|
291
|
+
*/
|
|
287
292
|
creditsCharged: number | null;
|
|
288
|
-
/**
|
|
293
|
+
/** The run's hold: its own plus its steps'. Absent from an older server. */
|
|
294
|
+
creditsHeld?: number | null;
|
|
295
|
+
/** What went back from `creditsHeld` once every hold in the run settled; `null` until then. Absent from an older server. */
|
|
296
|
+
creditsReleased?: number | null;
|
|
297
|
+
/** A Full Quality version: the job id of the run (a draft, or a Nodaro Motion Pulse 720p run) it was made from. `null` for any other run. */
|
|
289
298
|
fullQualityOf: string | null;
|
|
290
299
|
/**
|
|
291
|
-
* A draft's (or Nodaro Motion
|
|
300
|
+
* A draft's (or Nodaro Motion Pulse 720p run's) newest Full Quality try, if one was started: a pointer only,
|
|
292
301
|
* to know an upgrade exists and how it is going. Its video and charge are on
|
|
293
302
|
* that run, listed on its own (its `fullQualityOf` is this run's `jobId`) —
|
|
294
303
|
* read it there (`getRun(fullQuality.jobId)`). Older tries of the draft (a
|
|
@@ -301,7 +310,7 @@ interface TrendRun {
|
|
|
301
310
|
} | null;
|
|
302
311
|
/**
|
|
303
312
|
* Until when a completed run can be redone in Full Quality — a Nodaro Motion
|
|
304
|
-
*
|
|
313
|
+
* Prism draft (the same take at 1080p) or a Nodaro Motion Pulse run at 720p (a new take at
|
|
305
314
|
* 1080p); `null` otherwise.
|
|
306
315
|
*/
|
|
307
316
|
fullQualityUntil: string | null;
|
package/dist/entries/trends.js
CHANGED