dsh-image-gen 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.js +67 -19
- package/lib/client.js.map +1 -1
- package/lib/types/client/index.d.ts +4 -2
- package/package.json +1 -1
|
@@ -57,8 +57,8 @@ interface CredentialMutationResult {
|
|
|
57
57
|
interface CredentialsRemote {
|
|
58
58
|
describe(refs: string[]): Promise<CredentialResult>;
|
|
59
59
|
set(ref: string, value: string): Promise<CredentialMutationResult>;
|
|
60
|
-
/** Present only on modern hosts; feature-detected before use. */
|
|
61
|
-
unset
|
|
60
|
+
/** Present only on modern hosts; feature-detected before use; undefined while degraded. */
|
|
61
|
+
unset?: ((ref: string) => Promise<CredentialMutationResult>) | undefined;
|
|
62
62
|
}
|
|
63
63
|
/** Notifies the settings card whenever any credential reference changes on the host. */
|
|
64
64
|
interface CredentialEvents {
|
|
@@ -67,6 +67,8 @@ interface CredentialEvents {
|
|
|
67
67
|
interface SettingsFace {
|
|
68
68
|
scope: SettingsScope<ImageSettings>;
|
|
69
69
|
credentials: CredentialsRemote;
|
|
70
|
+
/** False while the host core exposes no credentials service; the key UI degrades but the card stays mounted. */
|
|
71
|
+
credentialsAvailable: () => boolean;
|
|
70
72
|
locale?: LocaleService | undefined;
|
|
71
73
|
credentialEvents?: CredentialEvents | undefined;
|
|
72
74
|
}
|
package/package.json
CHANGED