@aventurevc/api-schemas 0.8.226 → 0.8.227
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/federated/search.js
CHANGED
|
@@ -21,13 +21,13 @@ const FederatedSearchSchemaDefinition = z.object({
|
|
|
21
21
|
person: PersonNaturalSearchResultSchema,
|
|
22
22
|
/** Public detail for people on the person result page, in search rank order, with at most two public entity associations per person; person address and URL enrichment is omitted. */
|
|
23
23
|
personDetail: z.array(PersonDetailSchema),
|
|
24
|
-
/** Whether people lead this page:
|
|
24
|
+
/** Whether people lead this page: the query names a person, a web-found person's profile shows, or the query asks for people by a search catalog people term. */
|
|
25
25
|
personLead: z.boolean(),
|
|
26
26
|
/** Requested and executed strategy for each search scope. */
|
|
27
27
|
provenance: FederatedSearchProvenanceSchema,
|
|
28
28
|
/** A prompt with rewritten queries offered beside a broad query's results, from the search catalog revision the search read; null when no qualifier rule matches. */
|
|
29
29
|
qualifier: SearchQualifierSchema.nullish(),
|
|
30
|
-
/** Result sections from most to least relevant. People lead when
|
|
30
|
+
/** Result sections from most to least relevant. People lead when `personLead` is true and come last otherwise. Companies, products and services, and investors follow the rank of each section's best entity row, so a name whose best match is an investment firm leads with investors; sections with no entity row follow in that same fixed order. */
|
|
31
31
|
section: z.array(z.enum(["person", "company", "productService", "investor"])).optional(),
|
|
32
32
|
});
|
|
33
33
|
/**
|
|
@@ -275,7 +275,6 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
|
|
|
275
275
|
matchedBlocklistKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
276
276
|
mediaType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
277
277
|
moderationReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
278
|
-
parseError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
279
278
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
280
279
|
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./json-value.ts").JsonValue, import("./json-value.ts").JsonValue, z.core.$ZodTypeInternals<import("./json-value.ts").JsonValue, import("./json-value.ts").JsonValue>>>>;
|
|
281
280
|
proseViolation: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodType<{
|
|
@@ -227,7 +227,6 @@ const ProblemDetailSchemaDefinition = z.object({
|
|
|
227
227
|
matchedBlocklistKey: z.string().nullish(),
|
|
228
228
|
mediaType: z.string().nullish(),
|
|
229
229
|
moderationReason: z.string().nullish(),
|
|
230
|
-
parseError: z.string().nullish(),
|
|
231
230
|
path: z.string().nullish(),
|
|
232
231
|
properties: z.record(z.string(), JsonValueSchema).optional(),
|
|
233
232
|
/** Every rejected passage of a PROSE_REJECTED write, once per problem it shows; absent for every other problem. */
|