update form to latest sdk

This commit is contained in:
Matt Hill
2023-04-21 09:21:35 -06:00
committed by Aiden McClelland
parent f83ae27352
commit 94cdaf5314
31 changed files with 499 additions and 310 deletions

View File

@@ -276,53 +276,57 @@ export class BackupDrivesStatusComponent {
const CifsSpec: InputSpec = {
hostname: {
type: 'string',
type: 'text',
name: 'Hostname',
description:
'The hostname of your target device on the Local Area Network.',
inputmode: 'text',
placeholder: `e.g. 'My Computer' OR 'my-computer.local'`,
pattern: '^[a-zA-Z0-9._-]+( [a-zA-Z0-9]+)*$',
patternDescription: `Must be a valid hostname. e.g. 'My Computer' OR 'my-computer.local'`,
minLength: null,
maxLength: null,
patterns: [],
required: true,
masked: false,
default: null,
warning: null,
},
path: {
type: 'string',
type: 'text',
name: 'Path',
description: `On Windows, this is the fully qualified path to the shared folder, (e.g. /Desktop/my-folder).\n\n On Linux and Mac, this is the literal name of the shared folder (e.g. my-shared-folder).`,
inputmode: 'text',
placeholder: 'e.g. my-shared-folder or /Desktop/my-folder',
pattern: null,
patternDescription: null,
patterns: [],
minLength: null,
maxLength: null,
required: true,
masked: false,
default: null,
warning: null,
},
username: {
type: 'string',
type: 'text',
name: 'Username',
description: `On Linux, this is the samba username you created when sharing the folder.\n\n On Mac and Windows, this is the username of the user who is sharing the folder.`,
inputmode: 'text',
minLength: null,
maxLength: null,
placeholder: null,
pattern: null,
patternDescription: null,
patterns: [],
required: true,
masked: false,
default: null,
warning: null,
},
password: {
type: 'string',
type: 'text',
name: 'Password',
description: `On Linux, this is the samba password you created when sharing the folder.\n\n On Mac and Windows, this is the password of the user who is sharing the folder.`,
inputmode: 'text',
placeholder: null,
pattern: null,
patternDescription: null,
minLength: null,
maxLength: null,
patterns: [],
required: false,
masked: true,
default: null,