const Original = Schema.String.pipe(Schema.Redacted)
const MySchema = Schema.Struct({
foo: Schema.String,
bar: Schema.String,
secret: Schema.String.pipe(Schema.Redacted),
original: Schema.String.pipe(Schema.Redacted, Schema.optionWith({ default: () => Schema.decodeSync(Original)(''),
})
const Original = Schema.String.pipe(Schema.Redacted)
const MySchema = Schema.Struct({
foo: Schema.String,
bar: Schema.String,
secret: Schema.String.pipe(Schema.Redacted),
original: Schema.String.pipe(Schema.Redacted, Schema.optionWith({ default: () => Schema.decodeSync(Original)(''),
})