1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-20 00:38:24 +02:00
immich/mobile/openapi/test/server_features_dto_test.dart
Daniel Dietzler 59bb727636
feat(web, server): Ability to use config file instead of admin UI (#3836)
* implement method to read config file

* getConfig returns config file if present

* return isConfigFile for http requests

* disable elements if config file is used, show message if config file is set, copy existing config to clipboard

* fix allowing partial configuration files

* add new env variable to docs

* fix tests

* minor refactoring, address review

* adapt config type in frontend

* remove unnecessary imports

* move config file reading to system-config repo

* add documentation

* fix code formatting in system settings page

* add validator for config file

* fix formatting in docs

* update generated files

* throw error when trying to update config. e.g. via cli or api

* switch to feature flags for isConfigFile

* refactoring

* refactor: config file

* chore: open api

* feat: always show copy/export buttons

* fix: default flags

* refactor: copy to clipboard

---------

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2023-08-25 13:44:52 -04:00

68 lines
1.4 KiB
Dart
Generated

//
// AUTO-GENERATED FILE, DO NOT MODIFY!
//
// @dart=2.12
// ignore_for_file: unused_element, unused_import
// ignore_for_file: always_put_required_named_parameters_first
// ignore_for_file: constant_identifier_names
// ignore_for_file: lines_longer_than_80_chars
import 'package:openapi/api.dart';
import 'package:test/test.dart';
// tests for ServerFeaturesDto
void main() {
// final instance = ServerFeaturesDto();
group('test ServerFeaturesDto', () {
// bool clipEncode
test('to test the property `clipEncode`', () async {
// TODO
});
// bool configFile
test('to test the property `configFile`', () async {
// TODO
});
// bool facialRecognition
test('to test the property `facialRecognition`', () async {
// TODO
});
// bool oauth
test('to test the property `oauth`', () async {
// TODO
});
// bool oauthAutoLaunch
test('to test the property `oauthAutoLaunch`', () async {
// TODO
});
// bool passwordLogin
test('to test the property `passwordLogin`', () async {
// TODO
});
// bool search
test('to test the property `search`', () async {
// TODO
});
// bool sidecar
test('to test the property `sidecar`', () async {
// TODO
});
// bool tagImage
test('to test the property `tagImage`', () async {
// TODO
});
});
}