mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-04 03:27:09 -05:00 
			
		
		
		
	update openapi
This commit is contained in:
		
							parent
							
								
									5e4403bb2e
								
							
						
					
					
						commit
						5eb8d7e8b0
					
				
							
								
								
									
										4
									
								
								cli/src/api/open-api/api.ts
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4
									
								
								cli/src/api/open-api/api.ts
									
									
									
										generated
									
									
									
								
							@ -666,13 +666,13 @@ export interface AssetStatsResponseDto {
 | 
				
			|||||||
     * @type {number}
 | 
					     * @type {number}
 | 
				
			||||||
     * @memberof AssetStatsResponseDto
 | 
					     * @memberof AssetStatsResponseDto
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    'videos': number;
 | 
					    'total': number;
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * 
 | 
					     * 
 | 
				
			||||||
     * @type {number}
 | 
					     * @type {number}
 | 
				
			||||||
     * @memberof AssetStatsResponseDto
 | 
					     * @memberof AssetStatsResponseDto
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    'total': number;
 | 
					    'videos': number;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * 
 | 
					 * 
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								mobile/openapi/doc/AssetStatsResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								mobile/openapi/doc/AssetStatsResponseDto.md
									
									
									
										generated
									
									
									
								
							@ -9,8 +9,8 @@ import 'package:openapi/api.dart';
 | 
				
			|||||||
Name | Type | Description | Notes
 | 
					Name | Type | Description | Notes
 | 
				
			||||||
------------ | ------------- | ------------- | -------------
 | 
					------------ | ------------- | ------------- | -------------
 | 
				
			||||||
**images** | **int** |  | 
 | 
					**images** | **int** |  | 
 | 
				
			||||||
**videos** | **int** |  | 
 | 
					 | 
				
			||||||
**total** | **int** |  | 
 | 
					**total** | **int** |  | 
 | 
				
			||||||
 | 
					**videos** | **int** |  | 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
 | 
					[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -14,37 +14,37 @@ class AssetStatsResponseDto {
 | 
				
			|||||||
  /// Returns a new [AssetStatsResponseDto] instance.
 | 
					  /// Returns a new [AssetStatsResponseDto] instance.
 | 
				
			||||||
  AssetStatsResponseDto({
 | 
					  AssetStatsResponseDto({
 | 
				
			||||||
    required this.images,
 | 
					    required this.images,
 | 
				
			||||||
    required this.videos,
 | 
					 | 
				
			||||||
    required this.total,
 | 
					    required this.total,
 | 
				
			||||||
 | 
					    required this.videos,
 | 
				
			||||||
  });
 | 
					  });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  int images;
 | 
					  int images;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  int videos;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  int total;
 | 
					  int total;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  int videos;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  bool operator ==(Object other) => identical(this, other) || other is AssetStatsResponseDto &&
 | 
					  bool operator ==(Object other) => identical(this, other) || other is AssetStatsResponseDto &&
 | 
				
			||||||
     other.images == images &&
 | 
					     other.images == images &&
 | 
				
			||||||
     other.videos == videos &&
 | 
					     other.total == total &&
 | 
				
			||||||
     other.total == total;
 | 
					     other.videos == videos;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  int get hashCode =>
 | 
					  int get hashCode =>
 | 
				
			||||||
    // ignore: unnecessary_parenthesis
 | 
					    // ignore: unnecessary_parenthesis
 | 
				
			||||||
    (images.hashCode) +
 | 
					    (images.hashCode) +
 | 
				
			||||||
    (videos.hashCode) +
 | 
					    (total.hashCode) +
 | 
				
			||||||
    (total.hashCode);
 | 
					    (videos.hashCode);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  String toString() => 'AssetStatsResponseDto[images=$images, videos=$videos, total=$total]';
 | 
					  String toString() => 'AssetStatsResponseDto[images=$images, total=$total, videos=$videos]';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  Map<String, dynamic> toJson() {
 | 
					  Map<String, dynamic> toJson() {
 | 
				
			||||||
    final json = <String, dynamic>{};
 | 
					    final json = <String, dynamic>{};
 | 
				
			||||||
      json[r'images'] = this.images;
 | 
					      json[r'images'] = this.images;
 | 
				
			||||||
      json[r'videos'] = this.videos;
 | 
					 | 
				
			||||||
      json[r'total'] = this.total;
 | 
					      json[r'total'] = this.total;
 | 
				
			||||||
 | 
					      json[r'videos'] = this.videos;
 | 
				
			||||||
    return json;
 | 
					    return json;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -57,8 +57,8 @@ class AssetStatsResponseDto {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
      return AssetStatsResponseDto(
 | 
					      return AssetStatsResponseDto(
 | 
				
			||||||
        images: mapValueOfType<int>(json, r'images')!,
 | 
					        images: mapValueOfType<int>(json, r'images')!,
 | 
				
			||||||
        videos: mapValueOfType<int>(json, r'videos')!,
 | 
					 | 
				
			||||||
        total: mapValueOfType<int>(json, r'total')!,
 | 
					        total: mapValueOfType<int>(json, r'total')!,
 | 
				
			||||||
 | 
					        videos: mapValueOfType<int>(json, r'videos')!,
 | 
				
			||||||
      );
 | 
					      );
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    return null;
 | 
					    return null;
 | 
				
			||||||
@ -107,8 +107,8 @@ class AssetStatsResponseDto {
 | 
				
			|||||||
  /// The list of required keys that must be present in a JSON.
 | 
					  /// The list of required keys that must be present in a JSON.
 | 
				
			||||||
  static const requiredKeys = <String>{
 | 
					  static const requiredKeys = <String>{
 | 
				
			||||||
    'images',
 | 
					    'images',
 | 
				
			||||||
    'videos',
 | 
					 | 
				
			||||||
    'total',
 | 
					    'total',
 | 
				
			||||||
 | 
					    'videos',
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -21,13 +21,13 @@ void main() {
 | 
				
			|||||||
      // TODO
 | 
					      // TODO
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // int videos
 | 
					    // int total
 | 
				
			||||||
    test('to test the property `videos`', () async {
 | 
					    test('to test the property `total`', () async {
 | 
				
			||||||
      // TODO
 | 
					      // TODO
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // int total
 | 
					    // int videos
 | 
				
			||||||
    test('to test the property `total`', () async {
 | 
					    test('to test the property `videos`', () async {
 | 
				
			||||||
      // TODO
 | 
					      // TODO
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -4973,15 +4973,14 @@
 | 
				
			|||||||
        "type": "object"
 | 
					        "type": "object"
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "AssetStatsResponseDto": {
 | 
					      "AssetStatsResponseDto": {
 | 
				
			||||||
        "type": "object",
 | 
					 | 
				
			||||||
        "properties": {
 | 
					        "properties": {
 | 
				
			||||||
          "images": {
 | 
					          "images": {
 | 
				
			||||||
            "type": "integer"
 | 
					            "type": "integer"
 | 
				
			||||||
          },
 | 
					          },
 | 
				
			||||||
          "videos": {
 | 
					          "total": {
 | 
				
			||||||
            "type": "integer"
 | 
					            "type": "integer"
 | 
				
			||||||
          },
 | 
					          },
 | 
				
			||||||
          "total": {
 | 
					          "videos": {
 | 
				
			||||||
            "type": "integer"
 | 
					            "type": "integer"
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
@ -4989,7 +4988,8 @@
 | 
				
			|||||||
          "images",
 | 
					          "images",
 | 
				
			||||||
          "videos",
 | 
					          "videos",
 | 
				
			||||||
          "total"
 | 
					          "total"
 | 
				
			||||||
        ]
 | 
					        ],
 | 
				
			||||||
 | 
					        "type": "object"
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "AssetTypeEnum": {
 | 
					      "AssetTypeEnum": {
 | 
				
			||||||
        "enum": [
 | 
					        "enum": [
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										4
									
								
								web/src/api/open-api/api.ts
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4
									
								
								web/src/api/open-api/api.ts
									
									
									
										generated
									
									
									
								
							@ -666,13 +666,13 @@ export interface AssetStatsResponseDto {
 | 
				
			|||||||
     * @type {number}
 | 
					     * @type {number}
 | 
				
			||||||
     * @memberof AssetStatsResponseDto
 | 
					     * @memberof AssetStatsResponseDto
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    'videos': number;
 | 
					    'total': number;
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * 
 | 
					     * 
 | 
				
			||||||
     * @type {number}
 | 
					     * @type {number}
 | 
				
			||||||
     * @memberof AssetStatsResponseDto
 | 
					     * @memberof AssetStatsResponseDto
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    'total': number;
 | 
					    'videos': number;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * 
 | 
					 * 
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user