Shumoku Docs

ドキュメントを検索

共通文書と現行公開版

検索を読み込み中…

English

@shumoku/core · 0.4.0 · function

isSecretProp

ソース

APIの説明は英語のcanonical sourceを表示しています。

A field is a write-only secret if it declares `secret: true`. `format: 'password'` is honoured too so external plugins that predate the flag keep working; new schemas should set `secret: true`.

isSecretProp(prop: PluginConfigProperty): boolean

パラメーター

名前 説明 既定値
prop PluginConfigProperty 追加説明はありません。

戻り値

boolean

libs/@shumoku/core/src/plugin-kit/secrets.ts:22