@aventurevc/api-schemas 0.8.535 → 0.8.537
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.
|
@@ -5,7 +5,7 @@ const SharedSearchMutationSchemaDefinition = z.object({
|
|
|
5
5
|
id: z.uuid().nullish(),
|
|
6
6
|
/** Plain-English query to run against public records and publish. */
|
|
7
7
|
query: z.string().max(2000).nullish(),
|
|
8
|
-
/** entity.searchRequestId of the federated search response the sharing page showed. When
|
|
8
|
+
/** entity.searchRequestId of the federated search response the sharing page showed. When omitted, POST runs the default public search for query. When provided, both POST and PATCH publish only the exact kept shareable answer from that signed-in search of the same query without running a second search: a missing, mismatched, unshareable, or expired kept answer is refused with 422. A search whose answer is not stored yet makes the share wait briefly when shareReceipt proves it was accepted; if it is still absent the share answers a retryable 503 that charges nothing and may be repeated unchanged, with Retry-After only when a whole second of the receipt's window remains. */
|
|
9
9
|
searchRequestId: z.uuid().nullish(),
|
|
10
10
|
/** The top-level shareReceipt of that same federated search response, sent unchanged beside entity.searchRequestId. With it, a share sent before the search's answer is stored waits for it until the receipt's own cutoff; without a valid one an answer not yet stored is not waited for. Never mint or alter one. */
|
|
11
11
|
shareReceipt: z.string().max(512).nullish(),
|