chore!: duration in milliseconds (#28003)

* server changes

* openapi

* web changes

* mobile changes

* assume 3.0 client

* deprecate

* review feedback

* update medium tests

* linting
This commit is contained in:
Mert
2026-04-30 09:44:27 -04:00
committed by GitHub
parent 97c62136b7
commit b554664791
44 changed files with 1092 additions and 335 deletions
+5 -5
View File
@@ -50,7 +50,7 @@ describe('utils', () => {
originalPath: 'image.gif',
originalMimeType: 'image/gif',
type: AssetTypeEnum.Image,
duration: '2.0',
duration: 2000,
});
const url = getAssetUrl({ asset });
@@ -65,7 +65,7 @@ describe('utils', () => {
originalPath: 'image.webp',
originalMimeType: 'image/webp',
type: AssetTypeEnum.Image,
duration: '2.0',
duration: 2000,
});
const url = getAssetUrl({ asset });
@@ -119,7 +119,7 @@ describe('utils', () => {
originalPath: 'image.gif',
originalMimeType: 'image/gif',
type: AssetTypeEnum.Image,
duration: '2.0',
duration: 2000,
});
const sharedLink = sharedLinkFactory.build({ allowDownload: true, showMetadata: true, assets: [asset] });
@@ -134,7 +134,7 @@ describe('utils', () => {
originalPath: 'image.gif',
originalMimeType: 'image/gif',
type: AssetTypeEnum.Image,
duration: '2.0',
duration: 2000,
});
const sharedLink = sharedLinkFactory.build({ allowDownload: false, assets: [asset] });
@@ -150,7 +150,7 @@ describe('utils', () => {
originalPath: 'image.gif',
originalMimeType: 'image/gif',
type: AssetTypeEnum.Image,
duration: '2.0',
duration: 2000,
});
const sharedLink = sharedLinkFactory.build({ showMetadata: false, assets: [asset] });