mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
feat(server) user-defined storage structure (#1098)
[Breaking] newly uploaded file will conform to the default structure of `{uploadLocation}/{userId}/year/year-month-day/filename.ext`
This commit is contained in:
parent
391d00bcb9
commit
c754c860fd
59 changed files with 1892 additions and 173 deletions
5
mobile/openapi/test/system_config_api_test.dart
generated
5
mobile/openapi/test/system_config_api_test.dart
generated
|
|
@ -27,6 +27,11 @@ void main() {
|
|||
// TODO
|
||||
});
|
||||
|
||||
//Future<SystemConfigTemplateStorageOptionDto> getStorageTemplateOptions() async
|
||||
test('test getStorageTemplateOptions', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
//Future<SystemConfigDto> updateConfig(SystemConfigDto systemConfigDto) async
|
||||
test('test updateConfig', () async {
|
||||
// TODO
|
||||
|
|
|
|||
5
mobile/openapi/test/system_config_dto_test.dart
generated
5
mobile/openapi/test/system_config_dto_test.dart
generated
|
|
@ -26,6 +26,11 @@ void main() {
|
|||
// TODO
|
||||
});
|
||||
|
||||
// SystemConfigStorageTemplateDto storageTemplate
|
||||
test('to test the property `storageTemplate`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
||||
|
|
|
|||
27
mobile/openapi/test/system_config_storage_template_dto_test.dart
generated
Normal file
27
mobile/openapi/test/system_config_storage_template_dto_test.dart
generated
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
//
|
||||
// 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 SystemConfigStorageTemplateDto
|
||||
void main() {
|
||||
// final instance = SystemConfigStorageTemplateDto();
|
||||
|
||||
group('test SystemConfigStorageTemplateDto', () {
|
||||
// String template
|
||||
test('to test the property `template`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
57
mobile/openapi/test/system_config_template_storage_option_dto_test.dart
generated
Normal file
57
mobile/openapi/test/system_config_template_storage_option_dto_test.dart
generated
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
//
|
||||
// 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 SystemConfigTemplateStorageOptionDto
|
||||
void main() {
|
||||
// final instance = SystemConfigTemplateStorageOptionDto();
|
||||
|
||||
group('test SystemConfigTemplateStorageOptionDto', () {
|
||||
// List<String> yearOptions (default value: const [])
|
||||
test('to test the property `yearOptions`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// List<String> monthOptions (default value: const [])
|
||||
test('to test the property `monthOptions`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// List<String> dayOptions (default value: const [])
|
||||
test('to test the property `dayOptions`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// List<String> hourOptions (default value: const [])
|
||||
test('to test the property `hourOptions`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// List<String> minuteOptions (default value: const [])
|
||||
test('to test the property `minuteOptions`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// List<String> secondOptions (default value: const [])
|
||||
test('to test the property `secondOptions`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// List<String> presetOptions (default value: const [])
|
||||
test('to test the property `presetOptions`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue