wip: Ai image tagging #10434
Annotations
10 errors
|
next/packages/api-file-manager/__tests__/files.test.ts#L19
AssertionError: expected { data: { fileManager: { …(1) } } } to deeply equal { data: { fileManager: { …(1) } } }
- Expected
+ Received
{
"data": {
"fileManager": {
"createFile": {
+ "data": null,
+ "error": {
+ "code": "CREATE_FILE_ERROR",
"data": {
+ "file": {
"aliases": [],
+ "createdBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
+ "createdOn": "2025-12-09T01:04:08.858Z",
"id": "69377586cc1cac0a0e1eb2d0",
"key": "69377586cc1cac0a0e1eb2d0/filenameA.png",
+ "locale": "en-US",
+ "location": {
+ "folderId": "root",
+ },
+ "meta": {
+ "private": false,
+ },
+ "modifiedBy": null,
+ "modifiedOn": null,
"name": "filenameA.png",
+ "savedBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
+ "savedOn": "2025-12-09T01:04:08.858Z",
"size": 123456,
"tags": [
"sketch",
"file-a",
"webiny",
],
+ "tenant": "root",
"type": "image/png",
+ "webinyVersion": "0.0.0",
},
- "error": null,
+ },
+ "message": "Cannot read properties of undefined (reading 'trigger')",
+ },
},
},
},
}
❯ packages/api-file-manager/__tests__/files.test.ts:19:24
|
|
next/packages/api-file-manager/__tests__/files.test.ts#L19
AssertionError: expected { data: { fileManager: { …(1) } } } to deeply equal { data: { fileManager: { …(1) } } }
- Expected
+ Received
{
"data": {
"fileManager": {
"createFile": {
+ "data": null,
+ "error": {
+ "code": "CREATE_FILE_ERROR",
"data": {
+ "file": {
"aliases": [],
+ "createdBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
+ "createdOn": "2025-12-09T01:04:06.636Z",
"id": "69377586cc1cac0a0e1eb2d0",
"key": "69377586cc1cac0a0e1eb2d0/filenameA.png",
+ "locale": "en-US",
+ "location": {
+ "folderId": "root",
+ },
+ "meta": {
+ "private": false,
+ },
+ "modifiedBy": null,
+ "modifiedOn": null,
"name": "filenameA.png",
+ "savedBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
+ "savedOn": "2025-12-09T01:04:06.636Z",
"size": 123456,
"tags": [
"sketch",
"file-a",
"webiny",
],
+ "tenant": "root",
"type": "image/png",
+ "webinyVersion": "0.0.0",
},
- "error": null,
+ },
+ "message": "Cannot read properties of undefined (reading 'trigger')",
+ },
},
},
},
}
❯ packages/api-file-manager/__tests__/files.test.ts:19:24
|
|
next/packages/api-file-manager/src/createFileManager/files.crud.ts#L113
Error: Cannot read properties of undefined (reading 'trigger')
❯ Object.createFile packages/api-file-manager/src/createFileManager/files.crud.ts:113:23
❯ packages/api-file-manager/__tests__/fileModelModifier.test.ts:31:9
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'CREATE_FILE_ERROR', data: { file: { id: '693775eb8c7cc40af9c8c86d', key: '693775eb8c7cc40af9c8c86d/filenameA.png', name: 'filenameA.png', size: 123456, type: 'image/png', tags: [ 'sketch', 'file-a', 'webiny' ], aliases: [], meta: { private: false }, extensions: { carMake: 'Honda', year: 2018 }, location: { folderId: 'root' }, createdOn: '2025-12-09T01:05:47.821Z', modifiedOn: null, savedOn: '2025-12-09T01:05:47.821Z', createdBy: { id: '12345678', displayName: 'John Doe', type: 'admin' }, modifiedBy: null, savedBy: { id: '12345678', displayName: 'John Doe', type: 'admin' }, tenant: 'root', locale: 'en-US', webinyVersion: '0.0.0' } } }
|
|
next/packages/api-file-manager/__tests__/file.lifecycle.test.ts#L195
TypeError: Cannot read properties of null (reading 'id')
❯ packages/api-file-manager/__tests__/file.lifecycle.test.ts:195:68
|
|
next/packages/api-file-manager/__tests__/file.lifecycle.test.ts#L112
TypeError: Cannot read properties of null (reading 'id')
❯ packages/api-file-manager/__tests__/file.lifecycle.test.ts:112:68
|
|
next/packages/api-file-manager/__tests__/file.lifecycle.test.ts#L59
AssertionError: expected { data: { fileManager: { …(1) } } } to deeply equal { data: { fileManager: { …(1) } } }
- Expected
+ Received
{
"data": {
"fileManager": {
"createFile": {
+ "data": null,
+ "error": {
+ "code": "CREATE_FILE_ERROR",
"data": {
+ "file": {
"aliases": [],
- "id": Any<String>,
+ "createdBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
+ "createdOn": "2025-12-09T01:05:18.046Z",
+ "id": "693775cdf883d60a5168eac3",
"key": "693775cdf883d60a5168eac3/filenameA.png",
+ "locale": "en-US",
+ "location": {
+ "folderId": "root",
+ },
+ "meta": {
+ "private": false,
+ },
+ "modifiedBy": null,
+ "modifiedOn": null,
"name": "filenameA.png",
+ "savedBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
+ "savedOn": "2025-12-09T01:05:18.046Z",
"size": 123456,
"tags": [
"sketch",
],
+ "tenant": "root",
"type": "image/png",
+ "webinyVersion": "0.0.0",
},
- "error": null,
+ },
+ "message": "Cannot read properties of undefined (reading 'trigger')",
+ },
},
},
},
}
❯ packages/api-file-manager/__tests__/file.lifecycle.test.ts:59:32
|
|
next/packages/api-file-manager/__tests__/file.extensions.test.ts#L78
AssertionError: expected { data: { fileManager: { …(1) } } } to deeply equal { data: { fileManager: { …(1) } } }
- Expected
+ Received
{
"data": {
"fileManager": {
"createFile": {
+ "data": null,
+ "error": {
+ "code": "CREATE_FILE_ERROR",
"data": {
+ "file": {
"aliases": [],
+ "createdBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
+ "createdOn": "2025-12-09T01:05:29.219Z",
"extensions": {
"aDateTime": "2020-01-01T00:00:00.000Z",
"article": {
+ "entryId": "abcdefg",
"id": "abcdefg#0001",
"modelId": "article",
},
"carMake": "Honda",
"year": 2018,
},
"id": "693775d8bcf3e90a83e6f6ca",
"key": "693775d8bcf3e90a83e6f6ca/filenameA.png",
+ "locale": "en-US",
+ "location": {
+ "folderId": "root",
+ },
+ "meta": {
+ "private": false,
+ },
+ "modifiedBy": null,
+ "modifiedOn": null,
"name": "filenameA.png",
+ "savedBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
+ "savedOn": "2025-12-09T01:05:29.219Z",
"size": 123456,
"tags": [
"sketch",
"file-a",
"webiny",
],
+ "tenant": "root",
"type": "image/png",
+ "webinyVersion": "0.0.0",
},
- "error": null,
+ },
+ "message": "Cannot read properties of undefined (reading 'trigger')",
+ },
},
},
},
}
❯ packages/api-file-manager/__tests__/file.extensions.test.ts:78:33
|
|
next/packages/api-file-manager/__tests__/file.customIdentities.test.ts#L81
TypeError: Cannot read properties of null (reading 'id')
❯ packages/api-file-manager/__tests__/file.customIdentities.test.ts:81:68
|
|
next/packages/api-file-manager/__tests__/file.customIdentities.test.ts#L30
AssertionError: expected { data: { fileManager: { …(1) } } } to deeply equal { data: { fileManager: { …(1) } } }
- Expected
+ Received
{
"data": {
"fileManager": {
"createFile": {
+ "data": null,
+ "error": {
+ "code": "CREATE_FILE_ERROR",
"data": {
+ "file": {
"aliases": [],
"createdBy": {
"displayName": "John Doe",
"id": "12345678",
"type": "admin",
},
+ "createdOn": "2025-12-09T01:05:33.386Z",
"id": "693775dd62eefd0a9ad8807e",
"key": "693775dd62eefd0a9ad8807e/filenameA.png",
+ "locale": "en-US",
+ "location": {
+ "folderId": "root",
+ },
+ "meta": {
+ "private": false,
+ },
"modifiedBy": null,
+ "modifiedOn": null,
"name": "filenameA.png",
+ "savedBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
+ "savedOn": "2025-12-09T01:05:33.386Z",
"size": 123456,
"tags": [
"sketch",
"file-a",
"webiny",
],
+ "tenant": "root",
"type": "image/png",
+ "webinyVersion": "0.0.0",
+ },
},
- "error": null,
+ "message": "Cannot read properties of undefined (reading 'trigger')",
+ },
},
},
},
}
❯ packages/api-file-manager/__tests__/file.customIdentities.test.ts:30:39
|
|
next/packages/api-file-manager/__tests__/file.customDates.test.ts#L19
AssertionError: expected { data: { fileManager: { …(1) } } } to deeply equal { data: { fileManager: { …(1) } } }
- Expected
+ Received
{
"data": {
"fileManager": {
"createFile": {
+ "data": null,
+ "error": {
+ "code": "CREATE_FILE_ERROR",
"data": {
+ "file": {
"aliases": [],
+ "createdBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
"createdOn": "1995-01-01T00:00:00.000Z",
"id": "693775e747cbad0ae1786335",
"key": "693775e747cbad0ae1786335/filenameA.png",
+ "locale": "en-US",
+ "location": {
+ "folderId": "root",
+ },
+ "meta": {
+ "private": false,
+ },
+ "modifiedBy": null,
+ "modifiedOn": null,
"name": "filenameA.png",
+ "savedBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
"savedOn": "1995-01-01T00:00:00.000Z",
"size": 123456,
"tags": [
"sketch",
"file-a",
"webiny",
],
+ "tenant": "root",
"type": "image/png",
+ "webinyVersion": "0.0.0",
},
- "error": null,
+ },
+ "message": "Cannot read properties of undefined (reading 'trigger')",
+ },
},
},
},
}
❯ packages/api-file-manager/__tests__/file.customDates.test.ts:19:32
|
The logs for this run have expired and are no longer available.
Loading