@aventurevc/api-schemas 0.8.509 → 0.8.510
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.
|
@@ -90,13 +90,17 @@ declare const HarnessRunDetailSchemaDefinition: z.ZodObject<{
|
|
|
90
90
|
gateRemaining: z.ZodArray<z.ZodString>;
|
|
91
91
|
note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
92
92
|
requestOutcome: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodType<{
|
|
93
|
+
quote?: string | null | undefined;
|
|
93
94
|
reason?: string | null | undefined;
|
|
94
95
|
request: string;
|
|
95
96
|
status: string;
|
|
97
|
+
textId?: number | null | undefined;
|
|
96
98
|
}, import("./run-request-outcome.ts").HarnessRunRequestOutcomeSchemaInput, z.core.$ZodTypeInternals<{
|
|
99
|
+
quote?: string | null | undefined;
|
|
97
100
|
reason?: string | null | undefined;
|
|
98
101
|
request: string;
|
|
99
102
|
status: string;
|
|
103
|
+
textId?: number | null | undefined;
|
|
100
104
|
}, import("./run-request-outcome.ts").HarnessRunRequestOutcomeSchemaInput>>>>>;
|
|
101
105
|
whatElseRemaining: z.ZodArray<z.ZodString>;
|
|
102
106
|
writeThisIteration: z.ZodArray<z.ZodString>;
|
|
@@ -14,13 +14,17 @@ export declare const HarnessRunProgressSchema: z.ZodObject<{
|
|
|
14
14
|
gateRemaining: z.ZodArray<z.ZodString>;
|
|
15
15
|
note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
requestOutcome: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodType<{
|
|
17
|
+
quote?: string | null | undefined;
|
|
17
18
|
reason?: string | null | undefined;
|
|
18
19
|
request: string;
|
|
19
20
|
status: string;
|
|
21
|
+
textId?: number | null | undefined;
|
|
20
22
|
}, import("./run-request-outcome.ts").HarnessRunRequestOutcomeSchemaInput, z.core.$ZodTypeInternals<{
|
|
23
|
+
quote?: string | null | undefined;
|
|
21
24
|
reason?: string | null | undefined;
|
|
22
25
|
request: string;
|
|
23
26
|
status: string;
|
|
27
|
+
textId?: number | null | undefined;
|
|
24
28
|
}, import("./run-request-outcome.ts").HarnessRunRequestOutcomeSchemaInput>>>>>;
|
|
25
29
|
whatElseRemaining: z.ZodArray<z.ZodString>;
|
|
26
30
|
writeThisIteration: z.ZodArray<z.ZodString>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
declare const HarnessRunRequestOutcomeSchemaDefinition: z.ZodObject<{
|
|
3
|
+
quote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3
4
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4
5
|
request: z.ZodString;
|
|
5
6
|
status: z.ZodUnion<readonly [z.ZodEnum<{
|
|
@@ -17,6 +18,7 @@ declare const HarnessRunRequestOutcomeSchemaDefinition: z.ZodObject<{
|
|
|
17
18
|
written: "written";
|
|
18
19
|
};
|
|
19
20
|
};
|
|
21
|
+
textId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
20
22
|
}, z.core.$strip>;
|
|
21
23
|
type HarnessRunRequestOutcomeDefinition = z.infer<typeof HarnessRunRequestOutcomeSchemaDefinition>;
|
|
22
24
|
export interface HarnessRunRequestOutcomeSchemaInput extends z.input<typeof HarnessRunRequestOutcomeSchemaDefinition> {
|
|
@@ -2,12 +2,16 @@
|
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
3
|
import { HarnessRunRequestOutcomeStatusSchema } from "./run-request-outcome-status.js";
|
|
4
4
|
const HarnessRunRequestOutcomeSchemaDefinition = z.object({
|
|
5
|
+
/** Readback proves the quoted text is stored on the run's subject, not that it answers the request. */
|
|
6
|
+
quote: z.string().nullish(),
|
|
5
7
|
/** Why the change was not written; a refuted entry names the URL of the page that contradicts the request */
|
|
6
8
|
reason: z.string().nullish(),
|
|
7
9
|
/** The change the request asks for, in the requester's terms */
|
|
8
10
|
request: z.string(),
|
|
9
11
|
/** What the run did about the change */
|
|
10
12
|
status: HarnessRunRequestOutcomeStatusSchema,
|
|
13
|
+
/** Text row containing the passage that satisfies this request */
|
|
14
|
+
textId: z.int().nullish(),
|
|
11
15
|
});
|
|
12
16
|
/**
|
|
13
17
|
* One distinct change the requester asked for and what the run did about it
|