@aventurevc/api-schemas 0.8.165 → 0.8.168
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.
|
@@ -205,6 +205,7 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
|
|
|
205
205
|
conflictingArticleTitle: string;
|
|
206
206
|
}, import("../news/source-url-conflict.ts").NewsSourceUrlConflictSchemaInput>>]>>>;
|
|
207
207
|
error: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
208
|
+
existingRecordId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
208
209
|
existingRedirect: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
209
210
|
newUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
210
211
|
oldUrl: z.ZodString;
|
|
@@ -165,6 +165,8 @@ const ProblemDetailSchemaDefinition = z.object({
|
|
|
165
165
|
/** Structured conflict details. Create duplicate reviews and deterministic lookup ambiguity return DuplicateCreateReview; the returned candidates are the decision surface for update, create-with-override, or block. score/threshold rank review priority and are not proof that the requested record is absent. */
|
|
166
166
|
details: DomainConflictDetailsSchema.nullish(),
|
|
167
167
|
error: z.record(z.string(), z.string()).nullish(),
|
|
168
|
+
/** On a duplicate 409, the id of the stored record the request collided with; read or update that record instead of creating it again. Absent when the conflict names no single stored record. */
|
|
169
|
+
existingRecordId: z.string().nullish(),
|
|
168
170
|
existingRedirect: RedirectSlugPathSchema.nullish(),
|
|
169
171
|
feId: z.string().nullish(),
|
|
170
172
|
field: z.string().nullish(),
|