feat(server) Tagging system (#1046)

This commit is contained in:
Alex
2022-12-05 11:56:44 -06:00
committed by GitHub
parent 6e2763b72c
commit 5de8ea162d
74 changed files with 8768 additions and 167 deletions

122
mobile/openapi/test/asset_entity_test.dart generated Normal file
View File

@@ -0,0 +1,122 @@
//
// 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 AssetEntity
void main() {
// final instance = AssetEntity();
group('test AssetEntity', () {
// String id
test('to test the property `id`', () async {
// TODO
});
// String deviceAssetId
test('to test the property `deviceAssetId`', () async {
// TODO
});
// String userId
test('to test the property `userId`', () async {
// TODO
});
// String deviceId
test('to test the property `deviceId`', () async {
// TODO
});
// String type
test('to test the property `type`', () async {
// TODO
});
// String originalPath
test('to test the property `originalPath`', () async {
// TODO
});
// String resizePath
test('to test the property `resizePath`', () async {
// TODO
});
// String webpPath
test('to test the property `webpPath`', () async {
// TODO
});
// String encodedVideoPath
test('to test the property `encodedVideoPath`', () async {
// TODO
});
// String createdAt
test('to test the property `createdAt`', () async {
// TODO
});
// String modifiedAt
test('to test the property `modifiedAt`', () async {
// TODO
});
// bool isFavorite
test('to test the property `isFavorite`', () async {
// TODO
});
// String mimeType
test('to test the property `mimeType`', () async {
// TODO
});
// Object checksum
test('to test the property `checksum`', () async {
// TODO
});
// String duration
test('to test the property `duration`', () async {
// TODO
});
// bool isVisible
test('to test the property `isVisible`', () async {
// TODO
});
// String livePhotoVideoId
test('to test the property `livePhotoVideoId`', () async {
// TODO
});
// ExifEntity exifInfo
test('to test the property `exifInfo`', () async {
// TODO
});
// SmartInfoEntity smartInfo
test('to test the property `smartInfo`', () async {
// TODO
});
// List<TagEntity> tags (default value: const [])
test('to test the property `tags`', () async {
// TODO
});
});
}

View File

@@ -0,0 +1,32 @@
//
// 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 CreateTagDto
void main() {
// final instance = CreateTagDto();
group('test CreateTagDto', () {
// TagTypeEnum type
test('to test the property `type`', () async {
// TODO
});
// String name
test('to test the property `name`', () async {
// TODO
});
});
}

150
mobile/openapi/test/exif_entity_test.dart generated Normal file
View File

@@ -0,0 +1,150 @@
//
// 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 ExifEntity
void main() {
// final instance = ExifEntity();
group('test ExifEntity', () {
// String id
test('to test the property `id`', () async {
// TODO
});
// String assetId
test('to test the property `assetId`', () async {
// TODO
});
// General info
// String description
test('to test the property `description`', () async {
// TODO
});
// num exifImageWidth
test('to test the property `exifImageWidth`', () async {
// TODO
});
// num exifImageHeight
test('to test the property `exifImageHeight`', () async {
// TODO
});
// num fileSizeInByte
test('to test the property `fileSizeInByte`', () async {
// TODO
});
// String orientation
test('to test the property `orientation`', () async {
// TODO
});
// DateTime dateTimeOriginal
test('to test the property `dateTimeOriginal`', () async {
// TODO
});
// DateTime modifyDate
test('to test the property `modifyDate`', () async {
// TODO
});
// num latitude
test('to test the property `latitude`', () async {
// TODO
});
// num longitude
test('to test the property `longitude`', () async {
// TODO
});
// String city
test('to test the property `city`', () async {
// TODO
});
// String state
test('to test the property `state`', () async {
// TODO
});
// String country
test('to test the property `country`', () async {
// TODO
});
// Image info
// String make
test('to test the property `make`', () async {
// TODO
});
// String model
test('to test the property `model`', () async {
// TODO
});
// String imageName
test('to test the property `imageName`', () async {
// TODO
});
// String lensModel
test('to test the property `lensModel`', () async {
// TODO
});
// num fNumber
test('to test the property `fNumber`', () async {
// TODO
});
// num focalLength
test('to test the property `focalLength`', () async {
// TODO
});
// num iso
test('to test the property `iso`', () async {
// TODO
});
// num exposureTime
test('to test the property `exposureTime`', () async {
// TODO
});
// Video info
// num fps
test('to test the property `fps`', () async {
// TODO
});
// AssetEntity asset
test('to test the property `asset`', () async {
// TODO
});
// String exifTextSearchableColumn
test('to test the property `exifTextSearchableColumn`', () async {
// TODO
});
});
}

View File

@@ -0,0 +1,47 @@
//
// 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 SmartInfoEntity
void main() {
// final instance = SmartInfoEntity();
group('test SmartInfoEntity', () {
// String id
test('to test the property `id`', () async {
// TODO
});
// String assetId
test('to test the property `assetId`', () async {
// TODO
});
// List<String> tags (default value: const [])
test('to test the property `tags`', () async {
// TODO
});
// List<String> objects (default value: const [])
test('to test the property `objects`', () async {
// TODO
});
// AssetEntity asset
test('to test the property `asset`', () async {
// TODO
});
});
}

46
mobile/openapi/test/tag_api_test.dart generated Normal file
View File

@@ -0,0 +1,46 @@
//
// 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 TagApi
void main() {
// final instance = TagApi();
group('tests for TagApi', () {
//Future<TagEntity> create(CreateTagDto createTagDto) async
test('test create', () async {
// TODO
});
//Future<List<TagEntity>> findAll() async
test('test findAll', () async {
// TODO
});
//Future<Object> findOne(String id) async
test('test findOne', () async {
// TODO
});
//Future<String> remove(String id) async
test('test remove', () async {
// TODO
});
//Future<String> update(String id, UpdateTagDto updateTagDto) async
test('test update', () async {
// TODO
});
});
}

52
mobile/openapi/test/tag_entity_test.dart generated Normal file
View File

@@ -0,0 +1,52 @@
//
// 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 TagEntity
void main() {
// final instance = TagEntity();
group('test TagEntity', () {
// String id
test('to test the property `id`', () async {
// TODO
});
// String type
test('to test the property `type`', () async {
// TODO
});
// String name
test('to test the property `name`', () async {
// TODO
});
// String renameTagId
test('to test the property `renameTagId`', () async {
// TODO
});
// List<AssetEntity> assets (default value: const [])
test('to test the property `assets`', () async {
// TODO
});
// UserEntity user
test('to test the property `user`', () async {
// TODO
});
});
}

View File

@@ -0,0 +1,37 @@
//
// 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 TagResponseDto
void main() {
// final instance = TagResponseDto();
group('test TagResponseDto', () {
// String id
test('to test the property `id`', () async {
// TODO
});
// TagTypeEnum type
test('to test the property `type`', () async {
// TODO
});
// String name
test('to test the property `name`', () async {
// TODO
});
});
}

View File

@@ -0,0 +1,21 @@
//
// 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 TagTypeEnum
void main() {
group('test TagTypeEnum', () {
});
}

View File

@@ -0,0 +1,32 @@
//
// 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 UpdateTagDto
void main() {
// final instance = UpdateTagDto();
group('test UpdateTagDto', () {
// String name
test('to test the property `name`', () async {
// TODO
});
// String renameTagId
test('to test the property `renameTagId`', () async {
// TODO
});
});
}

View File

@@ -0,0 +1,82 @@
//
// 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 UserEntity
void main() {
// final instance = UserEntity();
group('test UserEntity', () {
// String id
test('to test the property `id`', () async {
// TODO
});
// String firstName
test('to test the property `firstName`', () async {
// TODO
});
// String lastName
test('to test the property `lastName`', () async {
// TODO
});
// bool isAdmin
test('to test the property `isAdmin`', () async {
// TODO
});
// String email
test('to test the property `email`', () async {
// TODO
});
// String password
test('to test the property `password`', () async {
// TODO
});
// String salt
test('to test the property `salt`', () async {
// TODO
});
// String profileImagePath
test('to test the property `profileImagePath`', () async {
// TODO
});
// bool shouldChangePassword
test('to test the property `shouldChangePassword`', () async {
// TODO
});
// String createdAt
test('to test the property `createdAt`', () async {
// TODO
});
// DateTime deletedAt
test('to test the property `deletedAt`', () async {
// TODO
});
// List<TagEntity> tags (default value: const [])
test('to test the property `tags`', () async {
// TODO
});
});
}