mirror of
https://github.com/immich-app/immich.git
synced 2025-12-12 15:50:43 -08:00
feat(web): use timeline in geolocation manager (#21492)
This commit is contained in:
@@ -8895,6 +8895,15 @@
|
||||
"$ref": "#/components/schemas/AssetVisibility"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "withCoordinates",
|
||||
"required": false,
|
||||
"in": "query",
|
||||
"description": "Include location data in the response",
|
||||
"schema": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "withPartners",
|
||||
"required": false,
|
||||
@@ -9040,6 +9049,15 @@
|
||||
"$ref": "#/components/schemas/AssetVisibility"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "withCoordinates",
|
||||
"required": false,
|
||||
"in": "query",
|
||||
"description": "Include location data in the response",
|
||||
"schema": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "withPartners",
|
||||
"required": false,
|
||||
@@ -17066,6 +17084,14 @@
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"latitude": {
|
||||
"description": "Array of latitude coordinates extracted from EXIF GPS data",
|
||||
"items": {
|
||||
"nullable": true,
|
||||
"type": "number"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"livePhotoVideoId": {
|
||||
"description": "Array of live photo video asset IDs (null for non-live photos)",
|
||||
"items": {
|
||||
@@ -17081,6 +17107,14 @@
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"longitude": {
|
||||
"description": "Array of longitude coordinates extracted from EXIF GPS data",
|
||||
"items": {
|
||||
"nullable": true,
|
||||
"type": "number"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"ownerId": {
|
||||
"description": "Array of owner IDs for each asset",
|
||||
"items": {
|
||||
|
||||
@@ -1561,10 +1561,14 @@ export type TimeBucketAssetResponseDto = {
|
||||
isImage: boolean[];
|
||||
/** Array indicating whether each asset is in the trash */
|
||||
isTrashed: boolean[];
|
||||
/** Array of latitude coordinates extracted from EXIF GPS data */
|
||||
latitude?: (number | null)[];
|
||||
/** Array of live photo video asset IDs (null for non-live photos) */
|
||||
livePhotoVideoId: (string | null)[];
|
||||
/** Array of UTC offset hours at the time each photo was taken. Positive values are east of UTC, negative values are west of UTC. Values may be fractional (e.g., 5.5 for +05:30, -9.75 for -09:45). Applying this offset to 'fileCreatedAt' will give you the time the photo was taken from the photographer's perspective. */
|
||||
localOffsetHours: number[];
|
||||
/** Array of longitude coordinates extracted from EXIF GPS data */
|
||||
longitude?: (number | null)[];
|
||||
/** Array of owner IDs for each asset */
|
||||
ownerId: string[];
|
||||
/** Array of projection types for 360° content (e.g., "EQUIRECTANGULAR", "CUBEFACE", "CYLINDRICAL") */
|
||||
@@ -4293,7 +4297,7 @@ export function tagAssets({ id, bulkIdsDto }: {
|
||||
/**
|
||||
* This endpoint requires the `asset.read` permission.
|
||||
*/
|
||||
export function getTimeBucket({ albumId, isFavorite, isTrashed, key, order, personId, slug, tagId, timeBucket, userId, visibility, withPartners, withStacked }: {
|
||||
export function getTimeBucket({ albumId, isFavorite, isTrashed, key, order, personId, slug, tagId, timeBucket, userId, visibility, withCoordinates, withPartners, withStacked }: {
|
||||
albumId?: string;
|
||||
isFavorite?: boolean;
|
||||
isTrashed?: boolean;
|
||||
@@ -4305,6 +4309,7 @@ export function getTimeBucket({ albumId, isFavorite, isTrashed, key, order, pers
|
||||
timeBucket: string;
|
||||
userId?: string;
|
||||
visibility?: AssetVisibility;
|
||||
withCoordinates?: boolean;
|
||||
withPartners?: boolean;
|
||||
withStacked?: boolean;
|
||||
}, opts?: Oazapfts.RequestOpts) {
|
||||
@@ -4323,6 +4328,7 @@ export function getTimeBucket({ albumId, isFavorite, isTrashed, key, order, pers
|
||||
timeBucket,
|
||||
userId,
|
||||
visibility,
|
||||
withCoordinates,
|
||||
withPartners,
|
||||
withStacked
|
||||
}))}`, {
|
||||
@@ -4332,7 +4338,7 @@ export function getTimeBucket({ albumId, isFavorite, isTrashed, key, order, pers
|
||||
/**
|
||||
* This endpoint requires the `asset.read` permission.
|
||||
*/
|
||||
export function getTimeBuckets({ albumId, isFavorite, isTrashed, key, order, personId, slug, tagId, userId, visibility, withPartners, withStacked }: {
|
||||
export function getTimeBuckets({ albumId, isFavorite, isTrashed, key, order, personId, slug, tagId, userId, visibility, withCoordinates, withPartners, withStacked }: {
|
||||
albumId?: string;
|
||||
isFavorite?: boolean;
|
||||
isTrashed?: boolean;
|
||||
@@ -4343,6 +4349,7 @@ export function getTimeBuckets({ albumId, isFavorite, isTrashed, key, order, per
|
||||
tagId?: string;
|
||||
userId?: string;
|
||||
visibility?: AssetVisibility;
|
||||
withCoordinates?: boolean;
|
||||
withPartners?: boolean;
|
||||
withStacked?: boolean;
|
||||
}, opts?: Oazapfts.RequestOpts) {
|
||||
@@ -4360,6 +4367,7 @@ export function getTimeBuckets({ albumId, isFavorite, isTrashed, key, order, per
|
||||
tagId,
|
||||
userId,
|
||||
visibility,
|
||||
withCoordinates,
|
||||
withPartners,
|
||||
withStacked
|
||||
}))}`, {
|
||||
|
||||
Reference in New Issue
Block a user