@aventurevc/api-schemas 0.8.19 → 0.8.20
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.
|
@@ -3,7 +3,7 @@ declare const EntityFilterSearchSchemaDefinition: z.ZodObject<{
|
|
|
3
3
|
filterKey: z.ZodString;
|
|
4
4
|
limit: z.ZodInt;
|
|
5
5
|
query: z.ZodString;
|
|
6
|
-
scopeFilter: z.ZodObject<{
|
|
6
|
+
scopeFilter: z.ZodOptional<z.ZodObject<{
|
|
7
7
|
acceleratorBrand: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8
8
|
acceleratorCohort: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
9
|
acceleratorName: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -215,7 +215,7 @@ declare const EntityFilterSearchSchemaDefinition: z.ZodObject<{
|
|
|
215
215
|
max?: number | null | undefined;
|
|
216
216
|
min?: number | null | undefined;
|
|
217
217
|
}, unknown>>>>;
|
|
218
|
-
}, z.core.$strict
|
|
218
|
+
}, z.core.$strict>>;
|
|
219
219
|
}, z.core.$strict>;
|
|
220
220
|
type EntityFilterSearchDefinition = z.infer<typeof EntityFilterSearchSchemaDefinition>;
|
|
221
221
|
/**
|
|
@@ -8,8 +8,8 @@ const EntityFilterSearchSchemaDefinition = z.strictObject({
|
|
|
8
8
|
limit: z.int(),
|
|
9
9
|
/** Query */
|
|
10
10
|
query: z.string().min(1),
|
|
11
|
-
/** Entity filter scope applied to the option search */
|
|
12
|
-
scopeFilter: EntityFilterSchema,
|
|
11
|
+
/** Entity filter scope applied to the option search. Omit to search every eligible entity. */
|
|
12
|
+
scopeFilter: EntityFilterSchema.optional(),
|
|
13
13
|
});
|
|
14
14
|
/**
|
|
15
15
|
* Record representing a filter search request
|
|
@@ -5,7 +5,7 @@ const IdentificationSubjectSchemaDefinition = z.object({
|
|
|
5
5
|
context: z.string().max(2000).nullish(),
|
|
6
6
|
/** City, region, or country, such as Austin, TX. Tells namesakes apart; not proof on its own. */
|
|
7
7
|
location: z.string().max(2000).nullish(),
|
|
8
|
-
/** Name exactly as the source writes it, such as Acme AI or Jane Doe. */
|
|
8
|
+
/** Name exactly as the source writes it, such as Acme AI or Jane Doe. Required even when url is sent; to read a record from only a URL (an aVenture page, website, or domain) use the exact read instead: entities lookup-exact get --url, or people lookup-exact get --url for a person. */
|
|
9
9
|
name: z.string().max(200),
|
|
10
10
|
/** aVenture news id of the article that mentions the subject; an unknown id is a 400. */
|
|
11
11
|
sourceNewsId: z.int().nullish(),
|