@aventurevc/api-schemas 0.8.438 → 0.8.440
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/image/variant.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export interface ImageVariantSchemaInput extends z.input<typeof ImageVariantSche
|
|
|
12
12
|
* A stored image variant with verified dimensions and content type
|
|
13
13
|
*
|
|
14
14
|
* @openapiSchema ImageVariant
|
|
15
|
+
* @endpoint GET /v1/content
|
|
15
16
|
* @endpoint GET /v1/entities/brand
|
|
16
17
|
* @endpoint GET /v1/entities/lookup-exact
|
|
17
18
|
* @endpoint GET /v1/people/lookup-exact
|
|
@@ -46,6 +47,7 @@ export interface ImageVariantSchemaInput extends z.input<typeof ImageVariantSche
|
|
|
46
47
|
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
47
48
|
* @endpoint GET /v1/search/shared/{id}
|
|
48
49
|
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
50
|
+
* @endpoint POST /v1/content/search
|
|
49
51
|
* @endpoint POST /v1/entities/lookup-batch
|
|
50
52
|
* @endpoint POST /v1/entities/lookup-matches
|
|
51
53
|
* @endpoint POST /v1/entities/search
|
|
@@ -58,6 +60,7 @@ export interface ImageVariantSchemaInput extends z.input<typeof ImageVariantSche
|
|
|
58
60
|
* @endpoint POST /v1/search/shared
|
|
59
61
|
* @usedBySchema EntityImageSchema
|
|
60
62
|
* @usedBySchema PersonImageSchema
|
|
63
|
+
* @usedBySchema PublicationSchema
|
|
61
64
|
* @contractShape image.variant
|
|
62
65
|
* @contractRole canonical
|
|
63
66
|
*/
|
package/dist/image/variant.js
CHANGED
|
@@ -14,6 +14,7 @@ const ImageVariantSchemaDefinition = z.object({
|
|
|
14
14
|
* A stored image variant with verified dimensions and content type
|
|
15
15
|
*
|
|
16
16
|
* @openapiSchema ImageVariant
|
|
17
|
+
* @endpoint GET /v1/content
|
|
17
18
|
* @endpoint GET /v1/entities/brand
|
|
18
19
|
* @endpoint GET /v1/entities/lookup-exact
|
|
19
20
|
* @endpoint GET /v1/people/lookup-exact
|
|
@@ -48,6 +49,7 @@ const ImageVariantSchemaDefinition = z.object({
|
|
|
48
49
|
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
49
50
|
* @endpoint GET /v1/search/shared/{id}
|
|
50
51
|
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
52
|
+
* @endpoint POST /v1/content/search
|
|
51
53
|
* @endpoint POST /v1/entities/lookup-batch
|
|
52
54
|
* @endpoint POST /v1/entities/lookup-matches
|
|
53
55
|
* @endpoint POST /v1/entities/search
|
|
@@ -60,6 +62,7 @@ const ImageVariantSchemaDefinition = z.object({
|
|
|
60
62
|
* @endpoint POST /v1/search/shared
|
|
61
63
|
* @usedBySchema EntityImageSchema
|
|
62
64
|
* @usedBySchema PersonImageSchema
|
|
65
|
+
* @usedBySchema PublicationSchema
|
|
63
66
|
* @contractShape image.variant
|
|
64
67
|
* @contractRole canonical
|
|
65
68
|
*/
|
|
@@ -21606,6 +21606,12 @@ declare const PagePublicationSchemaDefinition: z.ZodObject<{
|
|
|
21606
21606
|
publishedAt?: string | null | undefined;
|
|
21607
21607
|
relation?: "about" | "by" | null | undefined;
|
|
21608
21608
|
screenshotUrl?: string | null | undefined;
|
|
21609
|
+
screenshotVariant?: {
|
|
21610
|
+
contentType: string;
|
|
21611
|
+
height: number;
|
|
21612
|
+
path: string;
|
|
21613
|
+
width: number;
|
|
21614
|
+
}[] | null | undefined;
|
|
21609
21615
|
sourceDomain?: string | null | undefined;
|
|
21610
21616
|
sourceName?: string | null | undefined;
|
|
21611
21617
|
summary?: string | null | undefined;
|
|
@@ -21622,6 +21628,12 @@ declare const PagePublicationSchemaDefinition: z.ZodObject<{
|
|
|
21622
21628
|
publishedAt?: string | null | undefined;
|
|
21623
21629
|
relation?: "about" | "by" | null | undefined;
|
|
21624
21630
|
screenshotUrl?: string | null | undefined;
|
|
21631
|
+
screenshotVariant?: {
|
|
21632
|
+
contentType: string;
|
|
21633
|
+
height: number;
|
|
21634
|
+
path: string;
|
|
21635
|
+
width: number;
|
|
21636
|
+
}[] | null | undefined;
|
|
21625
21637
|
sourceDomain?: string | null | undefined;
|
|
21626
21638
|
sourceName?: string | null | undefined;
|
|
21627
21639
|
summary?: string | null | undefined;
|
|
@@ -19,6 +19,17 @@ declare const PublicationSchemaDefinition: z.ZodObject<{
|
|
|
19
19
|
by: "by";
|
|
20
20
|
}>>>;
|
|
21
21
|
screenshotUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
screenshotVariant: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodType<{
|
|
23
|
+
contentType: string;
|
|
24
|
+
height: number;
|
|
25
|
+
path: string;
|
|
26
|
+
width: number;
|
|
27
|
+
}, import("../image/variant.ts").ImageVariantSchemaInput, z.core.$ZodTypeInternals<{
|
|
28
|
+
contentType: string;
|
|
29
|
+
height: number;
|
|
30
|
+
path: string;
|
|
31
|
+
width: number;
|
|
32
|
+
}, import("../image/variant.ts").ImageVariantSchemaInput>>>>>;
|
|
22
33
|
sourceDomain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
34
|
sourceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
35
|
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
|
+
import { ImageVariantSchema } from "../image/variant.js";
|
|
3
4
|
import { PublicationRelationSchema } from "./relation.js";
|
|
4
5
|
import { PublicationTypeSchema } from "./type.js";
|
|
5
6
|
const PublicationSchemaDefinition = z.object({
|
|
@@ -17,6 +18,8 @@ const PublicationSchemaDefinition = z.object({
|
|
|
17
18
|
relation: PublicationRelationSchema.nullish(),
|
|
18
19
|
/** CDN URL of a stored screenshot of this content card's exact primary URL. Available for any publication type; absent until a capture is stored. */
|
|
19
20
|
screenshotUrl: z.string().nullish(),
|
|
21
|
+
/** Verified variants of screenshotUrl's exact master path; null means unknown, an empty array means known-empty. Use the master when absent or empty. */
|
|
22
|
+
screenshotVariant: z.array(ImageVariantSchema).nullish(),
|
|
20
23
|
/** Registrable source domain when known. */
|
|
21
24
|
sourceDomain: z.string().nullish(),
|
|
22
25
|
/** Publication, platform owner, or source label. */
|