Skip to content

Interface: PersistenceUiControllerViewModel ​

Defined in: application/services/persistence/persistence-ui-controller.ts:28

UI state produced by PersistenceUiController.getViewModel.

Properties ​

activeProviderId ​

ts
activeProviderId: string;

Defined in: application/services/persistence/persistence-ui-controller.ts:41


canConnect ​

ts
canConnect: boolean;

Defined in: application/services/persistence/persistence-ui-controller.ts:48

Whether the connect action should be enabled. For GitHub Gists this requires an entered or stored token.


capabilities ​

ts
capabilities: WorkspacePersistenceProviderCapabilities;

Defined in: application/services/persistence/persistence-ui-controller.ts:42


connected ​

ts
connected: boolean;

Defined in: application/services/persistence/persistence-ui-controller.ts:49


connectLabel ​

ts
connectLabel: string;

Defined in: application/services/persistence/persistence-ui-controller.ts:44

Label for the connect button of the active provider.


providerHelp ​

ts
providerHelp: string;

Defined in: application/services/persistence/persistence-ui-controller.ts:46

Short help text for the active provider.


providerLabel ​

ts
providerLabel: string;

Defined in: application/services/persistence/persistence-ui-controller.ts:30

Label of the active provider.


providers ​

ts
providers: object[];

Defined in: application/services/persistence/persistence-ui-controller.ts:31

capabilities ​

ts
capabilities: WorkspacePersistenceProviderCapabilities;

connectionState ​

ts
connectionState: object;
connectionState.connected ​
ts
connected: boolean;
connectionState.lastError? ​
ts
lastError?: string;
connectionState.status? ​
ts
status?: string;

id ​

ts
id: string;

label ​

ts
label: string;

s3Credentials ​

ts
s3Credentials: S3ConnectOptions;

Defined in: application/services/persistence/persistence-ui-controller.ts:55

S3 connection fields typed by the user (only kept while S3 is active).


selectedSnapshotId ​

ts
selectedSnapshotId: string;

Defined in: application/services/persistence/persistence-ui-controller.ts:53


showLocalFsActions ​

ts
showLocalFsActions: boolean;

Defined in: application/services/persistence/persistence-ui-controller.ts:57

Whether to show folder selection and diagnostics actions.


showS3Fields ​

ts
showS3Fields: boolean;

Defined in: application/services/persistence/persistence-ui-controller.ts:58


snapshots ​

ts
snapshots: object[];

Defined in: application/services/persistence/persistence-ui-controller.ts:52

id ​

ts
id: string;

modifiedTime? ​

ts
modifiedTime?: string;

name? ​

ts
name?: string;

status ​

ts
status: string;

Defined in: application/services/persistence/persistence-ui-controller.ts:51

Last status or error message, for display.