feat(corp/rih): add UUIDs to records from frontend

This UUID stays the same even if a user submits the form multiple
times (unless they edit it manually in local storage, of course).

Change-Id: I4190fbfeb1027ce8a8d87bc283099539e8722b39
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8733
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2023-06-09 15:52:34 +03:00 committed by tazjin
parent d925ec34cd
commit a970de3365
4 changed files with 22 additions and 2 deletions

View file

@ -1092,6 +1092,7 @@ dependencies = [
"serde_json",
"serde_urlencoded",
"static_markdown",
"uuid",
"wasm-bindgen",
"wasm-bindgen-futures",
"web-sys",
@ -1465,6 +1466,16 @@ version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a"
[[package]]
name = "uuid"
version = "1.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "345444e32442451b267fc254ae85a209c64be56d2890e601a0c37ff0c3c5ecd2"
dependencies = [
"getrandom",
"serde",
]
[[package]]
name = "version_check"
version = "0.9.4"