Regenerate the response wire schema for PersonaStatus; lock serde_path_to_error
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
ea28b8cbc0
commit
b759addf3e
2 changed files with 48 additions and 6 deletions
12
Cargo.lock
generated
12
Cargo.lock
generated
|
|
@ -820,6 +820,7 @@ dependencies = [
|
||||||
"schemars",
|
"schemars",
|
||||||
"serde",
|
"serde",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
|
"serde_path_to_error",
|
||||||
"sha2",
|
"sha2",
|
||||||
"tempfile",
|
"tempfile",
|
||||||
]
|
]
|
||||||
|
|
@ -1628,6 +1629,17 @@ dependencies = [
|
||||||
"zmij",
|
"zmij",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "serde_path_to_error"
|
||||||
|
version = "0.1.20"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "10a9ff822e371bb5403e391ecd83e182e0e77ba7f6fe0160b795797109d1b457"
|
||||||
|
dependencies = [
|
||||||
|
"itoa",
|
||||||
|
"serde",
|
||||||
|
"serde_core",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "sha2"
|
name = "sha2"
|
||||||
version = "0.10.9"
|
version = "0.10.9"
|
||||||
|
|
|
||||||
|
|
@ -1608,11 +1608,8 @@
|
||||||
"$ref": "#/$defs/Slug"
|
"$ref": "#/$defs/Slug"
|
||||||
},
|
},
|
||||||
"persona": {
|
"persona": {
|
||||||
"description": "The stored persona document's `updatedAt`; none until the first put.",
|
"description": "The persona door as `PersonaGet` would find it.",
|
||||||
"type": [
|
"$ref": "#/$defs/PersonaStatus"
|
||||||
"string",
|
|
||||||
"null"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"receipts": {
|
"receipts": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
|
|
@ -1628,7 +1625,8 @@
|
||||||
"schema_epoch",
|
"schema_epoch",
|
||||||
"documents",
|
"documents",
|
||||||
"receipts",
|
"receipts",
|
||||||
"index"
|
"index",
|
||||||
|
"persona"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"MutationRecord": {
|
"MutationRecord": {
|
||||||
|
|
@ -1747,6 +1745,38 @@
|
||||||
"receipt_id"
|
"receipt_id"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"PersonaStatus": {
|
||||||
|
"description": "What the persona door holds, in the one vocabulary the door itself answers\nin: nothing yet, a document with this `updatedAt`, or a stored document the\ndoor cannot read (`PersonaGet` and every put answer `Unavailable`).",
|
||||||
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"Absent",
|
||||||
|
"Unreadable"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"Stored": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"updated_at": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"updated_at"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"Stored"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
"PipelineAdmissionOutcome": {
|
"PipelineAdmissionOutcome": {
|
||||||
"description": "How admission ended. `Committed.writes` names every document the batch\nlanded, derived writes included; Cut 11 indexes from it after `admit`\nreturns, and never inside it.",
|
"description": "How admission ended. `Committed.writes` names every document the batch\nlanded, derived writes included; Cut 11 indexes from it after `admit`\nreturns, and never inside it.",
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue