applicationError |
Type : MethodFault
|
Default value : {
faultCode: -1,
faultString: 'Problem while processing data.',
}
|
BODY |
Type : string
|
Default value : 'body'
|
TEXT |
Type : string
|
Default value : 'text'
|
COBBLER_TOKEN_KEY_NAME |
Type : string
|
Default value : 'token'
|
COBBLER_URL_KEY_NAME |
Type : string
|
Default value : 'COBBLER_URL'
|
COBBLER_URL |
Default value : new InjectionToken<URL>('COBBLER_URL')
|
cobblerUrlFactory |
Default value : () => {
const value = localStorage.getItem('COBBLER_URL');
if (value) {
return new URL(value);
}
return new URL('http://localhost/cobbler_api');
}
|
cobblerItemEditableData |
Type : Array<CobblerInputData>
|
Default value : [
{
formControlName: 'comment',
inputType: CobblerInputChoices.TEXT,
label: 'Comment',
disabled: true,
readonly: false,
defaultValue: '',
inherited: false,
},
]
|
cobblerItemReadonlyData |
Type : Array<CobblerInputData>
|
Default value : [
{
formControlName: 'name',
inputType: CobblerInputChoices.TEXT,
label: 'Name',
disabled: false,
readonly: true,
defaultValue: '',
inherited: false,
},
{
formControlName: 'uid',
inputType: CobblerInputChoices.TEXT,
label: 'UID',
disabled: false,
readonly: true,
defaultValue: '',
inherited: false,
},
{
formControlName: 'mtime',
inputType: CobblerInputChoices.TEXT,
label: 'Last modified time',
disabled: false,
readonly: true,
defaultValue: '',
inherited: false,
},
{
formControlName: 'ctime',
inputType: CobblerInputChoices.TEXT,
label: 'Creation time',
disabled: false,
readonly: true,
defaultValue: '',
inherited: false,
},
{
formControlName: 'depth',
inputType: CobblerInputChoices.NUMBER,
label: 'Depth',
disabled: false,
readonly: true,
defaultValue: 0,
inherited: false,
},
{
formControlName: 'is_subobject',
inputType: CobblerInputChoices.CHECKBOX,
label: 'Is Subobject?',
disabled: false,
readonly: true,
defaultValue: false,
inherited: false,
},
]
|
EMPTY_CONFIG |
Type : AppConfig
|
Default value : {
cobblerUrls: [],
}
|
environment |
Type : object
|
Default value : {
production: true,
}
|
environment |
Type : object
|
Default value : {
production: false,
}
|