@aventurevc/api-schemas 0.8.325 → 0.8.327
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.
|
@@ -7,6 +7,7 @@ declare const SourceDocumentListSchemaDefinition: z.ZodObject<{
|
|
|
7
7
|
httpStatus: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
8
8
|
id: z.ZodUUID;
|
|
9
9
|
lastAccessedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
10
|
+
lastFetchedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
10
11
|
provider: z.ZodString;
|
|
11
12
|
providerRequestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
13
|
rawByteCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -14,6 +15,7 @@ declare const SourceDocumentListSchemaDefinition: z.ZodObject<{
|
|
|
14
15
|
rawMediaType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
16
|
sourceKey: z.ZodString;
|
|
16
17
|
upstreamContentEncoding: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
}, z.core.$strip>;
|
|
18
20
|
type SourceDocumentListDefinition = z.infer<typeof SourceDocumentListSchemaDefinition>;
|
|
19
21
|
export interface SourceDocumentListSchemaInput extends z.input<typeof SourceDocumentListSchemaDefinition> {
|
|
@@ -9,6 +9,8 @@ const SourceDocumentListSchemaDefinition = z.object({
|
|
|
9
9
|
/** Document id */
|
|
10
10
|
id: z.uuid(),
|
|
11
11
|
lastAccessedAt: z.iso.datetime({ offset: true }).nullish(),
|
|
12
|
+
/** Newest successful capture time in latestPerUrl mode; otherwise this version last fetch. Older API revisions omit this field. */
|
|
13
|
+
lastFetchedAt: z.iso.datetime({ offset: true }).optional(),
|
|
12
14
|
provider: z.string(),
|
|
13
15
|
providerRequestId: z.string().nullish(),
|
|
14
16
|
rawByteCount: z.number().int().nullish(),
|
|
@@ -17,6 +19,8 @@ const SourceDocumentListSchemaDefinition = z.object({
|
|
|
17
19
|
/** Canonical fetch identity: canonical URL, query hash, or dataset + external id */
|
|
18
20
|
sourceKey: z.string(),
|
|
19
21
|
upstreamContentEncoding: z.string().nullish(),
|
|
22
|
+
/** Fetched page URL; recency keyset continuation uses this value */
|
|
23
|
+
url: z.string().nullish(),
|
|
20
24
|
});
|
|
21
25
|
/**
|
|
22
26
|
* Metadata-only ledger row for source-document lists
|
package/dist/web/search.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ declare const WebSearchSchemaDefinition: z.ZodObject<{
|
|
|
31
31
|
httpStatus?: number | null | undefined;
|
|
32
32
|
id: string;
|
|
33
33
|
lastAccessedAt?: string | null | undefined;
|
|
34
|
+
lastFetchedAt?: string | undefined;
|
|
34
35
|
provider: string;
|
|
35
36
|
providerRequestId?: string | null | undefined;
|
|
36
37
|
rawByteCount?: number | null | undefined;
|
|
@@ -38,6 +39,7 @@ declare const WebSearchSchemaDefinition: z.ZodObject<{
|
|
|
38
39
|
rawMediaType?: string | null | undefined;
|
|
39
40
|
sourceKey: string;
|
|
40
41
|
upstreamContentEncoding?: string | null | undefined;
|
|
42
|
+
url?: string | null | undefined;
|
|
41
43
|
}, import("../source/document-list.ts").SourceDocumentListSchemaInput, z.core.$ZodTypeInternals<{
|
|
42
44
|
cacheHitCount: number;
|
|
43
45
|
createdAt: string;
|
|
@@ -46,6 +48,7 @@ declare const WebSearchSchemaDefinition: z.ZodObject<{
|
|
|
46
48
|
httpStatus?: number | null | undefined;
|
|
47
49
|
id: string;
|
|
48
50
|
lastAccessedAt?: string | null | undefined;
|
|
51
|
+
lastFetchedAt?: string | undefined;
|
|
49
52
|
provider: string;
|
|
50
53
|
providerRequestId?: string | null | undefined;
|
|
51
54
|
rawByteCount?: number | null | undefined;
|
|
@@ -53,6 +56,7 @@ declare const WebSearchSchemaDefinition: z.ZodObject<{
|
|
|
53
56
|
rawMediaType?: string | null | undefined;
|
|
54
57
|
sourceKey: string;
|
|
55
58
|
upstreamContentEncoding?: string | null | undefined;
|
|
59
|
+
url?: string | null | undefined;
|
|
56
60
|
}, import("../source/document-list.ts").SourceDocumentListSchemaInput>>;
|
|
57
61
|
knowledgeGraph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
58
62
|
attribute: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodType<{
|