♻️ sync owner migration and facade thinning

This commit is contained in:
Nanaloveyuki
2026-07-07 20:03:22 +08:00
parent 5d9924026e
commit e3097ba4fc
79 changed files with 5255 additions and 3191 deletions
+8 -8
View File
@@ -1,29 +1,29 @@
///|
pub type RecordPatch = @utils.RecordPatch
pub type RecordPatch = @record_ops.RecordPatch
///|
pub fn identity_patch() -> RecordPatch {
@utils.identity_patch()
@record_ops.identity_patch()
}
///|
pub fn set_target(target : String) -> RecordPatch {
@utils.set_target(target)
@record_ops.set_target(target)
}
///|
pub fn prefix_message(prefix : String) -> RecordPatch {
@utils.prefix_message(prefix)
@record_ops.prefix_message(prefix)
}
///|
pub fn append_fields(extra_fields : Array[Field]) -> RecordPatch {
@utils.append_fields(extra_fields)
@record_ops.append_fields(extra_fields)
}
///|
pub fn redact_field(key : String, placeholder? : String = "***") -> RecordPatch {
@utils.redact_field(key, placeholder~)
@record_ops.redact_field(key, placeholder~)
}
///|
@@ -31,10 +31,10 @@ pub fn redact_fields(
keys : Array[String],
placeholder? : String = "***",
) -> RecordPatch {
@utils.redact_fields(keys, placeholder~)
@record_ops.redact_fields(keys, placeholder~)
}
///|
pub fn compose_patches(patches : Array[RecordPatch]) -> RecordPatch {
@utils.compose_patches(patches)
@record_ops.compose_patches(patches)
}