mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-20 09:50:14 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ede52e5009 | ||
|
|
ddbf897b27 | ||
|
|
7d56b5bf90 | ||
|
|
87e88396d1 | ||
|
|
c5b57ca862 | ||
|
|
3420d848cb |
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@shumai/agent-app",
|
||||
"version": "0.4.4",
|
||||
"version": "0.4.5",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"bin": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@shumai/cli",
|
||||
"version": "0.4.4",
|
||||
"version": "0.4.5",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"bin": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@shumai/transcode-app",
|
||||
"version": "0.4.4",
|
||||
"version": "0.4.5",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"bin": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@shumai/web-app",
|
||||
"version": "0.4.4",
|
||||
"version": "0.4.5",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
},
|
||||
"apps/agent": {
|
||||
"name": "@shumai/agent-app",
|
||||
"version": "0.4.4",
|
||||
"version": "0.4.5",
|
||||
"bin": {
|
||||
"shumai-agent": "./src/index.ts",
|
||||
},
|
||||
@@ -45,7 +45,7 @@
|
||||
},
|
||||
"apps/cli": {
|
||||
"name": "@shumai/cli",
|
||||
"version": "0.4.4",
|
||||
"version": "0.4.5",
|
||||
"bin": {
|
||||
"shumai-cli": "./src/index.ts",
|
||||
},
|
||||
@@ -60,7 +60,7 @@
|
||||
},
|
||||
"apps/transcode": {
|
||||
"name": "@shumai/transcode-app",
|
||||
"version": "0.4.4",
|
||||
"version": "0.4.5",
|
||||
"bin": {
|
||||
"shumai-transcode": "./src/index.ts",
|
||||
},
|
||||
@@ -72,7 +72,7 @@
|
||||
},
|
||||
"apps/web": {
|
||||
"name": "@shumai/web-app",
|
||||
"version": "0.4.4",
|
||||
"version": "0.4.5",
|
||||
"dependencies": {
|
||||
"@shumai/agent": "workspace:*",
|
||||
"@shumai/api": "workspace:*",
|
||||
@@ -92,7 +92,7 @@
|
||||
},
|
||||
"packages/agent": {
|
||||
"name": "@shumai/agent",
|
||||
"version": "0.4.4",
|
||||
"version": "0.4.5",
|
||||
"dependencies": {
|
||||
"@anthropic-ai/sandbox-runtime": "0.0.74",
|
||||
"@earendil-works/pi-agent-core": "0.82.1",
|
||||
@@ -117,7 +117,7 @@
|
||||
},
|
||||
"packages/api": {
|
||||
"name": "@shumai/api",
|
||||
"version": "0.4.4",
|
||||
"version": "0.4.5",
|
||||
"dependencies": {
|
||||
"@hono/zod-validator": "0.7.6",
|
||||
"@shumai/core": "workspace:*",
|
||||
@@ -131,7 +131,7 @@
|
||||
},
|
||||
"packages/core": {
|
||||
"name": "@shumai/core",
|
||||
"version": "0.4.4",
|
||||
"version": "0.4.5",
|
||||
"dependencies": {
|
||||
"@ai-sdk/alibaba": "2.0.38",
|
||||
"@ai-sdk/amazon-bedrock": "5.0.67",
|
||||
@@ -188,7 +188,7 @@
|
||||
},
|
||||
"packages/db": {
|
||||
"name": "@shumai/db",
|
||||
"version": "0.4.4",
|
||||
"version": "0.4.5",
|
||||
"dependencies": {
|
||||
"@earendil-works/pi-agent-core": "0.82.1",
|
||||
"@prisma/adapter-pg": "7.10.0",
|
||||
@@ -204,7 +204,7 @@
|
||||
},
|
||||
"packages/dtos": {
|
||||
"name": "@shumai/dtos",
|
||||
"version": "0.4.4",
|
||||
"version": "0.4.5",
|
||||
"dependencies": {
|
||||
"@earendil-works/pi-agent-core": "0.82.1",
|
||||
"zod": "4.5.4",
|
||||
@@ -212,7 +212,7 @@
|
||||
},
|
||||
"packages/e2e": {
|
||||
"name": "@shumai/e2e",
|
||||
"version": "0.4.4",
|
||||
"version": "0.4.5",
|
||||
"dependencies": {
|
||||
"@earendil-works/pi-agent-core": "0.82.1",
|
||||
"@google/genai": "2.19.0",
|
||||
@@ -227,11 +227,11 @@
|
||||
},
|
||||
"packages/tableprinter": {
|
||||
"name": "@shumai/tableprinter",
|
||||
"version": "0.4.4",
|
||||
"version": "0.4.5",
|
||||
},
|
||||
"packages/transcode": {
|
||||
"name": "@shumai/transcode",
|
||||
"version": "0.4.4",
|
||||
"version": "0.4.5",
|
||||
"dependencies": {
|
||||
"@shumai/core": "workspace:*",
|
||||
"@shumai/db": "workspace:*",
|
||||
@@ -245,7 +245,7 @@
|
||||
},
|
||||
"packages/webui": {
|
||||
"name": "@shumai/webui",
|
||||
"version": "0.4.4",
|
||||
"version": "0.4.5",
|
||||
"dependencies": {
|
||||
"@base-ui/react": "1.7.0",
|
||||
"@dnd-kit/abstract": "0.5.0",
|
||||
@@ -346,7 +346,7 @@
|
||||
},
|
||||
"packages/workflow-core": {
|
||||
"name": "@shumai/workflow-core",
|
||||
"version": "0.4.4",
|
||||
"version": "0.4.5",
|
||||
"dependencies": {
|
||||
"@shumai/core": "workspace:*",
|
||||
"@shumai/db": "workspace:*",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "shumai",
|
||||
"version": "0.4.4",
|
||||
"version": "0.4.5",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"repository": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@shumai/agent",
|
||||
"version": "0.4.4",
|
||||
"version": "0.4.5",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"main": "./src/index.ts",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@shumai/api",
|
||||
"version": "0.4.4",
|
||||
"version": "0.4.5",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"main": "./src/index.ts",
|
||||
|
||||
@@ -70,6 +70,7 @@ describe('file api', () => {
|
||||
assetId: 'file1',
|
||||
} as unknown as Awaited<ReturnType<typeof assetService.getComment>>)
|
||||
vi.spyOn(assetService, 'listComments').mockImplementation(vi.fn())
|
||||
vi.spyOn(assetService, 'exportComments').mockImplementation(vi.fn())
|
||||
vi.spyOn(assetService, 'restoreAssets').mockImplementation(vi.fn())
|
||||
vi.spyOn(metadataService, 'updateAssetMetadata').mockImplementation(vi.fn())
|
||||
vi.spyOn(notificationService, 'create').mockImplementation(vi.fn())
|
||||
@@ -350,6 +351,111 @@ describe('file api', () => {
|
||||
})
|
||||
})
|
||||
|
||||
it('POST /files/:fileId/comments/export - success', async () => {
|
||||
vi.mocked(assetService.exportComments).mockResolvedValue({
|
||||
content: 'TITLE: test\n001 ...',
|
||||
filename: 'test-video_comments.edl',
|
||||
mimeType: 'application/edl',
|
||||
})
|
||||
|
||||
const app = new Hono().use('*', authMiddleware).route('/', fileRoute)
|
||||
const res = await app.request('/files/test-id/comments/export', {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify({ format: 'resolve-edl' }),
|
||||
})
|
||||
|
||||
expect(res.status).toBe(200)
|
||||
expect(res.headers.get('Content-Disposition')).toBe(
|
||||
'attachment; filename="test-video_comments.edl"; filename*=UTF-8\'\'test-video_comments.edl',
|
||||
)
|
||||
expect(res.headers.get('Content-Type')).toBe('application/edl')
|
||||
const body = await res.text()
|
||||
expect(body).toBe('TITLE: test\n001 ...')
|
||||
|
||||
expect(authzService.hasPermission).toHaveBeenCalledWith({
|
||||
user: { id: 'user1', name: 'Test User' },
|
||||
permission: Permission.Read,
|
||||
type: ResourceType.Asset,
|
||||
id: 'test-id',
|
||||
})
|
||||
|
||||
expect(assetService.exportComments).toHaveBeenCalledWith('test-id', 'resolve-edl', {
|
||||
timeZone: undefined,
|
||||
})
|
||||
})
|
||||
|
||||
it('POST /files/:fileId/comments/export - handles CJK filename in Content-Disposition', async () => {
|
||||
vi.mocked(assetService.exportComments).mockResolvedValue({
|
||||
content: 'TITLE: 中文视频\n001 ...',
|
||||
filename: '宣传片_2026_resolve.edl',
|
||||
mimeType: 'text/plain; charset=utf-8',
|
||||
})
|
||||
|
||||
const app = new Hono().use('*', authMiddleware).route('/', fileRoute)
|
||||
const res = await app.request('/files/test-id/comments/export', {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify({ format: 'resolve-edl' }),
|
||||
})
|
||||
|
||||
expect(res.status).toBe(200)
|
||||
expect(res.headers.get('Content-Disposition')).toBe(
|
||||
`attachment; filename*=UTF-8''${encodeURIComponent('宣传片_2026_resolve.edl')}`,
|
||||
)
|
||||
})
|
||||
|
||||
it('POST /files/:fileId/comments/export - with timezone in body', async () => {
|
||||
vi.mocked(assetService.exportComments).mockResolvedValue({
|
||||
content: '{}',
|
||||
filename: 'test.fiojson',
|
||||
mimeType: 'application/json',
|
||||
})
|
||||
|
||||
const app = new Hono().use('*', authMiddleware).route('/', fileRoute)
|
||||
const res = await app.request('/files/test-id/comments/export', {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify({
|
||||
format: 'fcp-fiojson',
|
||||
timeZone: 'America/New_York',
|
||||
}),
|
||||
})
|
||||
|
||||
expect(res.status).toBe(200)
|
||||
expect(assetService.exportComments).toHaveBeenCalledWith('test-id', 'fcp-fiojson', {
|
||||
timeZone: 'America/New_York',
|
||||
})
|
||||
})
|
||||
|
||||
it('POST /files/:fileId/comments/export - 400 on missing or invalid format', async () => {
|
||||
const app = new Hono().use('*', authMiddleware).route('/', fileRoute)
|
||||
|
||||
const resMissing = await app.request('/files/test-id/comments/export', {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify({}),
|
||||
})
|
||||
expect(resMissing.status).toBe(400)
|
||||
|
||||
const resInvalid = await app.request('/files/test-id/comments/export', {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify({ format: 'invalid-format' }),
|
||||
})
|
||||
expect(resInvalid.status).toBe(400)
|
||||
|
||||
const resInvalidTz = await app.request('/files/test-id/comments/export', {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify({
|
||||
format: 'resolve-edl',
|
||||
timeZone: 'Invalid/Fake_Zone',
|
||||
}),
|
||||
})
|
||||
expect(resInvalidTz.status).toBe(400)
|
||||
})
|
||||
|
||||
it('POST /comments/:commentId/complete', async () => {
|
||||
vi.mocked(assetService.completeComment).mockResolvedValue({
|
||||
id: 'comment-id',
|
||||
|
||||
@@ -17,9 +17,10 @@ import {
|
||||
uploadFileRequestSchema,
|
||||
getDownloadLinksRequestSchema,
|
||||
completeCommentRequestSchema,
|
||||
exportCommentsRequestSchema,
|
||||
AuditAction,
|
||||
} from '@shumai/dtos'
|
||||
import { transcodeService } from '@shumai/core'
|
||||
import { transcodeService, buildContentDisposition } from '@shumai/core'
|
||||
import fs from 'fs'
|
||||
import { Hono } from 'hono'
|
||||
import os from 'os'
|
||||
@@ -227,6 +228,28 @@ const route = new Hono<{ Variables: { user: User } }>()
|
||||
const comments = await assetService.listComments(fileId, req)
|
||||
return c.json(comments)
|
||||
})
|
||||
.post(
|
||||
'/files/:fileId/comments/export',
|
||||
zValidator('json', exportCommentsRequestSchema),
|
||||
async (c) => {
|
||||
const fileId = c.req.param('fileId')
|
||||
const user = c.get('user')
|
||||
const { format, timeZone } = c.req.valid('json')
|
||||
|
||||
await authzService.hasPermission({
|
||||
user,
|
||||
permission: Permission.Read,
|
||||
type: ResourceType.Asset,
|
||||
id: fileId,
|
||||
})
|
||||
|
||||
const result = await assetService.exportComments(fileId, format, { timeZone })
|
||||
|
||||
c.header('Content-Type', result.mimeType)
|
||||
c.header('Content-Disposition', buildContentDisposition(result.filename))
|
||||
return c.body(result.content)
|
||||
},
|
||||
)
|
||||
.post(
|
||||
'/comments/:commentId/complete',
|
||||
zValidator('json', completeCommentRequestSchema),
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@shumai/core",
|
||||
"version": "0.4.4",
|
||||
"version": "0.4.5",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"main": "./src/index.ts",
|
||||
|
||||
@@ -335,10 +335,24 @@ describe('AgentService', () => {
|
||||
providerId: provider.id,
|
||||
modelId: model.id,
|
||||
})
|
||||
expect(agent2!.user.image).toMatch(/^files\/[A-Z0-9]{26}\.webp$/)
|
||||
expect(agent2!.user.image).toBe('files/avatars/avatar-2.webp')
|
||||
expect((agent2!.config as unknown as PrismaJson.AgentConfig).avatarPreset).toBe('avatar-2')
|
||||
const initialKey = agent2!.user.image
|
||||
|
||||
// 1b. Create another agent with the SAME preset avatar (should share identical storage key)
|
||||
const agent2Duplicate = await svc.createAgent({
|
||||
teamId: team.id,
|
||||
name: 'Agent Preset 2 Duplicate',
|
||||
type: 'chat',
|
||||
enabled: true,
|
||||
thinkingLevel: 'off',
|
||||
avatar: 'avatar-2',
|
||||
providerId: provider.id,
|
||||
modelId: model.id,
|
||||
})
|
||||
expect(agent2Duplicate!.user.image).toBe('files/avatars/avatar-2.webp')
|
||||
expect(agent2Duplicate!.user.image).toBe(agent2!.user.image)
|
||||
|
||||
// 2. Create without avatar (should default to avatar-1)
|
||||
const agentDefault = await svc.createAgent({
|
||||
teamId: team.id,
|
||||
@@ -349,7 +363,7 @@ describe('AgentService', () => {
|
||||
providerId: provider.id,
|
||||
modelId: model.id,
|
||||
})
|
||||
expect(agentDefault!.user.image).toMatch(/^files\/[A-Z0-9]{26}\.webp$/)
|
||||
expect(agentDefault!.user.image).toBe('files/avatars/avatar-1.webp')
|
||||
expect((agentDefault!.config as unknown as PrismaJson.AgentConfig).avatarPreset).toBe(
|
||||
'avatar-1',
|
||||
)
|
||||
@@ -368,7 +382,7 @@ describe('AgentService', () => {
|
||||
providerId: provider.id,
|
||||
modelId: model.id,
|
||||
})
|
||||
expect(updatedPreset.user.image).toMatch(/^files\/[A-Z0-9]{26}\.webp$/)
|
||||
expect(updatedPreset.user.image).toBe('files/avatars/avatar-3.webp')
|
||||
expect(updatedPreset.user.image).not.toBe(initialKey)
|
||||
expect((updatedPreset.config as unknown as PrismaJson.AgentConfig).avatarPreset).toBe(
|
||||
'avatar-3',
|
||||
@@ -407,6 +421,19 @@ describe('AgentService', () => {
|
||||
(updatedPresigned.config as unknown as PrismaJson.AgentConfig).avatarPreset,
|
||||
).toBeUndefined()
|
||||
|
||||
// 4b. Update with presigned URL pointing to a preset avatar path
|
||||
const updatedPresignedPreset = await svc.updateAgent({
|
||||
agentId: agent2!.id,
|
||||
name: 'Agent Presigned Preset',
|
||||
type: 'chat',
|
||||
enabled: true,
|
||||
thinkingLevel: 'off',
|
||||
avatar: 'https://shumai.s3.amazonaws.com/files/avatars/avatar-2.webp?foo=bar',
|
||||
providerId: provider.id,
|
||||
modelId: model.id,
|
||||
})
|
||||
expect(updatedPresignedPreset.user.image).toBe('files/avatars/avatar-2.webp')
|
||||
|
||||
// 5. Update without avatar specified (avatar undefined) - preserves image
|
||||
const updatedWithoutAvatar = await svc.updateAgent({
|
||||
agentId: agent2!.id,
|
||||
@@ -417,7 +444,7 @@ describe('AgentService', () => {
|
||||
providerId: provider.id,
|
||||
modelId: model.id,
|
||||
})
|
||||
expect(updatedWithoutAvatar.user.image).toBe('files/01JK23456789ABCDEF01234567.webp')
|
||||
expect(updatedWithoutAvatar.user.image).toBe('files/avatars/avatar-2.webp')
|
||||
})
|
||||
|
||||
test('Delete Agent', async () => {
|
||||
|
||||
@@ -19,8 +19,7 @@ import { s3Service } from '@shumai/core/src/s3/s3'
|
||||
import { getAvatarUrl } from '@shumai/core/src/user/avatar'
|
||||
import { resolveEffectiveRole } from '@shumai/core/src/authz/authz'
|
||||
import { getAllowedAgentRoles } from './permissions'
|
||||
import { ulid } from 'ulid'
|
||||
import { isPresetAvatarId, getPresetAvatarBuffer } from './presets'
|
||||
import { isPresetAvatarId, getPresetAvatarBuffer, getPresetAvatarStorageKey } from './presets'
|
||||
import AdmZip from 'adm-zip'
|
||||
import * as fs from 'fs'
|
||||
import * as path from 'path'
|
||||
@@ -50,7 +49,9 @@ interface AgentInfoSource {
|
||||
|
||||
function extractS3Key(urlOrKey?: string | null): string | null | undefined {
|
||||
if (!urlOrKey) return urlOrKey
|
||||
const match = urlOrKey.match(/files\/[A-Z0-9]{26}(\.[a-zA-Z0-9]+)?/)
|
||||
const match = urlOrKey.match(
|
||||
/(files\/avatars\/[a-zA-Z0-9_-]+\.webp|files\/[A-Z0-9]{26}(\.[a-zA-Z0-9]+)?)/,
|
||||
)
|
||||
return match ? match[0] : urlOrKey
|
||||
}
|
||||
|
||||
@@ -190,7 +191,7 @@ export class AgentService {
|
||||
const buffer = getPresetAvatarBuffer(targetAvatar)
|
||||
if (buffer) {
|
||||
const bucket = process.env.S3_BUCKET || 'shumai'
|
||||
const key = `files/${ulid()}.webp`
|
||||
const key = getPresetAvatarStorageKey(targetAvatar)
|
||||
await s3Service.putObject(bucket, key, buffer, buffer.length, 'image/webp')
|
||||
imageKey = key
|
||||
}
|
||||
@@ -335,7 +336,7 @@ export class AgentService {
|
||||
const buffer = getPresetAvatarBuffer(avatar)
|
||||
if (buffer) {
|
||||
const bucket = process.env.S3_BUCKET || 'shumai'
|
||||
const key = `files/${ulid()}.webp`
|
||||
const key = getPresetAvatarStorageKey(avatar)
|
||||
await s3Service.putObject(bucket, key, buffer, buffer.length, 'image/webp')
|
||||
imageKey = key
|
||||
newAvatarPreset = avatar
|
||||
|
||||
@@ -88,7 +88,7 @@ describe('migrateLegacyAgentAvatars', () => {
|
||||
const updatedAgent = await prisma.user.findUnique({
|
||||
where: { id: agentUser.id },
|
||||
})
|
||||
expect(updatedAgent?.image).toMatch(/^files\/[A-Z0-9]{26}\.webp$/)
|
||||
expect(updatedAgent?.image).toBe('files/avatars/avatar-1.webp')
|
||||
|
||||
const updatedAgentRecord = await prisma.agent.findUnique({
|
||||
where: { id: agentUser.id },
|
||||
|
||||
@@ -2,7 +2,12 @@ import { prisma } from '@shumai/db'
|
||||
import { s3Service } from '@shumai/core/src/s3/s3'
|
||||
import { logger } from '@shumai/core/src/logger'
|
||||
import { ulid } from 'ulid'
|
||||
import { PRESET_AVATAR_IDS, getPresetAvatarBuffer } from './presets'
|
||||
import {
|
||||
PRESET_AVATAR_IDS,
|
||||
getPresetAvatarBuffer,
|
||||
getPresetAvatarStorageKey,
|
||||
type PresetAvatarId,
|
||||
} from './presets'
|
||||
|
||||
export async function migrateLegacyAgentAvatars(
|
||||
client: typeof prisma = prisma,
|
||||
@@ -58,7 +63,9 @@ export async function migrateLegacyAgentAvatars(
|
||||
}
|
||||
}
|
||||
|
||||
const key = `files/${ulid()}.${ext}`
|
||||
const key = matchedPresetId
|
||||
? getPresetAvatarStorageKey(matchedPresetId as PresetAvatarId)
|
||||
: `files/${ulid()}.${ext}`
|
||||
await s3Service.putObject(bucket, key, buffer, buffer.length, contentType)
|
||||
|
||||
await client.user.update({
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { describe, expect, it } from 'vitest'
|
||||
import {
|
||||
getPresetAvatarBuffer,
|
||||
getPresetAvatarStorageKey,
|
||||
isPresetAvatarId,
|
||||
PRESET_AVATAR_IDS,
|
||||
type PresetAvatarId,
|
||||
@@ -27,6 +28,12 @@ describe('agent presets', () => {
|
||||
expect(getPresetAvatarBuffer('unknown' as PresetAvatarId)).toBeNull()
|
||||
})
|
||||
|
||||
it('returns deterministic storage key for preset avatars', () => {
|
||||
for (const id of PRESET_AVATAR_IDS) {
|
||||
expect(getPresetAvatarStorageKey(id)).toBe(`files/avatars/${id}.webp`)
|
||||
}
|
||||
})
|
||||
|
||||
it('provides AVAILABLE_AVATARS with 8 previews via dtos', async () => {
|
||||
const { AVAILABLE_AVATARS } = await import('@shumai/dtos')
|
||||
expect(AVAILABLE_AVATARS).toHaveLength(8)
|
||||
|
||||
@@ -7,6 +7,10 @@ import {
|
||||
|
||||
export { PRESET_AVATAR_IDS, type PresetAvatarId, isPresetAvatarId }
|
||||
|
||||
export function getPresetAvatarStorageKey(id: PresetAvatarId): string {
|
||||
return `files/avatars/${id}.webp`
|
||||
}
|
||||
|
||||
const bufferCache = new Map<PresetAvatarId, Buffer>()
|
||||
|
||||
export function getPresetAvatarBuffer(id: PresetAvatarId): Buffer | null {
|
||||
|
||||
@@ -1117,6 +1117,91 @@ describe('AssetService', () => {
|
||||
expect(incompleted.completionLastChangedBy?.id).toBe(user.id)
|
||||
})
|
||||
|
||||
it('can export comments in all supported NLE formats', async () => {
|
||||
const { user, assets } = await setupBasicAssets()
|
||||
|
||||
// Update asset media metadata with video frameRate and duration
|
||||
await prisma.asset.update({
|
||||
where: { id: assets.fileA1.id },
|
||||
data: {
|
||||
media: {
|
||||
duration: 10,
|
||||
filesize: 1024,
|
||||
frames: 240,
|
||||
finishedAt: new Date().toISOString(),
|
||||
imageTranscodes: [],
|
||||
videoTranscodes: [],
|
||||
metadata: {
|
||||
frameRate: 24,
|
||||
duration: 10,
|
||||
totalFrames: 240,
|
||||
originalWidth: 1920,
|
||||
originalHeight: 1080,
|
||||
hasAudio: true,
|
||||
bitRate: 5000,
|
||||
startTimecode: '00:00:00:00',
|
||||
format: 'mp4',
|
||||
},
|
||||
original: null,
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
const rootComment = await assetService.createComment({
|
||||
assetId: assets.fileA1.id,
|
||||
userId: user.id,
|
||||
message: 'First scene looks great',
|
||||
second: 2.5,
|
||||
attachmentIds: [],
|
||||
})
|
||||
|
||||
await assetService.createComment({
|
||||
assetId: assets.fileA1.id,
|
||||
userId: user.id,
|
||||
message: 'Agreed!',
|
||||
replyToId: rootComment.id,
|
||||
attachmentIds: [],
|
||||
})
|
||||
|
||||
await assetService.createComment({
|
||||
assetId: assets.fileA1.id,
|
||||
userId: user.id,
|
||||
message: 'General feedback without timestamp',
|
||||
attachmentIds: [],
|
||||
})
|
||||
|
||||
// Test resolve-edl
|
||||
const edl = await assetService.exportComments(assets.fileA1.id, 'resolve-edl')
|
||||
expect(edl.filename.endsWith('_resolve.edl')).toBe(true)
|
||||
expect(edl.mimeType).toBe('text/plain; charset=utf-8')
|
||||
expect(edl.content).toContain('TITLE:')
|
||||
expect(edl.content).toContain('First scene looks great')
|
||||
expect(edl.content).toContain('^ Agreed!')
|
||||
expect(edl.content).toContain('General feedback without timestamp')
|
||||
|
||||
// Test premiere-xml
|
||||
const ppro = await assetService.exportComments(assets.fileA1.id, 'premiere-xml')
|
||||
expect(ppro.filename.endsWith('_premiere.xml')).toBe(true)
|
||||
expect(ppro.mimeType).toBe('application/xml; charset=utf-8')
|
||||
expect(ppro.content).toContain('<xmeml version="4">')
|
||||
expect(ppro.content).toContain('<comment>First scene looks great</comment>')
|
||||
expect(ppro.content).toContain('<comment>Agreed!</comment>')
|
||||
|
||||
// Test media-composer-xml
|
||||
const mc = await assetService.exportComments(assets.fileA1.id, 'media-composer-xml')
|
||||
expect(mc.filename.endsWith('_media-composer.xml')).toBe(true)
|
||||
expect(mc.mimeType).toBe('application/xml; charset=utf-8')
|
||||
expect(mc.content).toContain('<Avid:StreamItems')
|
||||
expect(mc.content).toContain('First scene looks great')
|
||||
|
||||
// Test fcp-fiojson
|
||||
const fcp = await assetService.exportComments(assets.fileA1.id, 'fcp-fiojson')
|
||||
expect(fcp.filename.endsWith('.fiojson')).toBe(true)
|
||||
expect(fcp.mimeType).toBe('application/json; charset=utf-8')
|
||||
const parsedFcp = JSON.parse(fcp.content) as { comments: unknown[] }
|
||||
expect(parsedFcp.comments.length).toBe(3)
|
||||
})
|
||||
|
||||
it('triggers AI workflow on bot mention', async () => {
|
||||
const { user, project } = await setupBasicAssets()
|
||||
|
||||
@@ -4335,4 +4420,194 @@ describe('AssetService — natural sort by name', () => {
|
||||
expect(folderRes.data.length).toBe(1)
|
||||
})
|
||||
})
|
||||
|
||||
describe('commentsCount in toAssetInfos', () => {
|
||||
it('returns commentsCount 0 when file has no comments', async () => {
|
||||
const team = await prisma.team.create({ data: { name: 'Test Team' } })
|
||||
const project = await prisma.project.create({
|
||||
data: { name: 'Test Project', teamId: team.id },
|
||||
})
|
||||
const rootFolder = await prisma.asset.create({
|
||||
data: {
|
||||
name: 'root',
|
||||
type: AssetType.folder,
|
||||
projectId: project.id,
|
||||
status: AssetStatus.uploaded,
|
||||
},
|
||||
})
|
||||
const user = await prisma.user.create({
|
||||
data: { name: 'Test User', email: `test-${Date.now()}@example.com` },
|
||||
})
|
||||
|
||||
const file = await prisma.asset.create({
|
||||
data: {
|
||||
name: 'file.mp4',
|
||||
type: AssetType.file,
|
||||
projectId: project.id,
|
||||
parentId: rootFolder.id,
|
||||
creatorId: user.id,
|
||||
status: AssetStatus.uploaded,
|
||||
},
|
||||
})
|
||||
|
||||
const res = await assetService.listChildren({
|
||||
assetId: rootFolder.id,
|
||||
assetType: 'file',
|
||||
})
|
||||
const fileInfo = res.data.find((a) => a.id === file.id)
|
||||
expect(fileInfo).toBeDefined()
|
||||
expect(fileInfo?.commentsCount).toBe(0)
|
||||
})
|
||||
|
||||
it('returns total comments count including replies for a file', async () => {
|
||||
const team = await prisma.team.create({ data: { name: 'Test Team' } })
|
||||
const project = await prisma.project.create({
|
||||
data: { name: 'Test Project', teamId: team.id },
|
||||
})
|
||||
const rootFolder = await prisma.asset.create({
|
||||
data: {
|
||||
name: 'root',
|
||||
type: AssetType.folder,
|
||||
projectId: project.id,
|
||||
status: AssetStatus.uploaded,
|
||||
},
|
||||
})
|
||||
const user = await prisma.user.create({
|
||||
data: { name: 'Test User', email: `test-${Date.now()}@example.com` },
|
||||
})
|
||||
|
||||
const file = await prisma.asset.create({
|
||||
data: {
|
||||
name: 'video.mp4',
|
||||
type: AssetType.file,
|
||||
projectId: project.id,
|
||||
parentId: rootFolder.id,
|
||||
creatorId: user.id,
|
||||
status: AssetStatus.uploaded,
|
||||
},
|
||||
})
|
||||
|
||||
const rootComment = await prisma.assetComment.create({
|
||||
data: {
|
||||
assetId: file.id,
|
||||
creatorId: user.id,
|
||||
message: 'Root comment 1',
|
||||
},
|
||||
})
|
||||
|
||||
await prisma.assetComment.create({
|
||||
data: {
|
||||
assetId: file.id,
|
||||
creatorId: user.id,
|
||||
message: 'Reply to comment 1',
|
||||
replyToId: rootComment.id,
|
||||
},
|
||||
})
|
||||
|
||||
await prisma.assetComment.create({
|
||||
data: {
|
||||
assetId: file.id,
|
||||
creatorId: user.id,
|
||||
message: 'Root comment 2',
|
||||
},
|
||||
})
|
||||
|
||||
const res = await assetService.listChildren({
|
||||
assetId: rootFolder.id,
|
||||
assetType: 'file',
|
||||
})
|
||||
const fileInfo = res.data.find((a) => a.id === file.id)
|
||||
expect(fileInfo).toBeDefined()
|
||||
expect(fileInfo?.commentsCount).toBe(3)
|
||||
})
|
||||
|
||||
it('returns comments count of the active version for version stack', async () => {
|
||||
const team = await prisma.team.create({ data: { name: 'Test Team' } })
|
||||
const project = await prisma.project.create({
|
||||
data: { name: 'Test Project', teamId: team.id },
|
||||
})
|
||||
const rootFolder = await prisma.asset.create({
|
||||
data: {
|
||||
name: 'root',
|
||||
type: AssetType.folder,
|
||||
projectId: project.id,
|
||||
status: AssetStatus.uploaded,
|
||||
},
|
||||
})
|
||||
const user = await prisma.user.create({
|
||||
data: { name: 'Test User', email: `test-${Date.now()}@example.com` },
|
||||
})
|
||||
|
||||
const stack = await prisma.asset.create({
|
||||
data: {
|
||||
name: 'video_stack',
|
||||
type: AssetType.version_stack,
|
||||
projectId: project.id,
|
||||
parentId: rootFolder.id,
|
||||
creatorId: user.id,
|
||||
status: AssetStatus.uploaded,
|
||||
},
|
||||
})
|
||||
|
||||
// Older version (v1): larger sortIndex
|
||||
const fileV1 = await prisma.asset.create({
|
||||
data: {
|
||||
name: 'video_v1.mp4',
|
||||
type: AssetType.file,
|
||||
projectId: project.id,
|
||||
parentId: stack.id,
|
||||
creatorId: user.id,
|
||||
status: AssetStatus.uploaded,
|
||||
sortIndex: 'b',
|
||||
},
|
||||
})
|
||||
|
||||
// Active / latest version (v2): smaller sortIndex
|
||||
const fileV2 = await prisma.asset.create({
|
||||
data: {
|
||||
name: 'video_v2.mp4',
|
||||
type: AssetType.file,
|
||||
projectId: project.id,
|
||||
parentId: stack.id,
|
||||
creatorId: user.id,
|
||||
status: AssetStatus.uploaded,
|
||||
sortIndex: 'a',
|
||||
},
|
||||
})
|
||||
|
||||
// Add 2 comments to v1
|
||||
await prisma.assetComment.create({
|
||||
data: {
|
||||
assetId: fileV1.id,
|
||||
creatorId: user.id,
|
||||
message: 'Comment on v1',
|
||||
},
|
||||
})
|
||||
await prisma.assetComment.create({
|
||||
data: {
|
||||
assetId: fileV1.id,
|
||||
creatorId: user.id,
|
||||
message: 'Another comment on v1',
|
||||
},
|
||||
})
|
||||
|
||||
// Add 1 comment to v2 (active version)
|
||||
await prisma.assetComment.create({
|
||||
data: {
|
||||
assetId: fileV2.id,
|
||||
creatorId: user.id,
|
||||
message: 'Comment on v2',
|
||||
},
|
||||
})
|
||||
|
||||
const res = await assetService.listChildren({
|
||||
assetId: rootFolder.id,
|
||||
assetType: 'file',
|
||||
})
|
||||
const stackInfo = res.data.find((a) => a.id === stack.id)
|
||||
expect(stackInfo).toBeDefined()
|
||||
// Should reflect active version (v2) comments count
|
||||
expect(stackInfo?.commentsCount).toBe(1)
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
@@ -17,7 +17,15 @@ import {
|
||||
UpdateAssetOrderRequest,
|
||||
AssetUserInfo,
|
||||
ListRecentsRequest,
|
||||
CommentExportFormat,
|
||||
} from '@shumai/dtos'
|
||||
import {
|
||||
exportCommentsToFormat,
|
||||
type ExportAssetMetadata,
|
||||
type ExportCommentItem,
|
||||
type ExportOptions,
|
||||
type ExportResult,
|
||||
} from './comments-export'
|
||||
import { type Asset, AssetStatus, AssetType, Prisma, type StorageKey } from '@shumai/db'
|
||||
import { HTTPException } from 'hono/http-exception'
|
||||
import { logger } from '@shumai/core/src/logger'
|
||||
@@ -1862,6 +1870,101 @@ export class AssetService {
|
||||
return { data: infos, pageInfo }
|
||||
}
|
||||
|
||||
async exportComments(
|
||||
assetId: string,
|
||||
format: CommentExportFormat,
|
||||
options?: ExportOptions,
|
||||
): Promise<ExportResult> {
|
||||
const resolvedAssetId = await this.resolveLatestVersionId(assetId)
|
||||
|
||||
const asset = await this.prismaClient.asset.findUnique({
|
||||
where: { id: resolvedAssetId },
|
||||
include: {
|
||||
creator: true,
|
||||
},
|
||||
})
|
||||
|
||||
if (!asset) {
|
||||
throw new HTTPException(404, { message: 'Asset not found' })
|
||||
}
|
||||
|
||||
const rawComments = await this.prismaClient.assetComment.findMany({
|
||||
where: { assetId: resolvedAssetId, replyToId: null },
|
||||
include: {
|
||||
creator: true,
|
||||
replies: {
|
||||
include: {
|
||||
creator: true,
|
||||
},
|
||||
orderBy: { id: 'asc' },
|
||||
},
|
||||
},
|
||||
orderBy: { id: 'asc' },
|
||||
})
|
||||
|
||||
const comments: ExportCommentItem[] = await Promise.all(
|
||||
rawComments.map(async (c) => {
|
||||
const creatorImage = c.creator ? await getAvatarUrl(c.creator.image) : null
|
||||
const replies: ExportCommentItem[] = await Promise.all(
|
||||
(c.replies || []).map(async (r) => {
|
||||
const replyCreatorImage = r.creator ? await getAvatarUrl(r.creator.image) : null
|
||||
return {
|
||||
id: r.id,
|
||||
message: r.message,
|
||||
second: r.second,
|
||||
createdAt: r.createdAt,
|
||||
isCompleted: r.isCompleted,
|
||||
creator: {
|
||||
id: r.creator?.id || '',
|
||||
name: r.creator?.name || 'Anonymous',
|
||||
image: replyCreatorImage || null,
|
||||
},
|
||||
annotations: r.annotation,
|
||||
}
|
||||
}),
|
||||
)
|
||||
|
||||
return {
|
||||
id: c.id,
|
||||
message: c.message,
|
||||
second: c.second,
|
||||
createdAt: c.createdAt,
|
||||
isCompleted: c.isCompleted,
|
||||
creator: {
|
||||
id: c.creator?.id || '',
|
||||
name: c.creator?.name || 'Anonymous',
|
||||
image: creatorImage || null,
|
||||
},
|
||||
annotations: c.annotation,
|
||||
replies,
|
||||
}
|
||||
}),
|
||||
)
|
||||
|
||||
const media = asset.media as PrismaJson.MediaInfo | null
|
||||
const fps = media?.metadata?.frameRate || 24
|
||||
const duration = media?.metadata?.duration || 0
|
||||
const totalFrames =
|
||||
media?.metadata?.totalFrames || media?.frames || Math.round(duration * fps) || 0
|
||||
const width = media?.metadata?.originalWidth || 1920
|
||||
const height = media?.metadata?.originalHeight || 1080
|
||||
const startTimecode = media?.metadata?.startTimecode || null
|
||||
|
||||
const metadata: ExportAssetMetadata = {
|
||||
id: asset.id,
|
||||
name: asset.name,
|
||||
fps,
|
||||
duration,
|
||||
totalFrames,
|
||||
width,
|
||||
height,
|
||||
startTimecode,
|
||||
rawMedia: media,
|
||||
}
|
||||
|
||||
return exportCommentsToFormat(metadata, comments, format, options)
|
||||
}
|
||||
|
||||
async toAssetInfos(assets: AssetWithIncludes[]): Promise<AssetInfo[]> {
|
||||
const stackIds = new Set<string>()
|
||||
|
||||
@@ -1923,6 +2026,38 @@ export class AssetService {
|
||||
: []
|
||||
const hasAgentMdSet = new Set(agentMdRecords.map((r) => r.assetId))
|
||||
|
||||
const commentTargetIds = new Set<string>()
|
||||
for (const a of assets) {
|
||||
if (
|
||||
a.type === AssetType.version_stack ||
|
||||
(a.type === AssetType.symlink && a.target?.type === AssetType.version_stack)
|
||||
) {
|
||||
const stackId = a.type === AssetType.symlink ? a.targetId! : a.id
|
||||
const versions = versionsMap.get(stackId) || []
|
||||
if (versions.length > 0) {
|
||||
commentTargetIds.add(versions[0].id)
|
||||
} else {
|
||||
commentTargetIds.add(stackId)
|
||||
}
|
||||
} else if (a.type === AssetType.symlink && a.target) {
|
||||
commentTargetIds.add(a.target.id)
|
||||
} else {
|
||||
commentTargetIds.add(a.id)
|
||||
}
|
||||
}
|
||||
|
||||
const commentCounts =
|
||||
commentTargetIds.size > 0
|
||||
? await this.prismaClient.assetComment.groupBy({
|
||||
by: ['assetId'],
|
||||
where: {
|
||||
assetId: { in: Array.from(commentTargetIds) },
|
||||
},
|
||||
_count: { _all: true },
|
||||
})
|
||||
: []
|
||||
const commentCountMap = new Map(commentCounts.map((c) => [c.assetId, c._count._all]))
|
||||
|
||||
const result: AssetInfo[] = []
|
||||
for (const a of assets) {
|
||||
let latestVersion:
|
||||
@@ -2104,6 +2239,7 @@ export class AssetService {
|
||||
fieldValues,
|
||||
sortIndex: a.sortIndex,
|
||||
hasAgentsMd: hasAgentMdSet.has(a.id),
|
||||
commentsCount: commentCountMap.get(latestVersion.id) ?? 0,
|
||||
media: media as unknown as AssetInfo['media'],
|
||||
versionStack,
|
||||
})
|
||||
|
||||
@@ -0,0 +1,363 @@
|
||||
import fs from 'fs'
|
||||
import path from 'path'
|
||||
import { describe, expect, it } from 'vitest'
|
||||
import type { ExportAssetMetadata, ExportCommentItem } from './types'
|
||||
import { exportCommentsToFormat } from './index'
|
||||
|
||||
interface RawFrameioUser {
|
||||
id?: string
|
||||
name?: string
|
||||
profileImage?: { image128?: string }
|
||||
avatarColor?: string
|
||||
}
|
||||
|
||||
interface RawFrameioComment {
|
||||
id: string
|
||||
text: string
|
||||
timestampMicroseconds: number | null
|
||||
insertedAt: string
|
||||
completed: boolean
|
||||
owner?: RawFrameioUser
|
||||
annotation?: unknown
|
||||
replies?: RawFrameioComment[]
|
||||
}
|
||||
|
||||
interface RawFrameioResponse {
|
||||
data: {
|
||||
asset: {
|
||||
comments: {
|
||||
result: RawFrameioComment[]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
describe('Comments Export against Frame.io Golden Test Data', () => {
|
||||
const testDataDir = path.resolve(__dirname, 'fixtures')
|
||||
|
||||
const apiData = JSON.parse(
|
||||
fs.readFileSync(path.join(testDataDir, 'api.json'), 'utf8'),
|
||||
) as RawFrameioResponse
|
||||
|
||||
const rawComments = apiData.data.asset.comments.result
|
||||
|
||||
const comments: ExportCommentItem[] = rawComments.map((c) => ({
|
||||
id: c.id,
|
||||
message: c.text,
|
||||
second: c.timestampMicroseconds != null ? c.timestampMicroseconds / 1_000_000 : null,
|
||||
createdAt: c.insertedAt,
|
||||
isCompleted: c.completed,
|
||||
creator: {
|
||||
id: c.owner?.id || 'u1',
|
||||
name: c.owner?.name || 'Anonymous',
|
||||
image: c.owner?.profileImage?.image128 || null,
|
||||
avatarColor: c.owner?.avatarColor || 'aqua',
|
||||
},
|
||||
annotations: c.annotation,
|
||||
replies: (c.replies || []).map((r) => ({
|
||||
id: r.id,
|
||||
message: r.text,
|
||||
second: r.timestampMicroseconds != null ? r.timestampMicroseconds / 1_000_000 : null,
|
||||
createdAt: r.insertedAt,
|
||||
isCompleted: r.completed,
|
||||
creator: {
|
||||
id: r.owner?.id || 'u2',
|
||||
name: r.owner?.name || 'Anonymous',
|
||||
image: r.owner?.profileImage?.image128 || null,
|
||||
avatarColor: r.owner?.avatarColor || 'orange',
|
||||
},
|
||||
})),
|
||||
}))
|
||||
|
||||
const metadata: ExportAssetMetadata = {
|
||||
id: '2e7ffdba-8fcf-40b6-a93c-026dc1f5dca3',
|
||||
name: 'YTDown_YouTube_Ed-Sheeran-Pokemon-Celestial-Official-Vi_Media_23g5HBOg3Ic_002_720p.mp4',
|
||||
fps: 24000 / 1001,
|
||||
duration: 262.269388,
|
||||
totalFrames: 6287,
|
||||
}
|
||||
|
||||
it('exports DaVinci Resolve EDL matching golden test data byte-for-byte', () => {
|
||||
const golden = fs.readFileSync(path.join(testDataDir, 'resolve.edl'), 'utf8')
|
||||
const result = exportCommentsToFormat(metadata, comments, 'resolve-edl', {
|
||||
exportDate: new Date('2026-09-13T03:26:00Z'),
|
||||
})
|
||||
|
||||
expect(result.filename).toBe(
|
||||
'YTDown_YouTube_Ed-Sheeran-Pokemon-Celestial-Official-Vi_Media_23g5HBOg3Ic_002_720p_resolve.edl',
|
||||
)
|
||||
expect(result.mimeType).toBe('text/plain; charset=utf-8')
|
||||
expect(result.content).toBe(golden)
|
||||
})
|
||||
|
||||
it('exports Avid Media Composer XML matching golden test data byte-for-byte', () => {
|
||||
const golden = fs.readFileSync(path.join(testDataDir, 'media-composer.xml'), 'utf8')
|
||||
const result = exportCommentsToFormat(metadata, comments, 'media-composer-xml')
|
||||
|
||||
expect(result.filename).toBe(
|
||||
'YTDown_YouTube_Ed-Sheeran-Pokemon-Celestial-Official-Vi_Media_23g5HBOg3Ic_002_720p_media-composer.xml',
|
||||
)
|
||||
expect(result.mimeType).toBe('application/xml; charset=utf-8')
|
||||
expect(result.content).toBe(golden)
|
||||
})
|
||||
|
||||
it('exports Adobe Premiere Pro XML matching golden test data byte-for-byte', () => {
|
||||
const golden = fs.readFileSync(path.join(testDataDir, 'premierepro.xml'), 'utf8')
|
||||
const result = exportCommentsToFormat(metadata, comments, 'premiere-xml', {
|
||||
exportDate: new Date('2026-09-13T03:26:31Z'),
|
||||
})
|
||||
|
||||
expect(result.filename).toBe(
|
||||
'YTDown_YouTube_Ed-Sheeran-Pokemon-Celestial-Official-Vi_Media_23g5HBOg3Ic_002_720p_premiere.xml',
|
||||
)
|
||||
expect(result.mimeType).toBe('application/xml; charset=utf-8')
|
||||
expect(result.content).toBe(golden)
|
||||
})
|
||||
|
||||
it('exports Final Cut Pro FIOJSON matching golden comments and metadata', () => {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
const golden: any = JSON.parse(fs.readFileSync(path.join(testDataDir, 'fcp.fiojson'), 'utf8'))
|
||||
const result = exportCommentsToFormat(metadata, comments, 'fcp-fiojson')
|
||||
|
||||
expect(result.filename).toBe(
|
||||
'YTDown_YouTube_Ed-Sheeran-Pokemon-Celestial-Official-Vi_Media_23g5HBOg3Ic_002_720p.fiojson',
|
||||
)
|
||||
expect(result.mimeType).toBe('application/json; charset=utf-8')
|
||||
|
||||
const parsed = JSON.parse(result.content) as typeof golden
|
||||
|
||||
expect(parsed.asset.id).toBe(metadata.id)
|
||||
expect(parsed.asset.name).toBe(metadata.name)
|
||||
expect(parsed.asset.fps).toBe(metadata.fps)
|
||||
expect(parsed.asset.duration).toBe(metadata.duration)
|
||||
expect(parsed.asset.frames).toBe(metadata.totalFrames)
|
||||
expect(parsed.comments.length).toBe(golden.comments.length)
|
||||
|
||||
for (let i = 0; i < parsed.comments.length; i++) {
|
||||
const gen = parsed.comments[i]
|
||||
const gold = golden.comments[i]
|
||||
|
||||
expect(gen.text).toBe(gold.text)
|
||||
expect(gen.frame).toBe(gold.frame)
|
||||
expect(gen.timestamp).toBe(gold.timestamp)
|
||||
expect(gen.completed).toBe(gold.completed)
|
||||
expect(gen.parent_id).toBe(gold.parent_id)
|
||||
if (gold.annotation) {
|
||||
expect(gen.annotation).toBe(gold.annotation)
|
||||
} else {
|
||||
expect(gen.annotation).toBeNull()
|
||||
}
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
describe('Edge Cases and CJK Character Support', () => {
|
||||
it('escapes special XML characters in asset name for Premiere XML', () => {
|
||||
const specialMetadata: ExportAssetMetadata = {
|
||||
id: 'special-1',
|
||||
name: 'Tom & Jerry <Summer Special> & Co.mp4',
|
||||
fps: 24,
|
||||
duration: 10,
|
||||
totalFrames: 240,
|
||||
}
|
||||
|
||||
const result = exportCommentsToFormat(specialMetadata, [], 'premiere-xml', {
|
||||
exportDate: new Date('2026-09-13T03:26:31Z'),
|
||||
})
|
||||
|
||||
expect(result.filename).toBe('Tom & Jerry <Summer Special> & Co_premiere.xml')
|
||||
expect(result.content).toContain(
|
||||
'<name>Tom & Jerry <Summer Special> & Co.mp4 2026-9-13 03-26-31</name>',
|
||||
)
|
||||
expect(result.content).not.toContain('<name>Tom & Jerry <Summer Special>')
|
||||
})
|
||||
|
||||
it('keeps Resolve EDL FCM consistent with startTimecode separator', () => {
|
||||
const ndfMetadata: ExportAssetMetadata = {
|
||||
id: 'ndf-1',
|
||||
name: 'video_ndf.mp4',
|
||||
fps: 29.97,
|
||||
duration: 10,
|
||||
totalFrames: 300,
|
||||
startTimecode: '01:00:00:00', // Colon denotes NDF
|
||||
}
|
||||
|
||||
const comment: ExportCommentItem = {
|
||||
id: 'c1',
|
||||
message: 'test comment',
|
||||
second: 1.0,
|
||||
createdAt: new Date('2026-09-13T00:00:00Z'),
|
||||
isCompleted: false,
|
||||
creator: { id: 'u1', name: 'User' },
|
||||
}
|
||||
|
||||
const edlNdf = exportCommentsToFormat(ndfMetadata, [comment], 'resolve-edl')
|
||||
expect(edlNdf.content).toContain('FCM: NON DROP FRAME')
|
||||
// Emitted timecode must use colon (NDF), matching FCM
|
||||
expect(edlNdf.content).toContain('01:00:00:29')
|
||||
expect(edlNdf.content).not.toContain('01:00:00;29')
|
||||
|
||||
const dfMetadata: ExportAssetMetadata = {
|
||||
...ndfMetadata,
|
||||
startTimecode: '01:00:00;00', // Semicolon denotes DF
|
||||
}
|
||||
|
||||
const edlDf = exportCommentsToFormat(dfMetadata, [comment], 'resolve-edl')
|
||||
expect(edlDf.content).toContain('FCM: DROP FRAME')
|
||||
// Emitted timecode must use semicolon (DF), matching FCM
|
||||
expect(edlDf.content).toContain('01:00:00;29')
|
||||
})
|
||||
|
||||
it('exports CJK filenames, author names, and comments across all formats without corruption', () => {
|
||||
const cjkMetadata: ExportAssetMetadata = {
|
||||
id: 'cjk-asset',
|
||||
name: '宣传片_最终版 (2026).mp4',
|
||||
fps: 24,
|
||||
duration: 120,
|
||||
totalFrames: 2880,
|
||||
}
|
||||
|
||||
const cjkComments: ExportCommentItem[] = [
|
||||
{
|
||||
id: 'cjk-1',
|
||||
message: '这个镜头的色调太暗了,建议提高曝光度。',
|
||||
second: 5.5,
|
||||
createdAt: '2026-09-13T03:26:00Z',
|
||||
isCompleted: false,
|
||||
creator: { id: 'u1', name: '张三 (Zhang San)' },
|
||||
replies: [
|
||||
{
|
||||
id: 'cjk-1-reply',
|
||||
message: '同意!コントラストも少し下げた方が良いと思います。',
|
||||
second: null,
|
||||
createdAt: '2026-09-13T03:27:00Z',
|
||||
isCompleted: false,
|
||||
creator: { id: 'u2', name: '佐藤健 (Satō Ken)' },
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
id: 'cjk-2',
|
||||
message: '전체적인 템포가 아주 좋습니다.',
|
||||
second: null,
|
||||
createdAt: '2026-09-13T03:28:00Z',
|
||||
isCompleted: true,
|
||||
creator: { id: 'u3', name: '김민수 (Kim Min-soo)' },
|
||||
},
|
||||
]
|
||||
|
||||
// 1. Resolve EDL
|
||||
const edl = exportCommentsToFormat(cjkMetadata, cjkComments, 'resolve-edl')
|
||||
expect(edl.filename).toBe('宣传片_最终版 (2026)_resolve.edl')
|
||||
expect(edl.content).toContain('TITLE: 宣传片_最终版 (2026).mp4')
|
||||
expect(edl.content).toContain('这个镜头的色调太暗了,建议提高曝光度。')
|
||||
expect(edl.content).toContain('佐藤健 (Satō Ken)')
|
||||
expect(edl.content).toContain('同意!コントラストも少し下げた方が良いと思います。')
|
||||
expect(edl.content).toContain('전체적인 템포가 아주 좋습니다.')
|
||||
|
||||
// 2. Media Composer XML
|
||||
const mc = exportCommentsToFormat(cjkMetadata, cjkComments, 'media-composer-xml')
|
||||
expect(mc.filename).toBe('宣传片_最终版 (2026)_media-composer.xml')
|
||||
expect(mc.content).toContain('张三 (Zhang San)')
|
||||
expect(mc.content).toContain('这个镜头的色调太暗了,建议提高曝光度。')
|
||||
expect(mc.content).toContain('佐藤健 (Satō Ken)')
|
||||
expect(mc.content).toContain('同意!コントラストも少し下げた方が良いと思います。')
|
||||
expect(mc.content).toContain('전체적인 템포가 아주 좋습니다.')
|
||||
|
||||
// 3. Premiere XML
|
||||
const ppro = exportCommentsToFormat(cjkMetadata, cjkComments, 'premiere-xml', {
|
||||
exportDate: new Date('2026-09-13T03:26:31Z'),
|
||||
})
|
||||
expect(ppro.filename).toBe('宣传片_最终版 (2026)_premiere.xml')
|
||||
expect(ppro.content).toContain('<name>宣传片_最终版 (2026).mp4 2026-9-13 03-26-31</name>')
|
||||
expect(ppro.content).toContain('这个镜头的色调太暗了,建议提高曝光度。')
|
||||
expect(ppro.content).toContain('同意!コントラストも少し下げた方が良いと思います。')
|
||||
|
||||
// 4. FCP FIOJSON
|
||||
const fcp = exportCommentsToFormat(cjkMetadata, cjkComments, 'fcp-fiojson')
|
||||
expect(fcp.filename).toBe('宣传片_最终版 (2026).fiojson')
|
||||
const parsedFcp = JSON.parse(fcp.content)
|
||||
expect(parsedFcp.asset.name).toBe('宣传片_最终版 (2026).mp4')
|
||||
expect(parsedFcp.comments[0].text).toBe('这个镜头的色调太暗了,建议提高曝光度。')
|
||||
expect(parsedFcp.comments[0].owner.name).toBe('张三 (Zhang San)')
|
||||
expect(parsedFcp.comments[1].text).toBe('同意!コントラストも少し下げた方が良いと思います。')
|
||||
expect(parsedFcp.comments[1].owner.name).toBe('佐藤健 (Satō Ken)')
|
||||
expect(parsedFcp.comments[2].text).toBe('전체적인 템포가 아주 좋습니다.')
|
||||
expect(parsedFcp.comments[2].owner.name).toBe('김민수 (Kim Min-soo)')
|
||||
})
|
||||
|
||||
it('applies non-UTC timeZone consistently across exporters', () => {
|
||||
const fixedDate = new Date('2026-09-13T03:26:31Z')
|
||||
const sampleMetadata: ExportAssetMetadata = {
|
||||
id: 'tz-asset',
|
||||
name: 'timezone-test.mp4',
|
||||
fps: 24,
|
||||
duration: 10,
|
||||
totalFrames: 240,
|
||||
}
|
||||
const sampleComments: ExportCommentItem[] = [
|
||||
{
|
||||
id: 'c1',
|
||||
message: 'testing timezone',
|
||||
second: 2.0,
|
||||
createdAt: fixedDate,
|
||||
isCompleted: false,
|
||||
creator: { id: 'u1', name: 'Author' },
|
||||
},
|
||||
]
|
||||
|
||||
const tzOptions = { exportDate: fixedDate, timeZone: 'America/New_York' }
|
||||
|
||||
// Resolve EDL: Sep 13 03:26 UTC -> Sep 12 11:26pm EDT
|
||||
const edl = exportCommentsToFormat(sampleMetadata, sampleComments, 'resolve-edl', tzOptions)
|
||||
expect(edl.content).toContain('@Author, Sep 12 12 11:26pm')
|
||||
expect(edl.content).not.toContain('Sep 13')
|
||||
|
||||
// Media Composer XML: Sep 13 03:26 UTC -> Sep 12, 2026 23:26 EDT
|
||||
const mc = exportCommentsToFormat(
|
||||
sampleMetadata,
|
||||
sampleComments,
|
||||
'media-composer-xml',
|
||||
tzOptions,
|
||||
)
|
||||
expect(mc.content).toContain('Sep 12, 2026 · 23:26')
|
||||
expect(mc.content).not.toContain('Sep 13')
|
||||
|
||||
// Premiere XML: Sep 13 03:26 UTC -> 2026-9-12 23-26-31 EDT
|
||||
const ppro = exportCommentsToFormat(sampleMetadata, sampleComments, 'premiere-xml', tzOptions)
|
||||
expect(ppro.content).toContain('<name>timezone-test.mp4 2026-9-12 23-26-31</name>')
|
||||
expect(ppro.content).toContain('<name>Marker Color Matte (2026-9-12 23-26-31)</name>')
|
||||
expect(ppro.content).not.toContain('2026-9-13')
|
||||
})
|
||||
|
||||
it('sanitizes EDL title, author, and comment text containing newlines and control characters', () => {
|
||||
const dirtyMetadata: ExportAssetMetadata = {
|
||||
id: 'dirty-asset',
|
||||
name: 'Line1\r\nLine2\x07.mp4',
|
||||
fps: 24,
|
||||
duration: 10,
|
||||
totalFrames: 240,
|
||||
}
|
||||
const dirtyComments: ExportCommentItem[] = [
|
||||
{
|
||||
id: 'c1',
|
||||
message: 'Multi\r\nLine\nComment\x00 Message',
|
||||
second: 1.0,
|
||||
createdAt: new Date('2026-09-13T00:00:00Z'),
|
||||
isCompleted: false,
|
||||
creator: { id: 'u1', name: 'Author\r\nWithNewline' },
|
||||
},
|
||||
]
|
||||
|
||||
const edl = exportCommentsToFormat(dirtyMetadata, dirtyComments, 'resolve-edl')
|
||||
// Title must be on a single line without raw newlines
|
||||
expect(edl.content).toContain('TITLE: Line1 Line2.mp4')
|
||||
expect(edl.content).not.toMatch(/TITLE: .*\r?\n.*\.mp4/)
|
||||
// Author must not have newline
|
||||
expect(edl.content).toContain('@Author WithNewline')
|
||||
// Comment text must not have unescaped newlines breaking the marker line
|
||||
expect(edl.content).toContain(
|
||||
'Multi Line Comment Message |C:ResolveColorPurple |M:Author WithNewline |D:0',
|
||||
)
|
||||
})
|
||||
})
|
||||
@@ -0,0 +1,140 @@
|
||||
import type { ExportAssetMetadata, ExportCommentItem, ExportOptions, ExportResult } from '../types'
|
||||
import { secondToFrame } from '../timecode'
|
||||
|
||||
/* eslint-disable @typescript-eslint/naming-convention */
|
||||
interface FcpFioOwner {
|
||||
id: string
|
||||
name: string
|
||||
profile_image: string | null
|
||||
avatar_color: string
|
||||
image_32: string | null
|
||||
image_64: string | null
|
||||
image_128: string | null
|
||||
image_256: string | null
|
||||
}
|
||||
|
||||
interface FcpFioComment {
|
||||
id: string
|
||||
text: string
|
||||
completed: boolean
|
||||
parent_id: string | null
|
||||
frame: number | null
|
||||
timestamp: number | null
|
||||
timestamp_microseconds: number | null
|
||||
has_replies: boolean
|
||||
annotation: string | null
|
||||
inserted_at: string
|
||||
owner: FcpFioOwner
|
||||
}
|
||||
|
||||
export const exportToFcpFioJson = (
|
||||
metadata: ExportAssetMetadata,
|
||||
comments: ExportCommentItem[],
|
||||
options?: ExportOptions,
|
||||
): ExportResult => {
|
||||
// Final Cut Pro .fiojson format uses standard ISO 8601 UTC timestamps (e.g. 2026-09-13T03:26:00.000Z)
|
||||
// for inserted_at, so timeZone options do not modify the JSON timestamp format.
|
||||
void options
|
||||
// Separate timestamped and non-timestamped comments
|
||||
const timed = comments.filter((c) => c.second !== null && c.second !== undefined)
|
||||
timed.sort((a, b) => (a.second ?? 0) - (b.second ?? 0))
|
||||
const notimed = comments.filter((c) => c.second === null || c.second === undefined)
|
||||
|
||||
const allSorted = [...timed, ...notimed]
|
||||
|
||||
const flattenedComments: FcpFioComment[] = []
|
||||
|
||||
allSorted.forEach((comment) => {
|
||||
const isTimed = comment.second !== null && comment.second !== undefined
|
||||
const frame = isTimed ? secondToFrame(comment.second, metadata.fps) : null
|
||||
const us = isTimed ? Math.round((comment.second ?? 0) * 1_000_000) : null
|
||||
const replies = comment.replies || []
|
||||
|
||||
const hasAnnotation = Boolean(
|
||||
comment.annotations &&
|
||||
(Array.isArray(comment.annotations) ? comment.annotations.length > 0 : true),
|
||||
)
|
||||
const annotationStr = hasAnnotation
|
||||
? typeof comment.annotations === 'string'
|
||||
? comment.annotations
|
||||
: JSON.stringify(comment.annotations)
|
||||
: null
|
||||
|
||||
flattenedComments.push({
|
||||
id: comment.id,
|
||||
text: comment.message || '',
|
||||
completed: comment.isCompleted,
|
||||
parent_id: null,
|
||||
frame,
|
||||
timestamp: frame,
|
||||
timestamp_microseconds: us,
|
||||
has_replies: replies.length > 0,
|
||||
annotation: annotationStr,
|
||||
inserted_at:
|
||||
typeof comment.createdAt === 'string' ? comment.createdAt : comment.createdAt.toISOString(),
|
||||
owner: {
|
||||
id: comment.creator.id,
|
||||
name: comment.creator.name,
|
||||
profile_image: comment.creator.image || null,
|
||||
avatar_color: comment.creator.avatarColor || 'aqua',
|
||||
image_32: comment.creator.image || null,
|
||||
image_64: comment.creator.image || null,
|
||||
image_128: comment.creator.image || null,
|
||||
image_256: comment.creator.image || null,
|
||||
},
|
||||
})
|
||||
|
||||
replies.forEach((r) => {
|
||||
flattenedComments.push({
|
||||
id: r.id,
|
||||
text: r.message || '',
|
||||
completed: r.isCompleted,
|
||||
parent_id: comment.id,
|
||||
frame: null,
|
||||
timestamp: null,
|
||||
timestamp_microseconds: null,
|
||||
has_replies: false,
|
||||
annotation: null,
|
||||
inserted_at: typeof r.createdAt === 'string' ? r.createdAt : r.createdAt.toISOString(),
|
||||
owner: {
|
||||
id: r.creator.id,
|
||||
name: r.creator.name,
|
||||
profile_image: r.creator.image || null,
|
||||
avatar_color: r.creator.avatarColor || 'orange',
|
||||
image_32: r.creator.image || null,
|
||||
image_64: r.creator.image || null,
|
||||
image_128: r.creator.image || null,
|
||||
image_256: r.creator.image || null,
|
||||
},
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
const output = {
|
||||
asset: {
|
||||
id: metadata.id,
|
||||
name: metadata.name,
|
||||
fps: metadata.fps,
|
||||
duration: metadata.duration,
|
||||
frames: metadata.totalFrames,
|
||||
type: 'file',
|
||||
metadata: {
|
||||
fps: metadata.fps,
|
||||
duration: metadata.duration.toString(),
|
||||
totalFrames: metadata.totalFrames,
|
||||
width: metadata.width,
|
||||
height: metadata.height,
|
||||
format_name: 'MP4',
|
||||
},
|
||||
},
|
||||
comments: flattenedComments,
|
||||
}
|
||||
|
||||
const baseName = metadata.name.replace(/\.[^/.]+$/, '')
|
||||
return {
|
||||
content: JSON.stringify(output),
|
||||
filename: `${baseName}.fiojson`,
|
||||
mimeType: 'application/json; charset=utf-8',
|
||||
}
|
||||
}
|
||||
/* eslint-enable @typescript-eslint/naming-convention */
|
||||
@@ -0,0 +1,156 @@
|
||||
import type { ExportAssetMetadata, ExportCommentItem, ExportOptions, ExportResult } from '../types'
|
||||
import { formatDateAvid, secondToFrame } from '../timecode'
|
||||
|
||||
const escapeXml = (str: string): string => {
|
||||
return str
|
||||
.replace(/&/g, '&')
|
||||
.replace(/</g, '<')
|
||||
.replace(/>/g, '>')
|
||||
.replace(/"/g, '"')
|
||||
.replace(/'/g, ''')
|
||||
}
|
||||
|
||||
export const exportToMediaComposerXml = (
|
||||
metadata: ExportAssetMetadata,
|
||||
comments: ExportCommentItem[],
|
||||
options?: ExportOptions,
|
||||
): ExportResult => {
|
||||
const lines: string[] = [
|
||||
'<?xml version="1.0" encoding="UTF-8" standalone="no" ?>',
|
||||
'<!DOCTYPE Avid:StreamItems SYSTEM "AvidSettingsFile.dtd">',
|
||||
'<Avid:StreamItems xmlns:Avid="http://www.avid.com">',
|
||||
'<Avid:XMLFileData>',
|
||||
'<AvProp name="DomainMagic" type="string">Domain</AvProp>',
|
||||
'<AvProp name="DomainKey" type="char4">58424a44</AvProp>',
|
||||
]
|
||||
|
||||
// Media Composer orders markers strictly by timeline frame (TC) ascending.
|
||||
// For non-timestamped markers on TC1, sequential frames (0, 1, 2...) are used to avoid frame collisions.
|
||||
const timed = comments.filter((c) => c.second !== null && c.second !== undefined)
|
||||
timed.sort((a, b) => (a.second ?? 0) - (b.second ?? 0))
|
||||
const notimed = comments.filter((c) => c.second === null || c.second === undefined)
|
||||
|
||||
let notimedCounter = 0
|
||||
const allSortedWithTc = [
|
||||
...notimed.map((c) => ({ comment: c, isTimed: false, tc: (notimedCounter++).toString() })),
|
||||
...timed.map((c) => ({
|
||||
comment: c,
|
||||
isTimed: true,
|
||||
tc: secondToFrame(c.second, metadata.fps).toString(),
|
||||
})),
|
||||
]
|
||||
|
||||
allSortedWithTc.forEach(({ comment, isTimed, tc }) => {
|
||||
const color = isTimed ? 'Blue' : 'Magenta'
|
||||
const track = isTimed ? 'V1' : 'TC1'
|
||||
const createdEpoch = Math.floor(new Date(comment.createdAt).getTime() / 1000)
|
||||
|
||||
// Collect unique authors in order
|
||||
const authors: string[] = [comment.creator.name]
|
||||
const replies = comment.replies || []
|
||||
replies.forEach((r) => {
|
||||
if (!authors.includes(r.creator.name)) {
|
||||
authors.push(r.creator.name)
|
||||
}
|
||||
})
|
||||
const userStr = escapeXml(authors.join(', '))
|
||||
|
||||
let comStr: string
|
||||
if (!isTimed) {
|
||||
comStr = escapeXml(comment.message || '')
|
||||
} else {
|
||||
const hasAnnotation = Boolean(
|
||||
comment.annotations &&
|
||||
(Array.isArray(comment.annotations) ? comment.annotations.length > 0 : true),
|
||||
)
|
||||
const annotationPrefix = hasAnnotation ? '(Annotation) ' : ''
|
||||
const rootText = `${annotationPrefix}${comment.message || ''}`
|
||||
const formatLine = (name: string, date: Date, text: string): string => {
|
||||
return `[${escapeXml(name)} ${formatDateAvid(date, options?.timeZone)}] ${escapeXml(text)}`
|
||||
}
|
||||
|
||||
const rootPart = formatLine(comment.creator.name, new Date(comment.createdAt), rootText)
|
||||
|
||||
if (replies.length === 0) {
|
||||
comStr = rootPart
|
||||
} else {
|
||||
const parts = [rootPart]
|
||||
replies.forEach((r) => {
|
||||
parts.push(formatLine(r.creator.name, new Date(r.createdAt), r.message || ''))
|
||||
})
|
||||
// Format with space before newline as in Frame.io export
|
||||
comStr = parts.join(' \n')
|
||||
}
|
||||
}
|
||||
|
||||
lines.push('<AvClass id="ATTR">')
|
||||
lines.push(' <AvProp id="ATTR" name="__OMFI:ATTR:NumItems" type="int32">7</AvProp>')
|
||||
lines.push(' <List id="OMFI:ATTR:AttrRefs">')
|
||||
lines.push(' <ListElem>')
|
||||
lines.push(' <AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>')
|
||||
lines.push(
|
||||
' <AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LONG_CREATE_DATE</AvProp>',
|
||||
)
|
||||
lines.push(
|
||||
` <AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">${createdEpoch}</AvProp>`,
|
||||
)
|
||||
lines.push(' </ListElem>')
|
||||
lines.push(' <ListElem>')
|
||||
lines.push(' <AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>')
|
||||
lines.push(
|
||||
' <AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COLOR</AvProp>',
|
||||
)
|
||||
lines.push(
|
||||
` <AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">${color}</AvProp>`,
|
||||
)
|
||||
lines.push(' </ListElem>')
|
||||
lines.push(' <ListElem>')
|
||||
lines.push(' <AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>')
|
||||
lines.push(' <AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_USER</AvProp>')
|
||||
lines.push(
|
||||
` <AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">${userStr}</AvProp>`,
|
||||
)
|
||||
lines.push(' </ListElem>')
|
||||
lines.push(' <ListElem>')
|
||||
lines.push(' <AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>')
|
||||
lines.push(' <AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COM</AvProp>')
|
||||
lines.push(
|
||||
` <AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">${comStr}</AvProp>`,
|
||||
)
|
||||
lines.push(' </ListElem>')
|
||||
lines.push(' <ListElem>')
|
||||
lines.push(' <AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>')
|
||||
lines.push(' <AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TC</AvProp>')
|
||||
lines.push(
|
||||
` <AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">${tc}</AvProp>`,
|
||||
)
|
||||
lines.push(' </ListElem>')
|
||||
lines.push(' <ListElem>')
|
||||
lines.push(' <AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>')
|
||||
lines.push(' <AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TRK</AvProp>')
|
||||
lines.push(
|
||||
` <AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">${track}</AvProp>`,
|
||||
)
|
||||
lines.push(' </ListElem>')
|
||||
lines.push(' <ListElem>')
|
||||
lines.push(' <AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>')
|
||||
lines.push(
|
||||
' <AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LENGTH</AvProp>',
|
||||
)
|
||||
lines.push(' <AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1</AvProp>')
|
||||
lines.push(' </ListElem>')
|
||||
lines.push(' <ListElem/>')
|
||||
lines.push(' </List>')
|
||||
lines.push('</AvClass>')
|
||||
})
|
||||
|
||||
lines.push('</Avid:XMLFileData></Avid:StreamItems>')
|
||||
lines.push('')
|
||||
|
||||
const baseName = metadata.name.replace(/\.[^/.]+$/, '')
|
||||
return {
|
||||
content: lines.join('\n'),
|
||||
filename: `${baseName}_media-composer.xml`,
|
||||
mimeType: 'application/xml; charset=utf-8',
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,272 @@
|
||||
import type { ExportAssetMetadata, ExportCommentItem, ExportOptions, ExportResult } from '../types'
|
||||
import { formatDatePremiere, isDropFrameRate, secondToFrame } from '../timecode'
|
||||
|
||||
const escapeXml = (str: string): string => {
|
||||
return str
|
||||
.replace(/&/g, '&')
|
||||
.replace(/</g, '<')
|
||||
.replace(/>/g, '>')
|
||||
.replace(/"/g, '"')
|
||||
.replace(/'/g, ''')
|
||||
}
|
||||
|
||||
export const exportToPremiereXml = (
|
||||
metadata: ExportAssetMetadata,
|
||||
comments: ExportCommentItem[],
|
||||
options?: ExportOptions,
|
||||
): ExportResult => {
|
||||
const exportDate = options?.exportDate || new Date()
|
||||
const dateStr = formatDatePremiere(exportDate, options?.timeZone)
|
||||
const isNtsc = isDropFrameRate(metadata.fps)
|
||||
const timebase = Math.round(metadata.fps) || 24
|
||||
const duration = metadata.totalFrames || Math.round(metadata.duration * metadata.fps) || 0
|
||||
const width = metadata.width || 1920
|
||||
const height = metadata.height || 1080
|
||||
|
||||
// Sort comments: timestamped first, then non-timestamped
|
||||
const timed = comments.filter((c) => c.second !== null && c.second !== undefined)
|
||||
timed.sort((a, b) => (a.second ?? 0) - (b.second ?? 0))
|
||||
const notimed = comments.filter((c) => c.second === null || c.second === undefined)
|
||||
|
||||
const allSorted = [...timed, ...notimed]
|
||||
|
||||
const markerXmlBlocks: string[] = []
|
||||
allSorted.forEach((comment, index) => {
|
||||
const isTimed = comment.second !== null && comment.second !== undefined
|
||||
const inFrame = isTimed ? secondToFrame(comment.second, metadata.fps) : 0
|
||||
const markerIndent = index === 0 ? ' <marker>' : ' <marker>'
|
||||
|
||||
markerXmlBlocks.push(`${markerIndent}
|
||||
<comment>${escapeXml(comment.message || '')}</comment>
|
||||
<name>${escapeXml(comment.creator.name)}</name>
|
||||
<in>${inFrame}</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>`)
|
||||
|
||||
const replies = comment.replies || []
|
||||
replies.forEach((r) => {
|
||||
markerXmlBlocks.push(` <marker>
|
||||
<comment>${escapeXml(r.message || '')}</comment>
|
||||
<name>${escapeXml(r.creator.name)}</name>
|
||||
<in>${inFrame}</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>`)
|
||||
})
|
||||
})
|
||||
|
||||
const clipMarkersJoined = markerXmlBlocks.join('\n')
|
||||
|
||||
// Sequence markers have slightly different initial indent (6 spaces instead of 14)
|
||||
const seqMarkerBlocks = [...markerXmlBlocks]
|
||||
if (seqMarkerBlocks.length > 0) {
|
||||
seqMarkerBlocks[0] = seqMarkerBlocks[0].replace(' <marker>', ' <marker>')
|
||||
}
|
||||
const seqMarkersJoined = seqMarkerBlocks.join('\n')
|
||||
|
||||
const xml = `<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE xmeml>
|
||||
<xmeml version="4">
|
||||
<sequence id="sequence" TL.SQAudioVisibleBase="0" TL.SQVideoVisibleBase="0" TL.SQVisibleBaseTime="0" TL.SQAVDividerPosition="0.5" TL.SQHideShyTracks="0" TL.SQHeaderWidth="292" Monitor.ProgramZoomOut="0" Monitor.ProgramZoomIn="0" TL.SQTimePerPixel="0.19999999999999998" MZ.EditLine="0" MZ.Sequence.PreviewFrameSizeHeight="${height}" MZ.Sequence.PreviewFrameSizeWidth="${width}" MZ.Sequence.AudioTimeDisplayFormat="200" MZ.Sequence.PreviewRenderingClassID="1061109567" MZ.Sequence.PreviewRenderingPresetCodec="1634755439" MZ.Sequence.PreviewRenderingPresetPath="EncoderPresets/SequencePreview/795454d9-d3c2-429d-9474-923ab13b7018/QuickTime.epr" MZ.Sequence.PreviewUseMaxRenderQuality="false" MZ.Sequence.PreviewUseMaxBitDepth="false" MZ.Sequence.EditingModeGUID="795454d9-d3c2-429d-9474-923ab13b7018" MZ.Sequence.VideoTimeDisplayFormat="101" MZ.WorkOutPoint="4612930560000" MZ.WorkInPoint="0" explodedTracks="true">
|
||||
<uuid>7dcf0da5-fbe2-4459-adcc-aa46dd4e3822</uuid>
|
||||
<duration>${duration}</duration>
|
||||
<rate>
|
||||
<timebase>${timebase}</timebase>
|
||||
<ntsc>${isNtsc ? 'TRUE' : 'FALSE'}</ntsc>
|
||||
</rate>
|
||||
<name>${escapeXml(metadata.name)} ${dateStr}</name>
|
||||
<media>
|
||||
<video>
|
||||
<format>
|
||||
<samplecharacteristics>
|
||||
<rate>
|
||||
<timebase>${timebase}</timebase>
|
||||
<ntsc>${isNtsc ? 'TRUE' : 'FALSE'}</ntsc>
|
||||
</rate>
|
||||
<codec>
|
||||
<name>Apple ProRes 422</name>
|
||||
<appspecificdata>
|
||||
<appname>Final Cut Pro</appname>
|
||||
<appmanufacturer>Apple Inc.</appmanufacturer>
|
||||
<appversion>7.0</appversion>
|
||||
<data>
|
||||
<qtcodec>
|
||||
<codecname>Apple ProRes 422</codecname>
|
||||
<codectypename>Apple ProRes 422</codectypename>
|
||||
<codecname>Apple ProRes 422</codecname>
|
||||
<codectypecode>apcn</codectypecode>
|
||||
<codecvendorcode>appl</codecvendorcode>
|
||||
<spatialquality>1024</spatialquality>
|
||||
<temporalquality>0</temporalquality>
|
||||
<keyframerate>0</keyframerate>
|
||||
<datarate>0</datarate>
|
||||
</qtcodec>
|
||||
</data>
|
||||
</appspecificdata>
|
||||
</codec>
|
||||
<width>${width}</width>
|
||||
<height>${height}</height>
|
||||
<anamorphic>FALSE</anamorphic>
|
||||
<pixelaspectratio>square</pixelaspectratio>
|
||||
<fielddominance>none</fielddominance>
|
||||
<colordepth>24</colordepth>
|
||||
</samplecharacteristics>
|
||||
</format>
|
||||
<track TL.SQTrackShy="0" TL.SQTrackExpandedHeight="25" TL.SQTrackExpanded="0" MZ.TrackTargeted="0">
|
||||
<enabled>TRUE</enabled>
|
||||
<locked>FALSE</locked>
|
||||
<generatoritem id="clipitem-1">
|
||||
<name>Marker Color Matte (${dateStr})</name>
|
||||
<enabled>TRUE</enabled>
|
||||
<duration>${duration}</duration>
|
||||
<rate>
|
||||
<timebase>${timebase}</timebase>
|
||||
<ntsc>${isNtsc ? 'TRUE' : 'FALSE'}</ntsc>
|
||||
</rate>
|
||||
<start>0</start>
|
||||
<end>${duration}</end>
|
||||
<in>0</in>
|
||||
<out>${duration}</out>
|
||||
<alphatype>none</alphatype>
|
||||
<effect>
|
||||
<name>Color</name>
|
||||
<effectid>Color</effectid>
|
||||
<effectcategory>Matte</effectcategory>
|
||||
<effecttype>generator</effecttype>
|
||||
<mediatype>video</mediatype>
|
||||
<parameter authoringApp="PremierePro">
|
||||
<parameterid>fillcolor</parameterid>
|
||||
<name>Color</name>
|
||||
<value>
|
||||
<alpha>0</alpha>
|
||||
<red>0</red>
|
||||
<green>0</green>
|
||||
<blue>0</blue>
|
||||
</value>
|
||||
</parameter>
|
||||
</effect>
|
||||
<filter>
|
||||
<effect>
|
||||
<name>Opacity</name>
|
||||
<effectid>opacity</effectid>
|
||||
<effectcategory>motion</effectcategory>
|
||||
<effecttype>motion</effecttype>
|
||||
<mediatype>video</mediatype>
|
||||
<pproBypass>false</pproBypass>
|
||||
<parameter authoringApp="PremierePro">
|
||||
<parameterid>opacity</parameterid>
|
||||
<name>opacity</name>
|
||||
<valuemin>0</valuemin>
|
||||
<valuemax>100</valuemax>
|
||||
<value>0</value>
|
||||
</parameter>
|
||||
</effect>
|
||||
</filter>
|
||||
${clipMarkersJoined}
|
||||
|
||||
</generatoritem>
|
||||
</track>
|
||||
</video>
|
||||
<audio>
|
||||
<numOutputChannels>2</numOutputChannels>
|
||||
<format>
|
||||
<samplecharacteristics>
|
||||
<depth>16</depth>
|
||||
<samplerate>48000</samplerate>
|
||||
</samplecharacteristics>
|
||||
</format>
|
||||
<outputs>
|
||||
<groups>
|
||||
<index>1</index>
|
||||
<numchannels>1</numchannels>
|
||||
<downmix>0</downmix>
|
||||
<channel>
|
||||
<index>1</index>
|
||||
</channel>
|
||||
</groups>
|
||||
<groups>
|
||||
<index>2</index>
|
||||
<numchannels>1</numchannels>
|
||||
<downmix>0</downmix>
|
||||
<channel>
|
||||
<index>2</index>
|
||||
</channel>
|
||||
</groups>
|
||||
</outputs>
|
||||
<track TL.SQTrackAudioKeyframeStyle="0" TL.SQTrackShy="0" TL.SQTrackExpandedHeight="25" TL.SQTrackExpanded="0" MZ.TrackTargeted="1" PannerCurrentValue="0.5" PannerIsInverted="true" PannerStartKeyframe="-91445760000000000,0.5,0,0,0,0,0,0" PannerName="Balance" currentExplodedTrackIndex="0" totalExplodedTrackCount="2" premiereTrackType="Stereo">
|
||||
<enabled>TRUE</enabled>
|
||||
<locked>FALSE</locked>
|
||||
<outputchannelindex>1</outputchannelindex>
|
||||
</track>
|
||||
<track TL.SQTrackAudioKeyframeStyle="0" TL.SQTrackShy="0" TL.SQTrackExpandedHeight="25" TL.SQTrackExpanded="0" MZ.TrackTargeted="1" PannerCurrentValue="0.5" PannerIsInverted="true" PannerStartKeyframe="-91445760000000000,0.5,0,0,0,0,0,0" PannerName="Balance" currentExplodedTrackIndex="1" totalExplodedTrackCount="2" premiereTrackType="Stereo">
|
||||
<enabled>TRUE</enabled>
|
||||
<locked>FALSE</locked>
|
||||
<outputchannelindex>2</outputchannelindex>
|
||||
</track>
|
||||
<track TL.SQTrackAudioKeyframeStyle="0" TL.SQTrackShy="0" TL.SQTrackExpandedHeight="25" TL.SQTrackExpanded="0" MZ.TrackTargeted="1" PannerCurrentValue="0.5" PannerIsInverted="true" PannerStartKeyframe="-91445760000000000,0.5,0,0,0,0,0,0" PannerName="Balance" currentExplodedTrackIndex="0" totalExplodedTrackCount="2" premiereTrackType="Stereo">
|
||||
<enabled>TRUE</enabled>
|
||||
<locked>FALSE</locked>
|
||||
<outputchannelindex>1</outputchannelindex>
|
||||
</track>
|
||||
<track TL.SQTrackAudioKeyframeStyle="0" TL.SQTrackShy="0" TL.SQTrackExpandedHeight="25" TL.SQTrackExpanded="0" MZ.TrackTargeted="1" PannerCurrentValue="0.5" PannerIsInverted="true" PannerStartKeyframe="-91445760000000000,0.5,0,0,0,0,0,0" PannerName="Balance" currentExplodedTrackIndex="1" totalExplodedTrackCount="2" premiereTrackType="Stereo">
|
||||
<enabled>TRUE</enabled>
|
||||
<locked>FALSE</locked>
|
||||
<outputchannelindex>2</outputchannelindex>
|
||||
</track>
|
||||
<track TL.SQTrackAudioKeyframeStyle="0" TL.SQTrackShy="0" TL.SQTrackExpandedHeight="25" TL.SQTrackExpanded="0" MZ.TrackTargeted="1" PannerCurrentValue="0.5" PannerIsInverted="true" PannerStartKeyframe="-91445760000000000,0.5,0,0,0,0,0,0" PannerName="Balance" currentExplodedTrackIndex="0" totalExplodedTrackCount="2" premiereTrackType="Stereo">
|
||||
<enabled>TRUE</enabled>
|
||||
<locked>FALSE</locked>
|
||||
<outputchannelindex>1</outputchannelindex>
|
||||
</track>
|
||||
<track TL.SQTrackAudioKeyframeStyle="0" TL.SQTrackShy="0" TL.SQTrackExpandedHeight="25" TL.SQTrackExpanded="0" MZ.TrackTargeted="1" PannerCurrentValue="0.5" PannerIsInverted="true" PannerStartKeyframe="-91445760000000000,0.5,0,0,0,0,0,0" PannerName="Balance" currentExplodedTrackIndex="1" totalExplodedTrackCount="2" premiereTrackType="Stereo">
|
||||
<enabled>TRUE</enabled>
|
||||
<locked>FALSE</locked>
|
||||
<outputchannelindex>2</outputchannelindex>
|
||||
</track>
|
||||
<track TL.SQTrackAudioKeyframeStyle="0" TL.SQTrackShy="0" TL.SQTrackExpandedHeight="25" TL.SQTrackExpanded="0" MZ.TrackTargeted="1" PannerCurrentValue="0.5" PannerIsInverted="true" PannerStartKeyframe="-91445760000000000,0.5,0,0,0,0,0,0" PannerName="Balance" currentExplodedTrackIndex="0" totalExplodedTrackCount="2" premiereTrackType="Stereo">
|
||||
<enabled>TRUE</enabled>
|
||||
<locked>FALSE</locked>
|
||||
<outputchannelindex>1</outputchannelindex>
|
||||
</track>
|
||||
<track TL.SQTrackAudioKeyframeStyle="0" TL.SQTrackShy="0" TL.SQTrackExpandedHeight="25" TL.SQTrackExpanded="0" MZ.TrackTargeted="1" PannerCurrentValue="0.5" PannerIsInverted="true" PannerStartKeyframe="-91445760000000000,0.5,0,0,0,0,0,0" PannerName="Balance" currentExplodedTrackIndex="1" totalExplodedTrackCount="2" premiereTrackType="Stereo">
|
||||
<enabled>TRUE</enabled>
|
||||
<locked>FALSE</locked>
|
||||
<outputchannelindex>2</outputchannelindex>
|
||||
</track>
|
||||
</audio>
|
||||
</media>
|
||||
<timecode>
|
||||
<rate>
|
||||
<timebase>${timebase}</timebase>
|
||||
<ntsc>${isNtsc ? 'TRUE' : 'FALSE'}</ntsc>
|
||||
</rate>
|
||||
<string>00:00:00:00</string>
|
||||
<frame>0</frame>
|
||||
<displayformat>${isNtsc ? 'DF' : 'NDF'}</displayformat>
|
||||
</timecode>
|
||||
<labels>
|
||||
<label2>Iris</label2>
|
||||
</labels>
|
||||
<logginginfo>
|
||||
<description/>
|
||||
<scene/>
|
||||
<shottake/>
|
||||
<lognote/>
|
||||
<good/>
|
||||
<originalvideofilename/>
|
||||
<originalaudiofilename/>
|
||||
</logginginfo>
|
||||
${seqMarkersJoined}
|
||||
|
||||
</sequence>
|
||||
</xmeml>
|
||||
`
|
||||
|
||||
const baseName = metadata.name.replace(/\.[^/.]+$/, '')
|
||||
return {
|
||||
content: xml,
|
||||
filename: `${baseName}_premiere.xml`,
|
||||
mimeType: 'application/xml; charset=utf-8',
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
import type { ExportAssetMetadata, ExportCommentItem, ExportOptions, ExportResult } from '../types'
|
||||
import { formatDateEdl, frameToTimecode, getEffectiveDropFrame, secondToFrame } from '../timecode'
|
||||
|
||||
const sanitizeEdlText = (str: string): string => {
|
||||
return (
|
||||
str
|
||||
.replace(/[\r\n]+/g, ' ')
|
||||
// eslint-disable-next-line no-control-regex
|
||||
.replace(/[\x00-\x1f\x7f]/g, '')
|
||||
.replace(/\s+/g, ' ')
|
||||
.trim()
|
||||
)
|
||||
}
|
||||
|
||||
export const exportToResolveEdl = (
|
||||
metadata: ExportAssetMetadata,
|
||||
comments: ExportCommentItem[],
|
||||
options?: ExportOptions,
|
||||
): ExportResult => {
|
||||
const exportDate = options?.exportDate || new Date()
|
||||
const dropFrame = getEffectiveDropFrame(metadata.fps, metadata.startTimecode)
|
||||
const fcm = dropFrame ? 'DROP FRAME' : 'NON DROP FRAME'
|
||||
|
||||
const lines: string[] = [`TITLE: ${sanitizeEdlText(metadata.name)}`, `FCM: ${fcm}`, '']
|
||||
|
||||
// Separate timestamped and non-timestamped root comments
|
||||
const timed = comments.filter((c) => c.second !== null && c.second !== undefined)
|
||||
timed.sort((a, b) => (a.second ?? 0) - (b.second ?? 0))
|
||||
const notimed = comments.filter((c) => c.second === null || c.second === undefined)
|
||||
|
||||
const allSorted = [...timed, ...notimed]
|
||||
|
||||
allSorted.forEach((comment, index) => {
|
||||
const eventNum = (index + 1).toString().padStart(3, '0')
|
||||
const frame =
|
||||
comment.second !== null && comment.second !== undefined
|
||||
? secondToFrame(comment.second, metadata.fps)
|
||||
: 0
|
||||
const tc = frameToTimecode(frame, metadata.fps, dropFrame, metadata.startTimecode)
|
||||
const author = sanitizeEdlText(comment.creator.name)
|
||||
|
||||
lines.push(`${eventNum} 001 C V ${tc} ${tc} ${tc} ${tc}`)
|
||||
lines.push(`@${author}, ${formatDateEdl(exportDate, false, options?.timeZone)}`)
|
||||
|
||||
const markerTag = `|C:ResolveColorPurple |M:${author} |D:0`
|
||||
const replies = comment.replies || []
|
||||
const rootMsg = sanitizeEdlText(comment.message || '')
|
||||
|
||||
if (replies.length === 0) {
|
||||
const msg = rootMsg ? `${rootMsg} ${markerTag}` : markerTag
|
||||
lines.push(msg)
|
||||
} else {
|
||||
lines.push(rootMsg)
|
||||
replies.forEach((reply, rIndex) => {
|
||||
const isLastReply = rIndex === replies.length - 1
|
||||
const replyAuthor = sanitizeEdlText(reply.creator.name)
|
||||
lines.push(`@${replyAuthor}, ${formatDateEdl(exportDate, true, options?.timeZone)} [Reply]`)
|
||||
const replyMsg = sanitizeEdlText(reply.message || '')
|
||||
if (isLastReply) {
|
||||
lines.push(`^ ${replyMsg} ${markerTag}`)
|
||||
} else {
|
||||
lines.push(`^ ${replyMsg}`)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
lines.push('')
|
||||
})
|
||||
|
||||
// EDL files standard ending
|
||||
lines.push('')
|
||||
lines.push('')
|
||||
|
||||
const baseName = metadata.name.replace(/\.[^/.]+$/, '')
|
||||
return {
|
||||
content: lines.join('\n'),
|
||||
filename: `${baseName}_resolve.edl`,
|
||||
mimeType: 'text/plain; charset=utf-8',
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,960 @@
|
||||
{
|
||||
"data": {
|
||||
"asset": {
|
||||
"id": "2e7ffdba-8fcf-40b6-a93c-026dc1f5dca3",
|
||||
"project": {
|
||||
"id": "13ed8fe7-1d01-496d-a20d-d27f7010071a",
|
||||
"workspace": {
|
||||
"id": "b60ab173-bfcd-4640-962e-da7dd5562481",
|
||||
"accountId": "fdc13276-ce7a-41ea-9faf-c1d92b74dc97",
|
||||
"__typename": "Workspace"
|
||||
},
|
||||
"__typename": "Project"
|
||||
},
|
||||
"commentCount": 19,
|
||||
"commentCountStats": {
|
||||
"private": 0,
|
||||
"public": 19,
|
||||
"__typename": "CommentCountStats"
|
||||
},
|
||||
"comments": {
|
||||
"result": [
|
||||
{
|
||||
"id": "878fbfc6-64b5-4e4a-ae17-d749dfaa7881",
|
||||
"attachments": [],
|
||||
"annotation": null,
|
||||
"assetId": "2e7ffdba-8fcf-40b6-a93c-026dc1f5dca3",
|
||||
"bounds": null,
|
||||
"completed": false,
|
||||
"deviceLinkChannelInput": null,
|
||||
"duration": null,
|
||||
"isCopy": false,
|
||||
"number": 1,
|
||||
"text": "fly",
|
||||
"textReviewAnnotation": null,
|
||||
"timestampMicroseconds": 2168833,
|
||||
"insertedAt": "2026-09-13T02:23:39.322486Z",
|
||||
"editedAt": null,
|
||||
"readCount": 0,
|
||||
"readByViewer": true,
|
||||
"readImpressions": {
|
||||
"result": [],
|
||||
"__typename": "PaginatedReadImpressions"
|
||||
},
|
||||
"parentId": null,
|
||||
"documentPageNumber": null,
|
||||
"owner": {
|
||||
"email": "njjyl000@gmail.com",
|
||||
"id": "d57c3554-43f9-4ede-93ab-537476d7b0e6",
|
||||
"name": "apple apple",
|
||||
"avatarColor": "AQUA",
|
||||
"profileImage": {
|
||||
"image32": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=32&height=32&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image64": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=64&height=64&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image128": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=128&height=128&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image256": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=256&height=256&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"imageBase": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"original": "https://frameio-uploads-production.s3-accelerate.amazonaws.com/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?x-amz-meta-resource_id=d57c3554-43f9-4ede-93ab-537476d7b0e6&x-amz-meta-resource_type=user&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAZ5BPIQ3GOMNTLW4S%2F20260913%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260913T032725Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=8465cc8de07dd2de1a35c6ba30aee21c044a4664c250a84a90cbd29bc7b1dfac",
|
||||
"__typename": "Images"
|
||||
},
|
||||
"__typename": "AuthenticatedUser"
|
||||
},
|
||||
"commentEntities": [],
|
||||
"reactionCounts": [],
|
||||
"viewerContext": null,
|
||||
"private": false,
|
||||
"__typename": "Comment",
|
||||
"replies": []
|
||||
},
|
||||
{
|
||||
"id": "f63b3c87-3e11-4b48-88d9-f66226485209",
|
||||
"attachments": [],
|
||||
"annotation": null,
|
||||
"assetId": "2e7ffdba-8fcf-40b6-a93c-026dc1f5dca3",
|
||||
"bounds": null,
|
||||
"completed": false,
|
||||
"deviceLinkChannelInput": null,
|
||||
"duration": null,
|
||||
"isCopy": false,
|
||||
"number": 2,
|
||||
"text": "yellow",
|
||||
"textReviewAnnotation": null,
|
||||
"timestampMicroseconds": 4838166,
|
||||
"insertedAt": "2026-09-13T02:23:48.058328Z",
|
||||
"editedAt": null,
|
||||
"readCount": 0,
|
||||
"readByViewer": true,
|
||||
"readImpressions": {
|
||||
"result": [],
|
||||
"__typename": "PaginatedReadImpressions"
|
||||
},
|
||||
"parentId": null,
|
||||
"documentPageNumber": null,
|
||||
"owner": {
|
||||
"email": "njjyl000@gmail.com",
|
||||
"id": "d57c3554-43f9-4ede-93ab-537476d7b0e6",
|
||||
"name": "apple apple",
|
||||
"avatarColor": "AQUA",
|
||||
"profileImage": {
|
||||
"image32": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=32&height=32&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image64": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=64&height=64&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image128": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=128&height=128&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image256": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=256&height=256&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"imageBase": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"original": "https://frameio-uploads-production.s3-accelerate.amazonaws.com/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?x-amz-meta-resource_id=d57c3554-43f9-4ede-93ab-537476d7b0e6&x-amz-meta-resource_type=user&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAZ5BPIQ3GOMNTLW4S%2F20260913%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260913T032725Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=8465cc8de07dd2de1a35c6ba30aee21c044a4664c250a84a90cbd29bc7b1dfac",
|
||||
"__typename": "Images"
|
||||
},
|
||||
"__typename": "AuthenticatedUser"
|
||||
},
|
||||
"commentEntities": [],
|
||||
"reactionCounts": [],
|
||||
"viewerContext": null,
|
||||
"private": false,
|
||||
"__typename": "Comment",
|
||||
"replies": []
|
||||
},
|
||||
{
|
||||
"id": "16607bc1-c9e5-4f1f-8ff9-9be71d6bab72",
|
||||
"attachments": [],
|
||||
"annotation": null,
|
||||
"assetId": "2e7ffdba-8fcf-40b6-a93c-026dc1f5dca3",
|
||||
"bounds": null,
|
||||
"completed": false,
|
||||
"deviceLinkChannelInput": null,
|
||||
"duration": null,
|
||||
"isCopy": false,
|
||||
"number": 3,
|
||||
"text": "foo",
|
||||
"textReviewAnnotation": null,
|
||||
"timestampMicroseconds": 17058708,
|
||||
"insertedAt": "2026-09-13T02:24:07.439183Z",
|
||||
"editedAt": null,
|
||||
"readCount": 1,
|
||||
"readByViewer": true,
|
||||
"readImpressions": {
|
||||
"result": [
|
||||
{
|
||||
"type": "read",
|
||||
"user": {
|
||||
"id": "b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301",
|
||||
"__typename": "AuthenticatedUser"
|
||||
},
|
||||
"__typename": "ReadImpression"
|
||||
}
|
||||
],
|
||||
"__typename": "PaginatedReadImpressions"
|
||||
},
|
||||
"parentId": null,
|
||||
"documentPageNumber": null,
|
||||
"owner": {
|
||||
"email": "njjyl000@gmail.com",
|
||||
"id": "d57c3554-43f9-4ede-93ab-537476d7b0e6",
|
||||
"name": "apple apple",
|
||||
"avatarColor": "AQUA",
|
||||
"profileImage": {
|
||||
"image32": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=32&height=32&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image64": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=64&height=64&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image128": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=128&height=128&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image256": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=256&height=256&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"imageBase": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"original": "https://frameio-uploads-production.s3-accelerate.amazonaws.com/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?x-amz-meta-resource_id=d57c3554-43f9-4ede-93ab-537476d7b0e6&x-amz-meta-resource_type=user&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAZ5BPIQ3GOMNTLW4S%2F20260913%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260913T032725Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=8465cc8de07dd2de1a35c6ba30aee21c044a4664c250a84a90cbd29bc7b1dfac",
|
||||
"__typename": "Images"
|
||||
},
|
||||
"__typename": "AuthenticatedUser"
|
||||
},
|
||||
"commentEntities": [],
|
||||
"reactionCounts": [],
|
||||
"viewerContext": null,
|
||||
"private": false,
|
||||
"__typename": "Comment",
|
||||
"replies": [
|
||||
{
|
||||
"id": "feba3395-26f4-423c-981a-412a367dc658",
|
||||
"attachments": [],
|
||||
"annotation": null,
|
||||
"assetId": "2e7ffdba-8fcf-40b6-a93c-026dc1f5dca3",
|
||||
"bounds": null,
|
||||
"completed": false,
|
||||
"deviceLinkChannelInput": null,
|
||||
"duration": null,
|
||||
"isCopy": false,
|
||||
"number": null,
|
||||
"text": "火了",
|
||||
"textReviewAnnotation": null,
|
||||
"timestampMicroseconds": null,
|
||||
"insertedAt": "2026-09-13T02:26:42.822033Z",
|
||||
"editedAt": null,
|
||||
"readCount": 1,
|
||||
"readByViewer": true,
|
||||
"readImpressions": {
|
||||
"result": [
|
||||
{
|
||||
"type": "read",
|
||||
"user": {
|
||||
"id": "d57c3554-43f9-4ede-93ab-537476d7b0e6",
|
||||
"__typename": "AuthenticatedUser"
|
||||
},
|
||||
"__typename": "ReadImpression"
|
||||
}
|
||||
],
|
||||
"__typename": "PaginatedReadImpressions"
|
||||
},
|
||||
"parentId": "16607bc1-c9e5-4f1f-8ff9-9be71d6bab72",
|
||||
"documentPageNumber": null,
|
||||
"owner": {
|
||||
"email": "njjyl723@gmail.com",
|
||||
"id": "b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301",
|
||||
"name": "matt",
|
||||
"avatarColor": "ORANGE",
|
||||
"profileImage": {
|
||||
"image32": "https://picture.frame.io/image/convert/frameio-uploads-production/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?width=32&height=32&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4NTg0NjAsInN1YiI6InVzZXJzL2I1ZDdlMWY2LWQzYjktNGFhYS1iYjdlLThhMTMzYjc3MjMwMS9mMmRmZDM3NC0xNDZlLTRiYWItOTMwNy0zZjY0MTU3ZmIwODcvaW1hZ2UucG5nIn0.n_AUA2dO5WVKof-E5JM2zs-qEg2PmlBdFXL6EIz7U-I",
|
||||
"image64": "https://picture.frame.io/image/convert/frameio-uploads-production/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?width=64&height=64&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4NTg0NjAsInN1YiI6InVzZXJzL2I1ZDdlMWY2LWQzYjktNGFhYS1iYjdlLThhMTMzYjc3MjMwMS9mMmRmZDM3NC0xNDZlLTRiYWItOTMwNy0zZjY0MTU3ZmIwODcvaW1hZ2UucG5nIn0.n_AUA2dO5WVKof-E5JM2zs-qEg2PmlBdFXL6EIz7U-I",
|
||||
"image128": "https://picture.frame.io/image/convert/frameio-uploads-production/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?width=128&height=128&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4NTg0NjAsInN1YiI6InVzZXJzL2I1ZDdlMWY2LWQzYjktNGFhYS1iYjdlLThhMTMzYjc3MjMwMS9mMmRmZDM3NC0xNDZlLTRiYWItOTMwNy0zZjY0MTU3ZmIwODcvaW1hZ2UucG5nIn0.n_AUA2dO5WVKof-E5JM2zs-qEg2PmlBdFXL6EIz7U-I",
|
||||
"image256": "https://picture.frame.io/image/convert/frameio-uploads-production/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?width=256&height=256&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4NTg0NjAsInN1YiI6InVzZXJzL2I1ZDdlMWY2LWQzYjktNGFhYS1iYjdlLThhMTMzYjc3MjMwMS9mMmRmZDM3NC0xNDZlLTRiYWItOTMwNy0zZjY0MTU3ZmIwODcvaW1hZ2UucG5nIn0.n_AUA2dO5WVKof-E5JM2zs-qEg2PmlBdFXL6EIz7U-I",
|
||||
"imageBase": "https://picture.frame.io/image/convert/frameio-uploads-production/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4NTg0NjAsInN1YiI6InVzZXJzL2I1ZDdlMWY2LWQzYjktNGFhYS1iYjdlLThhMTMzYjc3MjMwMS9mMmRmZDM3NC0xNDZlLTRiYWItOTMwNy0zZjY0MTU3ZmIwODcvaW1hZ2UucG5nIn0.n_AUA2dO5WVKof-E5JM2zs-qEg2PmlBdFXL6EIz7U-I",
|
||||
"original": "https://frameio-uploads-production.s3-accelerate.amazonaws.com/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?x-amz-meta-resource_id=b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301&x-amz-meta-resource_type=user&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAZ5BPIQ3GOMNTLW4S%2F20260913%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260913T032725Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=6cb224ddc340bb3d6ba8636265708635bf4f97266006ef1ff9521c94ca811e9d",
|
||||
"__typename": "Images"
|
||||
},
|
||||
"__typename": "AuthenticatedUser"
|
||||
},
|
||||
"commentEntities": [],
|
||||
"reactionCounts": [],
|
||||
"viewerContext": null,
|
||||
"private": false,
|
||||
"__typename": "Comment",
|
||||
"replies": []
|
||||
},
|
||||
{
|
||||
"id": "95eb5e84-3154-450a-a970-1ce0f8ab3b49",
|
||||
"attachments": [],
|
||||
"annotation": null,
|
||||
"assetId": "2e7ffdba-8fcf-40b6-a93c-026dc1f5dca3",
|
||||
"bounds": null,
|
||||
"completed": false,
|
||||
"deviceLinkChannelInput": null,
|
||||
"duration": null,
|
||||
"isCopy": false,
|
||||
"number": null,
|
||||
"text": "@matt 很棒",
|
||||
"textReviewAnnotation": null,
|
||||
"timestampMicroseconds": null,
|
||||
"insertedAt": "2026-09-13T02:28:06.605972Z",
|
||||
"editedAt": null,
|
||||
"readCount": 0,
|
||||
"readByViewer": true,
|
||||
"readImpressions": {
|
||||
"result": [],
|
||||
"__typename": "PaginatedReadImpressions"
|
||||
},
|
||||
"parentId": "16607bc1-c9e5-4f1f-8ff9-9be71d6bab72",
|
||||
"documentPageNumber": null,
|
||||
"owner": {
|
||||
"email": "njjyl000@gmail.com",
|
||||
"id": "d57c3554-43f9-4ede-93ab-537476d7b0e6",
|
||||
"name": "apple apple",
|
||||
"avatarColor": "AQUA",
|
||||
"profileImage": {
|
||||
"image32": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=32&height=32&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image64": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=64&height=64&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image128": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=128&height=128&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image256": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=256&height=256&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"imageBase": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"original": "https://frameio-uploads-production.s3-accelerate.amazonaws.com/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?x-amz-meta-resource_id=d57c3554-43f9-4ede-93ab-537476d7b0e6&x-amz-meta-resource_type=user&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAZ5BPIQ3GOMNTLW4S%2F20260913%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260913T032725Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=8465cc8de07dd2de1a35c6ba30aee21c044a4664c250a84a90cbd29bc7b1dfac",
|
||||
"__typename": "Images"
|
||||
},
|
||||
"__typename": "AuthenticatedUser"
|
||||
},
|
||||
"commentEntities": [
|
||||
{
|
||||
"id": "4772a0e6-fc52-4e4a-8a0b-c680382d0ca6",
|
||||
"type": "MENTION",
|
||||
"mentionText": "@matt",
|
||||
"userId": "b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301",
|
||||
"__typename": "CommentMention",
|
||||
"endIndex": 4,
|
||||
"startIndex": 0
|
||||
}
|
||||
],
|
||||
"reactionCounts": [],
|
||||
"viewerContext": null,
|
||||
"private": false,
|
||||
"__typename": "Comment",
|
||||
"replies": []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "9ee234e5-8e22-467a-8d8e-f471202c286e",
|
||||
"attachments": [],
|
||||
"annotation": null,
|
||||
"assetId": "2e7ffdba-8fcf-40b6-a93c-026dc1f5dca3",
|
||||
"bounds": null,
|
||||
"completed": false,
|
||||
"deviceLinkChannelInput": null,
|
||||
"duration": null,
|
||||
"isCopy": false,
|
||||
"number": 4,
|
||||
"text": "60",
|
||||
"textReviewAnnotation": null,
|
||||
"timestampMicroseconds": 23314958,
|
||||
"insertedAt": "2026-09-13T02:24:18.876068Z",
|
||||
"editedAt": null,
|
||||
"readCount": 0,
|
||||
"readByViewer": true,
|
||||
"readImpressions": {
|
||||
"result": [],
|
||||
"__typename": "PaginatedReadImpressions"
|
||||
},
|
||||
"parentId": null,
|
||||
"documentPageNumber": null,
|
||||
"owner": {
|
||||
"email": "njjyl000@gmail.com",
|
||||
"id": "d57c3554-43f9-4ede-93ab-537476d7b0e6",
|
||||
"name": "apple apple",
|
||||
"avatarColor": "AQUA",
|
||||
"profileImage": {
|
||||
"image32": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=32&height=32&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image64": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=64&height=64&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image128": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=128&height=128&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image256": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=256&height=256&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"imageBase": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"original": "https://frameio-uploads-production.s3-accelerate.amazonaws.com/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?x-amz-meta-resource_id=d57c3554-43f9-4ede-93ab-537476d7b0e6&x-amz-meta-resource_type=user&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAZ5BPIQ3GOMNTLW4S%2F20260913%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260913T032725Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=8465cc8de07dd2de1a35c6ba30aee21c044a4664c250a84a90cbd29bc7b1dfac",
|
||||
"__typename": "Images"
|
||||
},
|
||||
"__typename": "AuthenticatedUser"
|
||||
},
|
||||
"commentEntities": [],
|
||||
"reactionCounts": [],
|
||||
"viewerContext": null,
|
||||
"private": false,
|
||||
"__typename": "Comment",
|
||||
"replies": []
|
||||
},
|
||||
{
|
||||
"id": "c64c3624-36ef-4fcf-8711-7696e4fa7bc9",
|
||||
"attachments": [],
|
||||
"annotation": null,
|
||||
"assetId": "2e7ffdba-8fcf-40b6-a93c-026dc1f5dca3",
|
||||
"bounds": null,
|
||||
"completed": false,
|
||||
"deviceLinkChannelInput": null,
|
||||
"duration": null,
|
||||
"isCopy": false,
|
||||
"number": 5,
|
||||
"text": "pi",
|
||||
"textReviewAnnotation": null,
|
||||
"timestampMicroseconds": 28778750,
|
||||
"insertedAt": "2026-09-13T02:24:27.938596Z",
|
||||
"editedAt": null,
|
||||
"readCount": 0,
|
||||
"readByViewer": true,
|
||||
"readImpressions": {
|
||||
"result": [],
|
||||
"__typename": "PaginatedReadImpressions"
|
||||
},
|
||||
"parentId": null,
|
||||
"documentPageNumber": null,
|
||||
"owner": {
|
||||
"email": "njjyl000@gmail.com",
|
||||
"id": "d57c3554-43f9-4ede-93ab-537476d7b0e6",
|
||||
"name": "apple apple",
|
||||
"avatarColor": "AQUA",
|
||||
"profileImage": {
|
||||
"image32": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=32&height=32&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image64": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=64&height=64&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image128": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=128&height=128&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image256": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=256&height=256&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"imageBase": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"original": "https://frameio-uploads-production.s3-accelerate.amazonaws.com/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?x-amz-meta-resource_id=d57c3554-43f9-4ede-93ab-537476d7b0e6&x-amz-meta-resource_type=user&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAZ5BPIQ3GOMNTLW4S%2F20260913%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260913T032725Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=8465cc8de07dd2de1a35c6ba30aee21c044a4664c250a84a90cbd29bc7b1dfac",
|
||||
"__typename": "Images"
|
||||
},
|
||||
"__typename": "AuthenticatedUser"
|
||||
},
|
||||
"commentEntities": [],
|
||||
"reactionCounts": [],
|
||||
"viewerContext": null,
|
||||
"private": false,
|
||||
"__typename": "Comment",
|
||||
"replies": []
|
||||
},
|
||||
{
|
||||
"id": "900c9efb-acb8-4da0-9b61-70aa377d1713",
|
||||
"attachments": [],
|
||||
"annotation": null,
|
||||
"assetId": "2e7ffdba-8fcf-40b6-a93c-026dc1f5dca3",
|
||||
"bounds": null,
|
||||
"completed": false,
|
||||
"deviceLinkChannelInput": null,
|
||||
"duration": null,
|
||||
"isCopy": false,
|
||||
"number": 6,
|
||||
"text": "fir",
|
||||
"textReviewAnnotation": null,
|
||||
"timestampMicroseconds": 45712333,
|
||||
"insertedAt": "2026-09-13T02:24:49.188944Z",
|
||||
"editedAt": null,
|
||||
"readCount": 1,
|
||||
"readByViewer": true,
|
||||
"readImpressions": {
|
||||
"result": [
|
||||
{
|
||||
"type": "read",
|
||||
"user": {
|
||||
"id": "b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301",
|
||||
"__typename": "AuthenticatedUser"
|
||||
},
|
||||
"__typename": "ReadImpression"
|
||||
}
|
||||
],
|
||||
"__typename": "PaginatedReadImpressions"
|
||||
},
|
||||
"parentId": null,
|
||||
"documentPageNumber": null,
|
||||
"owner": {
|
||||
"email": "njjyl000@gmail.com",
|
||||
"id": "d57c3554-43f9-4ede-93ab-537476d7b0e6",
|
||||
"name": "apple apple",
|
||||
"avatarColor": "AQUA",
|
||||
"profileImage": {
|
||||
"image32": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=32&height=32&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image64": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=64&height=64&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image128": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=128&height=128&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image256": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=256&height=256&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"imageBase": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"original": "https://frameio-uploads-production.s3-accelerate.amazonaws.com/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?x-amz-meta-resource_id=d57c3554-43f9-4ede-93ab-537476d7b0e6&x-amz-meta-resource_type=user&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAZ5BPIQ3GOMNTLW4S%2F20260913%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260913T032725Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=8465cc8de07dd2de1a35c6ba30aee21c044a4664c250a84a90cbd29bc7b1dfac",
|
||||
"__typename": "Images"
|
||||
},
|
||||
"__typename": "AuthenticatedUser"
|
||||
},
|
||||
"commentEntities": [],
|
||||
"reactionCounts": [],
|
||||
"viewerContext": null,
|
||||
"private": false,
|
||||
"__typename": "Comment",
|
||||
"replies": [
|
||||
{
|
||||
"id": "a257d510-2a41-4d8d-a3cb-798c721313f5",
|
||||
"attachments": [],
|
||||
"annotation": null,
|
||||
"assetId": "2e7ffdba-8fcf-40b6-a93c-026dc1f5dca3",
|
||||
"bounds": null,
|
||||
"completed": false,
|
||||
"deviceLinkChannelInput": null,
|
||||
"duration": null,
|
||||
"isCopy": false,
|
||||
"number": null,
|
||||
"text": "这个好吃",
|
||||
"textReviewAnnotation": null,
|
||||
"timestampMicroseconds": null,
|
||||
"insertedAt": "2026-09-13T02:26:35.392129Z",
|
||||
"editedAt": null,
|
||||
"readCount": 0,
|
||||
"readByViewer": false,
|
||||
"readImpressions": {
|
||||
"result": [],
|
||||
"__typename": "PaginatedReadImpressions"
|
||||
},
|
||||
"parentId": "900c9efb-acb8-4da0-9b61-70aa377d1713",
|
||||
"documentPageNumber": null,
|
||||
"owner": {
|
||||
"email": "njjyl723@gmail.com",
|
||||
"id": "b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301",
|
||||
"name": "matt",
|
||||
"avatarColor": "ORANGE",
|
||||
"profileImage": {
|
||||
"image32": "https://picture.frame.io/image/convert/frameio-uploads-production/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?width=32&height=32&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4NTg0NjAsInN1YiI6InVzZXJzL2I1ZDdlMWY2LWQzYjktNGFhYS1iYjdlLThhMTMzYjc3MjMwMS9mMmRmZDM3NC0xNDZlLTRiYWItOTMwNy0zZjY0MTU3ZmIwODcvaW1hZ2UucG5nIn0.n_AUA2dO5WVKof-E5JM2zs-qEg2PmlBdFXL6EIz7U-I",
|
||||
"image64": "https://picture.frame.io/image/convert/frameio-uploads-production/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?width=64&height=64&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4NTg0NjAsInN1YiI6InVzZXJzL2I1ZDdlMWY2LWQzYjktNGFhYS1iYjdlLThhMTMzYjc3MjMwMS9mMmRmZDM3NC0xNDZlLTRiYWItOTMwNy0zZjY0MTU3ZmIwODcvaW1hZ2UucG5nIn0.n_AUA2dO5WVKof-E5JM2zs-qEg2PmlBdFXL6EIz7U-I",
|
||||
"image128": "https://picture.frame.io/image/convert/frameio-uploads-production/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?width=128&height=128&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4NTg0NjAsInN1YiI6InVzZXJzL2I1ZDdlMWY2LWQzYjktNGFhYS1iYjdlLThhMTMzYjc3MjMwMS9mMmRmZDM3NC0xNDZlLTRiYWItOTMwNy0zZjY0MTU3ZmIwODcvaW1hZ2UucG5nIn0.n_AUA2dO5WVKof-E5JM2zs-qEg2PmlBdFXL6EIz7U-I",
|
||||
"image256": "https://picture.frame.io/image/convert/frameio-uploads-production/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?width=256&height=256&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4NTg0NjAsInN1YiI6InVzZXJzL2I1ZDdlMWY2LWQzYjktNGFhYS1iYjdlLThhMTMzYjc3MjMwMS9mMmRmZDM3NC0xNDZlLTRiYWItOTMwNy0zZjY0MTU3ZmIwODcvaW1hZ2UucG5nIn0.n_AUA2dO5WVKof-E5JM2zs-qEg2PmlBdFXL6EIz7U-I",
|
||||
"imageBase": "https://picture.frame.io/image/convert/frameio-uploads-production/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4NTg0NjAsInN1YiI6InVzZXJzL2I1ZDdlMWY2LWQzYjktNGFhYS1iYjdlLThhMTMzYjc3MjMwMS9mMmRmZDM3NC0xNDZlLTRiYWItOTMwNy0zZjY0MTU3ZmIwODcvaW1hZ2UucG5nIn0.n_AUA2dO5WVKof-E5JM2zs-qEg2PmlBdFXL6EIz7U-I",
|
||||
"original": "https://frameio-uploads-production.s3-accelerate.amazonaws.com/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?x-amz-meta-resource_id=b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301&x-amz-meta-resource_type=user&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAZ5BPIQ3GOMNTLW4S%2F20260913%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260913T032725Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=6cb224ddc340bb3d6ba8636265708635bf4f97266006ef1ff9521c94ca811e9d",
|
||||
"__typename": "Images"
|
||||
},
|
||||
"__typename": "AuthenticatedUser"
|
||||
},
|
||||
"commentEntities": [],
|
||||
"reactionCounts": [],
|
||||
"viewerContext": null,
|
||||
"private": false,
|
||||
"__typename": "Comment",
|
||||
"replies": []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "6c6d7ffd-d3f7-4f65-9672-e4a106a9a99c",
|
||||
"attachments": [],
|
||||
"annotation": null,
|
||||
"assetId": "2e7ffdba-8fcf-40b6-a93c-026dc1f5dca3",
|
||||
"bounds": null,
|
||||
"completed": false,
|
||||
"deviceLinkChannelInput": null,
|
||||
"duration": null,
|
||||
"isCopy": false,
|
||||
"number": 7,
|
||||
"text": "run",
|
||||
"textReviewAnnotation": null,
|
||||
"timestampMicroseconds": 104145708,
|
||||
"insertedAt": "2026-09-13T02:25:00.981832Z",
|
||||
"editedAt": null,
|
||||
"readCount": 0,
|
||||
"readByViewer": true,
|
||||
"readImpressions": {
|
||||
"result": [],
|
||||
"__typename": "PaginatedReadImpressions"
|
||||
},
|
||||
"parentId": null,
|
||||
"documentPageNumber": null,
|
||||
"owner": {
|
||||
"email": "njjyl000@gmail.com",
|
||||
"id": "d57c3554-43f9-4ede-93ab-537476d7b0e6",
|
||||
"name": "apple apple",
|
||||
"avatarColor": "AQUA",
|
||||
"profileImage": {
|
||||
"image32": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=32&height=32&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image64": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=64&height=64&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image128": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=128&height=128&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image256": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=256&height=256&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"imageBase": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"original": "https://frameio-uploads-production.s3-accelerate.amazonaws.com/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?x-amz-meta-resource_id=d57c3554-43f9-4ede-93ab-537476d7b0e6&x-amz-meta-resource_type=user&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAZ5BPIQ3GOMNTLW4S%2F20260913%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260913T032725Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=8465cc8de07dd2de1a35c6ba30aee21c044a4664c250a84a90cbd29bc7b1dfac",
|
||||
"__typename": "Images"
|
||||
},
|
||||
"__typename": "AuthenticatedUser"
|
||||
},
|
||||
"commentEntities": [],
|
||||
"reactionCounts": [],
|
||||
"viewerContext": null,
|
||||
"private": false,
|
||||
"__typename": "Comment",
|
||||
"replies": []
|
||||
},
|
||||
{
|
||||
"id": "de262b66-e732-4790-aae7-180b0837a3e3",
|
||||
"attachments": [],
|
||||
"annotation": null,
|
||||
"assetId": "2e7ffdba-8fcf-40b6-a93c-026dc1f5dca3",
|
||||
"bounds": null,
|
||||
"completed": false,
|
||||
"deviceLinkChannelInput": null,
|
||||
"duration": null,
|
||||
"isCopy": false,
|
||||
"number": 8,
|
||||
"text": "good",
|
||||
"textReviewAnnotation": null,
|
||||
"timestampMicroseconds": 114405958,
|
||||
"insertedAt": "2026-09-13T02:25:16.882041Z",
|
||||
"editedAt": null,
|
||||
"readCount": 0,
|
||||
"readByViewer": true,
|
||||
"readImpressions": {
|
||||
"result": [],
|
||||
"__typename": "PaginatedReadImpressions"
|
||||
},
|
||||
"parentId": null,
|
||||
"documentPageNumber": null,
|
||||
"owner": {
|
||||
"email": "njjyl000@gmail.com",
|
||||
"id": "d57c3554-43f9-4ede-93ab-537476d7b0e6",
|
||||
"name": "apple apple",
|
||||
"avatarColor": "AQUA",
|
||||
"profileImage": {
|
||||
"image32": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=32&height=32&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image64": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=64&height=64&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image128": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=128&height=128&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image256": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=256&height=256&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"imageBase": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"original": "https://frameio-uploads-production.s3-accelerate.amazonaws.com/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?x-amz-meta-resource_id=d57c3554-43f9-4ede-93ab-537476d7b0e6&x-amz-meta-resource_type=user&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAZ5BPIQ3GOMNTLW4S%2F20260913%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260913T032725Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=8465cc8de07dd2de1a35c6ba30aee21c044a4664c250a84a90cbd29bc7b1dfac",
|
||||
"__typename": "Images"
|
||||
},
|
||||
"__typename": "AuthenticatedUser"
|
||||
},
|
||||
"commentEntities": [],
|
||||
"reactionCounts": [],
|
||||
"viewerContext": null,
|
||||
"private": false,
|
||||
"__typename": "Comment",
|
||||
"replies": []
|
||||
},
|
||||
{
|
||||
"id": "10c73ebe-791f-487c-b4cc-ead5bf07dadb",
|
||||
"attachments": [],
|
||||
"annotation": null,
|
||||
"assetId": "2e7ffdba-8fcf-40b6-a93c-026dc1f5dca3",
|
||||
"bounds": null,
|
||||
"completed": false,
|
||||
"deviceLinkChannelInput": null,
|
||||
"duration": null,
|
||||
"isCopy": false,
|
||||
"number": 9,
|
||||
"text": "yes",
|
||||
"textReviewAnnotation": null,
|
||||
"timestampMicroseconds": 152694208,
|
||||
"insertedAt": "2026-09-13T02:26:00.908615Z",
|
||||
"editedAt": null,
|
||||
"readCount": 0,
|
||||
"readByViewer": false,
|
||||
"readImpressions": {
|
||||
"result": [],
|
||||
"__typename": "PaginatedReadImpressions"
|
||||
},
|
||||
"parentId": null,
|
||||
"documentPageNumber": null,
|
||||
"owner": {
|
||||
"email": "njjyl723@gmail.com",
|
||||
"id": "b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301",
|
||||
"name": "matt",
|
||||
"avatarColor": "ORANGE",
|
||||
"profileImage": {
|
||||
"image32": "https://picture.frame.io/image/convert/frameio-uploads-production/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?width=32&height=32&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4NTg0NjAsInN1YiI6InVzZXJzL2I1ZDdlMWY2LWQzYjktNGFhYS1iYjdlLThhMTMzYjc3MjMwMS9mMmRmZDM3NC0xNDZlLTRiYWItOTMwNy0zZjY0MTU3ZmIwODcvaW1hZ2UucG5nIn0.n_AUA2dO5WVKof-E5JM2zs-qEg2PmlBdFXL6EIz7U-I",
|
||||
"image64": "https://picture.frame.io/image/convert/frameio-uploads-production/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?width=64&height=64&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4NTg0NjAsInN1YiI6InVzZXJzL2I1ZDdlMWY2LWQzYjktNGFhYS1iYjdlLThhMTMzYjc3MjMwMS9mMmRmZDM3NC0xNDZlLTRiYWItOTMwNy0zZjY0MTU3ZmIwODcvaW1hZ2UucG5nIn0.n_AUA2dO5WVKof-E5JM2zs-qEg2PmlBdFXL6EIz7U-I",
|
||||
"image128": "https://picture.frame.io/image/convert/frameio-uploads-production/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?width=128&height=128&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4NTg0NjAsInN1YiI6InVzZXJzL2I1ZDdlMWY2LWQzYjktNGFhYS1iYjdlLThhMTMzYjc3MjMwMS9mMmRmZDM3NC0xNDZlLTRiYWItOTMwNy0zZjY0MTU3ZmIwODcvaW1hZ2UucG5nIn0.n_AUA2dO5WVKof-E5JM2zs-qEg2PmlBdFXL6EIz7U-I",
|
||||
"image256": "https://picture.frame.io/image/convert/frameio-uploads-production/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?width=256&height=256&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4NTg0NjAsInN1YiI6InVzZXJzL2I1ZDdlMWY2LWQzYjktNGFhYS1iYjdlLThhMTMzYjc3MjMwMS9mMmRmZDM3NC0xNDZlLTRiYWItOTMwNy0zZjY0MTU3ZmIwODcvaW1hZ2UucG5nIn0.n_AUA2dO5WVKof-E5JM2zs-qEg2PmlBdFXL6EIz7U-I",
|
||||
"imageBase": "https://picture.frame.io/image/convert/frameio-uploads-production/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4NTg0NjAsInN1YiI6InVzZXJzL2I1ZDdlMWY2LWQzYjktNGFhYS1iYjdlLThhMTMzYjc3MjMwMS9mMmRmZDM3NC0xNDZlLTRiYWItOTMwNy0zZjY0MTU3ZmIwODcvaW1hZ2UucG5nIn0.n_AUA2dO5WVKof-E5JM2zs-qEg2PmlBdFXL6EIz7U-I",
|
||||
"original": "https://frameio-uploads-production.s3-accelerate.amazonaws.com/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?x-amz-meta-resource_id=b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301&x-amz-meta-resource_type=user&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAZ5BPIQ3GOMNTLW4S%2F20260913%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260913T032725Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=6cb224ddc340bb3d6ba8636265708635bf4f97266006ef1ff9521c94ca811e9d",
|
||||
"__typename": "Images"
|
||||
},
|
||||
"__typename": "AuthenticatedUser"
|
||||
},
|
||||
"commentEntities": [],
|
||||
"reactionCounts": [],
|
||||
"viewerContext": null,
|
||||
"private": false,
|
||||
"__typename": "Comment",
|
||||
"replies": []
|
||||
},
|
||||
{
|
||||
"id": "b942a666-bd3b-47ac-8ede-b4947e2db7c5",
|
||||
"attachments": [],
|
||||
"annotation": null,
|
||||
"assetId": "2e7ffdba-8fcf-40b6-a93c-026dc1f5dca3",
|
||||
"bounds": null,
|
||||
"completed": false,
|
||||
"deviceLinkChannelInput": null,
|
||||
"duration": null,
|
||||
"isCopy": false,
|
||||
"number": 10,
|
||||
"text": "楼梯",
|
||||
"textReviewAnnotation": null,
|
||||
"timestampMicroseconds": 156698208,
|
||||
"insertedAt": "2026-09-13T02:26:10.868037Z",
|
||||
"editedAt": null,
|
||||
"readCount": 0,
|
||||
"readByViewer": false,
|
||||
"readImpressions": {
|
||||
"result": [],
|
||||
"__typename": "PaginatedReadImpressions"
|
||||
},
|
||||
"parentId": null,
|
||||
"documentPageNumber": null,
|
||||
"owner": {
|
||||
"email": "njjyl723@gmail.com",
|
||||
"id": "b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301",
|
||||
"name": "matt",
|
||||
"avatarColor": "ORANGE",
|
||||
"profileImage": {
|
||||
"image32": "https://picture.frame.io/image/convert/frameio-uploads-production/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?width=32&height=32&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4NTg0NjAsInN1YiI6InVzZXJzL2I1ZDdlMWY2LWQzYjktNGFhYS1iYjdlLThhMTMzYjc3MjMwMS9mMmRmZDM3NC0xNDZlLTRiYWItOTMwNy0zZjY0MTU3ZmIwODcvaW1hZ2UucG5nIn0.n_AUA2dO5WVKof-E5JM2zs-qEg2PmlBdFXL6EIz7U-I",
|
||||
"image64": "https://picture.frame.io/image/convert/frameio-uploads-production/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?width=64&height=64&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4NTg0NjAsInN1YiI6InVzZXJzL2I1ZDdlMWY2LWQzYjktNGFhYS1iYjdlLThhMTMzYjc3MjMwMS9mMmRmZDM3NC0xNDZlLTRiYWItOTMwNy0zZjY0MTU3ZmIwODcvaW1hZ2UucG5nIn0.n_AUA2dO5WVKof-E5JM2zs-qEg2PmlBdFXL6EIz7U-I",
|
||||
"image128": "https://picture.frame.io/image/convert/frameio-uploads-production/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?width=128&height=128&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4NTg0NjAsInN1YiI6InVzZXJzL2I1ZDdlMWY2LWQzYjktNGFhYS1iYjdlLThhMTMzYjc3MjMwMS9mMmRmZDM3NC0xNDZlLTRiYWItOTMwNy0zZjY0MTU3ZmIwODcvaW1hZ2UucG5nIn0.n_AUA2dO5WVKof-E5JM2zs-qEg2PmlBdFXL6EIz7U-I",
|
||||
"image256": "https://picture.frame.io/image/convert/frameio-uploads-production/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?width=256&height=256&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4NTg0NjAsInN1YiI6InVzZXJzL2I1ZDdlMWY2LWQzYjktNGFhYS1iYjdlLThhMTMzYjc3MjMwMS9mMmRmZDM3NC0xNDZlLTRiYWItOTMwNy0zZjY0MTU3ZmIwODcvaW1hZ2UucG5nIn0.n_AUA2dO5WVKof-E5JM2zs-qEg2PmlBdFXL6EIz7U-I",
|
||||
"imageBase": "https://picture.frame.io/image/convert/frameio-uploads-production/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4NTg0NjAsInN1YiI6InVzZXJzL2I1ZDdlMWY2LWQzYjktNGFhYS1iYjdlLThhMTMzYjc3MjMwMS9mMmRmZDM3NC0xNDZlLTRiYWItOTMwNy0zZjY0MTU3ZmIwODcvaW1hZ2UucG5nIn0.n_AUA2dO5WVKof-E5JM2zs-qEg2PmlBdFXL6EIz7U-I",
|
||||
"original": "https://frameio-uploads-production.s3-accelerate.amazonaws.com/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?x-amz-meta-resource_id=b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301&x-amz-meta-resource_type=user&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAZ5BPIQ3GOMNTLW4S%2F20260913%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260913T032725Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=6cb224ddc340bb3d6ba8636265708635bf4f97266006ef1ff9521c94ca811e9d",
|
||||
"__typename": "Images"
|
||||
},
|
||||
"__typename": "AuthenticatedUser"
|
||||
},
|
||||
"commentEntities": [],
|
||||
"reactionCounts": [],
|
||||
"viewerContext": null,
|
||||
"private": false,
|
||||
"__typename": "Comment",
|
||||
"replies": []
|
||||
},
|
||||
{
|
||||
"id": "446a7736-7844-4fd8-ad10-6f293209eb35",
|
||||
"attachments": [],
|
||||
"annotation": null,
|
||||
"assetId": "2e7ffdba-8fcf-40b6-a93c-026dc1f5dca3",
|
||||
"bounds": null,
|
||||
"completed": false,
|
||||
"deviceLinkChannelInput": null,
|
||||
"duration": null,
|
||||
"isCopy": false,
|
||||
"number": 11,
|
||||
"text": "起飞",
|
||||
"textReviewAnnotation": null,
|
||||
"timestampMicroseconds": 184948653,
|
||||
"insertedAt": "2026-09-13T02:27:39.516606Z",
|
||||
"editedAt": null,
|
||||
"readCount": 0,
|
||||
"readByViewer": false,
|
||||
"readImpressions": {
|
||||
"result": [],
|
||||
"__typename": "PaginatedReadImpressions"
|
||||
},
|
||||
"parentId": null,
|
||||
"documentPageNumber": null,
|
||||
"owner": {
|
||||
"email": "njjyl723@gmail.com",
|
||||
"id": "b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301",
|
||||
"name": "matt",
|
||||
"avatarColor": "ORANGE",
|
||||
"profileImage": {
|
||||
"image32": "https://picture.frame.io/image/convert/frameio-uploads-production/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?width=32&height=32&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4NTg0NjAsInN1YiI6InVzZXJzL2I1ZDdlMWY2LWQzYjktNGFhYS1iYjdlLThhMTMzYjc3MjMwMS9mMmRmZDM3NC0xNDZlLTRiYWItOTMwNy0zZjY0MTU3ZmIwODcvaW1hZ2UucG5nIn0.n_AUA2dO5WVKof-E5JM2zs-qEg2PmlBdFXL6EIz7U-I",
|
||||
"image64": "https://picture.frame.io/image/convert/frameio-uploads-production/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?width=64&height=64&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4NTg0NjAsInN1YiI6InVzZXJzL2I1ZDdlMWY2LWQzYjktNGFhYS1iYjdlLThhMTMzYjc3MjMwMS9mMmRmZDM3NC0xNDZlLTRiYWItOTMwNy0zZjY0MTU3ZmIwODcvaW1hZ2UucG5nIn0.n_AUA2dO5WVKof-E5JM2zs-qEg2PmlBdFXL6EIz7U-I",
|
||||
"image128": "https://picture.frame.io/image/convert/frameio-uploads-production/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?width=128&height=128&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4NTg0NjAsInN1YiI6InVzZXJzL2I1ZDdlMWY2LWQzYjktNGFhYS1iYjdlLThhMTMzYjc3MjMwMS9mMmRmZDM3NC0xNDZlLTRiYWItOTMwNy0zZjY0MTU3ZmIwODcvaW1hZ2UucG5nIn0.n_AUA2dO5WVKof-E5JM2zs-qEg2PmlBdFXL6EIz7U-I",
|
||||
"image256": "https://picture.frame.io/image/convert/frameio-uploads-production/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?width=256&height=256&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4NTg0NjAsInN1YiI6InVzZXJzL2I1ZDdlMWY2LWQzYjktNGFhYS1iYjdlLThhMTMzYjc3MjMwMS9mMmRmZDM3NC0xNDZlLTRiYWItOTMwNy0zZjY0MTU3ZmIwODcvaW1hZ2UucG5nIn0.n_AUA2dO5WVKof-E5JM2zs-qEg2PmlBdFXL6EIz7U-I",
|
||||
"imageBase": "https://picture.frame.io/image/convert/frameio-uploads-production/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4NTg0NjAsInN1YiI6InVzZXJzL2I1ZDdlMWY2LWQzYjktNGFhYS1iYjdlLThhMTMzYjc3MjMwMS9mMmRmZDM3NC0xNDZlLTRiYWItOTMwNy0zZjY0MTU3ZmIwODcvaW1hZ2UucG5nIn0.n_AUA2dO5WVKof-E5JM2zs-qEg2PmlBdFXL6EIz7U-I",
|
||||
"original": "https://frameio-uploads-production.s3-accelerate.amazonaws.com/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?x-amz-meta-resource_id=b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301&x-amz-meta-resource_type=user&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAZ5BPIQ3GOMNTLW4S%2F20260913%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260913T032725Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=6cb224ddc340bb3d6ba8636265708635bf4f97266006ef1ff9521c94ca811e9d",
|
||||
"__typename": "Images"
|
||||
},
|
||||
"__typename": "AuthenticatedUser"
|
||||
},
|
||||
"commentEntities": [],
|
||||
"reactionCounts": [],
|
||||
"viewerContext": null,
|
||||
"private": false,
|
||||
"__typename": "Comment",
|
||||
"replies": []
|
||||
},
|
||||
{
|
||||
"id": "d214aaec-3d0f-4d3d-8fd0-41ced84f6b49",
|
||||
"attachments": [],
|
||||
"annotation": null,
|
||||
"assetId": "2e7ffdba-8fcf-40b6-a93c-026dc1f5dca3",
|
||||
"bounds": null,
|
||||
"completed": false,
|
||||
"deviceLinkChannelInput": null,
|
||||
"duration": null,
|
||||
"isCopy": false,
|
||||
"number": 12,
|
||||
"text": "发呆",
|
||||
"textReviewAnnotation": null,
|
||||
"timestampMicroseconds": 216341125,
|
||||
"insertedAt": "2026-09-13T02:27:50.932069Z",
|
||||
"editedAt": null,
|
||||
"readCount": 0,
|
||||
"readByViewer": false,
|
||||
"readImpressions": {
|
||||
"result": [],
|
||||
"__typename": "PaginatedReadImpressions"
|
||||
},
|
||||
"parentId": null,
|
||||
"documentPageNumber": null,
|
||||
"owner": {
|
||||
"email": "njjyl723@gmail.com",
|
||||
"id": "b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301",
|
||||
"name": "matt",
|
||||
"avatarColor": "ORANGE",
|
||||
"profileImage": {
|
||||
"image32": "https://picture.frame.io/image/convert/frameio-uploads-production/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?width=32&height=32&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4NTg0NjAsInN1YiI6InVzZXJzL2I1ZDdlMWY2LWQzYjktNGFhYS1iYjdlLThhMTMzYjc3MjMwMS9mMmRmZDM3NC0xNDZlLTRiYWItOTMwNy0zZjY0MTU3ZmIwODcvaW1hZ2UucG5nIn0.n_AUA2dO5WVKof-E5JM2zs-qEg2PmlBdFXL6EIz7U-I",
|
||||
"image64": "https://picture.frame.io/image/convert/frameio-uploads-production/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?width=64&height=64&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4NTg0NjAsInN1YiI6InVzZXJzL2I1ZDdlMWY2LWQzYjktNGFhYS1iYjdlLThhMTMzYjc3MjMwMS9mMmRmZDM3NC0xNDZlLTRiYWItOTMwNy0zZjY0MTU3ZmIwODcvaW1hZ2UucG5nIn0.n_AUA2dO5WVKof-E5JM2zs-qEg2PmlBdFXL6EIz7U-I",
|
||||
"image128": "https://picture.frame.io/image/convert/frameio-uploads-production/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?width=128&height=128&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4NTg0NjAsInN1YiI6InVzZXJzL2I1ZDdlMWY2LWQzYjktNGFhYS1iYjdlLThhMTMzYjc3MjMwMS9mMmRmZDM3NC0xNDZlLTRiYWItOTMwNy0zZjY0MTU3ZmIwODcvaW1hZ2UucG5nIn0.n_AUA2dO5WVKof-E5JM2zs-qEg2PmlBdFXL6EIz7U-I",
|
||||
"image256": "https://picture.frame.io/image/convert/frameio-uploads-production/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?width=256&height=256&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4NTg0NjAsInN1YiI6InVzZXJzL2I1ZDdlMWY2LWQzYjktNGFhYS1iYjdlLThhMTMzYjc3MjMwMS9mMmRmZDM3NC0xNDZlLTRiYWItOTMwNy0zZjY0MTU3ZmIwODcvaW1hZ2UucG5nIn0.n_AUA2dO5WVKof-E5JM2zs-qEg2PmlBdFXL6EIz7U-I",
|
||||
"imageBase": "https://picture.frame.io/image/convert/frameio-uploads-production/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4NTg0NjAsInN1YiI6InVzZXJzL2I1ZDdlMWY2LWQzYjktNGFhYS1iYjdlLThhMTMzYjc3MjMwMS9mMmRmZDM3NC0xNDZlLTRiYWItOTMwNy0zZjY0MTU3ZmIwODcvaW1hZ2UucG5nIn0.n_AUA2dO5WVKof-E5JM2zs-qEg2PmlBdFXL6EIz7U-I",
|
||||
"original": "https://frameio-uploads-production.s3-accelerate.amazonaws.com/users/b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301/f2dfd374-146e-4bab-9307-3f64157fb087/image.png?x-amz-meta-resource_id=b5d7e1f6-d3b9-4aaa-bb7e-8a133b772301&x-amz-meta-resource_type=user&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAZ5BPIQ3GOMNTLW4S%2F20260913%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260913T032725Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=6cb224ddc340bb3d6ba8636265708635bf4f97266006ef1ff9521c94ca811e9d",
|
||||
"__typename": "Images"
|
||||
},
|
||||
"__typename": "AuthenticatedUser"
|
||||
},
|
||||
"commentEntities": [],
|
||||
"reactionCounts": [],
|
||||
"viewerContext": null,
|
||||
"private": false,
|
||||
"__typename": "Comment",
|
||||
"replies": []
|
||||
},
|
||||
{
|
||||
"id": "0f392cf0-6ebb-4747-ab1e-247ef8a51f56",
|
||||
"attachments": [],
|
||||
"annotation": null,
|
||||
"assetId": "2e7ffdba-8fcf-40b6-a93c-026dc1f5dca3",
|
||||
"bounds": null,
|
||||
"completed": true,
|
||||
"deviceLinkChannelInput": null,
|
||||
"duration": null,
|
||||
"isCopy": false,
|
||||
"number": 15,
|
||||
"text": "donedone",
|
||||
"textReviewAnnotation": null,
|
||||
"timestampMicroseconds": 236486250,
|
||||
"insertedAt": "2026-09-13T03:24:22.136713Z",
|
||||
"editedAt": null,
|
||||
"readCount": 0,
|
||||
"readByViewer": true,
|
||||
"readImpressions": {
|
||||
"result": [],
|
||||
"__typename": "PaginatedReadImpressions"
|
||||
},
|
||||
"parentId": null,
|
||||
"documentPageNumber": null,
|
||||
"owner": {
|
||||
"email": "njjyl000@gmail.com",
|
||||
"id": "d57c3554-43f9-4ede-93ab-537476d7b0e6",
|
||||
"name": "apple apple",
|
||||
"avatarColor": "AQUA",
|
||||
"profileImage": {
|
||||
"image32": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=32&height=32&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image64": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=64&height=64&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image128": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=128&height=128&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image256": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=256&height=256&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"imageBase": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"original": "https://frameio-uploads-production.s3-accelerate.amazonaws.com/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?x-amz-meta-resource_id=d57c3554-43f9-4ede-93ab-537476d7b0e6&x-amz-meta-resource_type=user&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAZ5BPIQ3GOMNTLW4S%2F20260913%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260913T032725Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=8465cc8de07dd2de1a35c6ba30aee21c044a4664c250a84a90cbd29bc7b1dfac",
|
||||
"__typename": "Images"
|
||||
},
|
||||
"__typename": "AuthenticatedUser"
|
||||
},
|
||||
"commentEntities": [],
|
||||
"reactionCounts": [],
|
||||
"viewerContext": null,
|
||||
"private": false,
|
||||
"__typename": "Comment",
|
||||
"replies": []
|
||||
},
|
||||
{
|
||||
"id": "1196e655-4b55-49aa-bbf1-cfcd3d953e77",
|
||||
"attachments": [],
|
||||
"annotation": "[{\"tool\":\"rect\",\"color\":\"#F27637\",\"size\":3,\"x\":0.46111759640249533,\"y\":0.5933636704745946,\"w\":0.12655248538681746,\"h\":0.18235713317601765,\"ix\":0.46111759640249533,\"iy\":0.5933636704745946,\"radius\":8},{\"tool\":\"pen\",\"color\":\"#F27637\",\"size\":3,\"xs\":[0.49638859029281013,0.4962860203822167,0.4964718801450213,0.5004429111411856,0.5097950615177086,0.5248136761386472,0.5444411060870339,0.5650652599679004,0.5850419894882918,0.6027495663088581,0.6162682474735411,0.6259698075938311,0.6324246609684362,0.6352706730150574,0.635914902394429,0.6352898979875585,0.6321778762211439,0.6260787674666312,0.6179316758248781,0.6083294906340782,0.5986696305257749,0.5904359989648261,0.5847214998320982,0.5810325085471253,0.579157605498276,0.5809748336296219,0.587564316897616,0.5993555048312521,0.6238096147668061,0.6724294049645159,0.7301097208842474,0.7797230951192147,0.8221380116707151,0.8495599836218658,0.8631331447229489,0.8706488419956249,0.8736935488153451,0.8745589480073013,0.8747031628440003,0.8747031628440003,0.8745846180278902,0.8744115381894989,0.8744115381894989],\"ys\":[0.39414678115324464,0.39414678115324464,0.3934573507481103,0.3869447796114276,0.3737487486936077,0.3577664983927653,0.34446220535663924,0.338810002234773,0.3378471010332838,0.33933990392826474,0.3452598978800798,0.3559717269389447,0.3695380818733861,0.3852297725134282,0.40507508548349436,0.42639048148291775,0.44445238293197514,0.4580131068652383,0.46637171604907796,0.47035444973464763,0.47120345781665224,0.4686280337386087,0.4631296793619792,0.45265719233580587,0.4333759098228947,0.4044198328072509,0.36918484672121,0.3360409206814236,0.30446956189243946,0.2729095630362671,0.24974244902328074,0.23407928062833744,0.22115672050687235,0.21397183231211453,0.21209727201985867,0.21195483217266153,0.21195483217266153,0.21276961356054758,0.2142282387266377,0.2154817485541547,0.2162509433151104,0.21623955889968471,0.21623955889968471]}]",
|
||||
"assetId": "2e7ffdba-8fcf-40b6-a93c-026dc1f5dca3",
|
||||
"bounds": null,
|
||||
"completed": false,
|
||||
"deviceLinkChannelInput": null,
|
||||
"duration": null,
|
||||
"isCopy": false,
|
||||
"number": 16,
|
||||
"text": "markup",
|
||||
"textReviewAnnotation": null,
|
||||
"timestampMicroseconds": 241407833,
|
||||
"insertedAt": "2026-09-13T03:24:48.692521Z",
|
||||
"editedAt": null,
|
||||
"readCount": 0,
|
||||
"readByViewer": true,
|
||||
"readImpressions": {
|
||||
"result": [],
|
||||
"__typename": "PaginatedReadImpressions"
|
||||
},
|
||||
"parentId": null,
|
||||
"documentPageNumber": null,
|
||||
"owner": {
|
||||
"email": "njjyl000@gmail.com",
|
||||
"id": "d57c3554-43f9-4ede-93ab-537476d7b0e6",
|
||||
"name": "apple apple",
|
||||
"avatarColor": "AQUA",
|
||||
"profileImage": {
|
||||
"image32": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=32&height=32&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image64": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=64&height=64&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image128": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=128&height=128&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image256": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=256&height=256&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"imageBase": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"original": "https://frameio-uploads-production.s3-accelerate.amazonaws.com/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?x-amz-meta-resource_id=d57c3554-43f9-4ede-93ab-537476d7b0e6&x-amz-meta-resource_type=user&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAZ5BPIQ3GOMNTLW4S%2F20260913%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260913T032725Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=8465cc8de07dd2de1a35c6ba30aee21c044a4664c250a84a90cbd29bc7b1dfac",
|
||||
"__typename": "Images"
|
||||
},
|
||||
"__typename": "AuthenticatedUser"
|
||||
},
|
||||
"commentEntities": [],
|
||||
"reactionCounts": [],
|
||||
"viewerContext": null,
|
||||
"private": false,
|
||||
"__typename": "Comment",
|
||||
"replies": []
|
||||
},
|
||||
{
|
||||
"id": "39dfb715-4502-4fd7-8bd1-d3462642ae84",
|
||||
"attachments": [],
|
||||
"annotation": null,
|
||||
"assetId": "2e7ffdba-8fcf-40b6-a93c-026dc1f5dca3",
|
||||
"bounds": null,
|
||||
"completed": false,
|
||||
"deviceLinkChannelInput": null,
|
||||
"duration": null,
|
||||
"isCopy": false,
|
||||
"number": 14,
|
||||
"text": "notime",
|
||||
"textReviewAnnotation": null,
|
||||
"timestampMicroseconds": null,
|
||||
"insertedAt": "2026-09-13T03:24:09.554210Z",
|
||||
"editedAt": null,
|
||||
"readCount": 0,
|
||||
"readByViewer": true,
|
||||
"readImpressions": {
|
||||
"result": [],
|
||||
"__typename": "PaginatedReadImpressions"
|
||||
},
|
||||
"parentId": null,
|
||||
"documentPageNumber": null,
|
||||
"owner": {
|
||||
"email": "njjyl000@gmail.com",
|
||||
"id": "d57c3554-43f9-4ede-93ab-537476d7b0e6",
|
||||
"name": "apple apple",
|
||||
"avatarColor": "AQUA",
|
||||
"profileImage": {
|
||||
"image32": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=32&height=32&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image64": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=64&height=64&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image128": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=128&height=128&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image256": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=256&height=256&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"imageBase": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"original": "https://frameio-uploads-production.s3-accelerate.amazonaws.com/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?x-amz-meta-resource_id=d57c3554-43f9-4ede-93ab-537476d7b0e6&x-amz-meta-resource_type=user&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAZ5BPIQ3GOMNTLW4S%2F20260913%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260913T032725Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=8465cc8de07dd2de1a35c6ba30aee21c044a4664c250a84a90cbd29bc7b1dfac",
|
||||
"__typename": "Images"
|
||||
},
|
||||
"__typename": "AuthenticatedUser"
|
||||
},
|
||||
"commentEntities": [],
|
||||
"reactionCounts": [],
|
||||
"viewerContext": null,
|
||||
"private": false,
|
||||
"__typename": "Comment",
|
||||
"replies": []
|
||||
},
|
||||
{
|
||||
"id": "d68d79d0-218d-499f-900e-7335c4e7c294",
|
||||
"attachments": [],
|
||||
"annotation": null,
|
||||
"assetId": "2e7ffdba-8fcf-40b6-a93c-026dc1f5dca3",
|
||||
"bounds": null,
|
||||
"completed": false,
|
||||
"deviceLinkChannelInput": null,
|
||||
"duration": null,
|
||||
"isCopy": false,
|
||||
"number": 13,
|
||||
"text": "网吧",
|
||||
"textReviewAnnotation": null,
|
||||
"timestampMicroseconds": null,
|
||||
"insertedAt": "2026-09-13T03:13:58.235530Z",
|
||||
"editedAt": null,
|
||||
"readCount": 0,
|
||||
"readByViewer": true,
|
||||
"readImpressions": {
|
||||
"result": [],
|
||||
"__typename": "PaginatedReadImpressions"
|
||||
},
|
||||
"parentId": null,
|
||||
"documentPageNumber": null,
|
||||
"owner": {
|
||||
"email": "njjyl000@gmail.com",
|
||||
"id": "d57c3554-43f9-4ede-93ab-537476d7b0e6",
|
||||
"name": "apple apple",
|
||||
"avatarColor": "AQUA",
|
||||
"profileImage": {
|
||||
"image32": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=32&height=32&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image64": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=64&height=64&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image128": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=128&height=128&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"image256": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?width=256&height=256&resize=fill&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"imageBase": "https://picture.frame.io/image/convert/frameio-uploads-production/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3OTE4MDQyNjUsInN1YiI6InVzZXJzL2Q1N2MzNTU0LTQzZjktNGVkZS05M2FiLTUzNzQ3NmQ3YjBlNi9mODQ0OWJjYy1mZDg3LTQ2NWYtYTQ1Ny02ZDNkY2MxMjFmZTcvaW1hZ2UucG5nIn0.cH1L-b1vpNSDb4FPRo14h_srbhY2OHUYDFZN33iXEy4",
|
||||
"original": "https://frameio-uploads-production.s3-accelerate.amazonaws.com/users/d57c3554-43f9-4ede-93ab-537476d7b0e6/f8449bcc-fd87-465f-a457-6d3dcc121fe7/image.png?x-amz-meta-resource_id=d57c3554-43f9-4ede-93ab-537476d7b0e6&x-amz-meta-resource_type=user&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAZ5BPIQ3GOMNTLW4S%2F20260913%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260913T032725Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=8465cc8de07dd2de1a35c6ba30aee21c044a4664c250a84a90cbd29bc7b1dfac",
|
||||
"__typename": "Images"
|
||||
},
|
||||
"__typename": "AuthenticatedUser"
|
||||
},
|
||||
"commentEntities": [],
|
||||
"reactionCounts": [],
|
||||
"viewerContext": null,
|
||||
"private": false,
|
||||
"__typename": "Comment",
|
||||
"replies": []
|
||||
}
|
||||
],
|
||||
"__typename": "PaginatedComments"
|
||||
},
|
||||
"__typename": "VideoAsset"
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,666 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
||||
<!DOCTYPE Avid:StreamItems SYSTEM "AvidSettingsFile.dtd">
|
||||
<Avid:StreamItems xmlns:Avid="http://www.avid.com">
|
||||
<Avid:XMLFileData>
|
||||
<AvProp name="DomainMagic" type="string">Domain</AvProp>
|
||||
<AvProp name="DomainKey" type="char4">58424a44</AvProp>
|
||||
<AvClass id="ATTR">
|
||||
<AvProp id="ATTR" name="__OMFI:ATTR:NumItems" type="int32">7</AvProp>
|
||||
<List id="OMFI:ATTR:AttrRefs">
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LONG_CREATE_DATE</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1789269849</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COLOR</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">Magenta</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_USER</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">apple apple</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COM</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">notime</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TC</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">0</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TRK</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">TC1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LENGTH</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem/>
|
||||
</List>
|
||||
</AvClass>
|
||||
<AvClass id="ATTR">
|
||||
<AvProp id="ATTR" name="__OMFI:ATTR:NumItems" type="int32">7</AvProp>
|
||||
<List id="OMFI:ATTR:AttrRefs">
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LONG_CREATE_DATE</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1789269238</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COLOR</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">Magenta</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_USER</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">apple apple</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COM</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">网吧</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TC</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TRK</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">TC1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LENGTH</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem/>
|
||||
</List>
|
||||
</AvClass>
|
||||
<AvClass id="ATTR">
|
||||
<AvProp id="ATTR" name="__OMFI:ATTR:NumItems" type="int32">7</AvProp>
|
||||
<List id="OMFI:ATTR:AttrRefs">
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LONG_CREATE_DATE</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1789266219</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COLOR</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">Blue</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_USER</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">apple apple</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COM</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">[apple apple Sep 13, 2026 · 02:23] fly</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TC</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">51</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TRK</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">V1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LENGTH</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem/>
|
||||
</List>
|
||||
</AvClass>
|
||||
<AvClass id="ATTR">
|
||||
<AvProp id="ATTR" name="__OMFI:ATTR:NumItems" type="int32">7</AvProp>
|
||||
<List id="OMFI:ATTR:AttrRefs">
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LONG_CREATE_DATE</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1789266228</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COLOR</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">Blue</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_USER</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">apple apple</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COM</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">[apple apple Sep 13, 2026 · 02:23] yellow</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TC</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">115</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TRK</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">V1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LENGTH</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem/>
|
||||
</List>
|
||||
</AvClass>
|
||||
<AvClass id="ATTR">
|
||||
<AvProp id="ATTR" name="__OMFI:ATTR:NumItems" type="int32">7</AvProp>
|
||||
<List id="OMFI:ATTR:AttrRefs">
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LONG_CREATE_DATE</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1789266247</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COLOR</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">Blue</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_USER</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">apple apple, matt</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COM</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">[apple apple Sep 13, 2026 · 02:24] foo
|
||||
[matt Sep 13, 2026 · 02:26] 火了
|
||||
[apple apple Sep 13, 2026 · 02:28] @matt 很棒</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TC</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">408</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TRK</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">V1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LENGTH</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem/>
|
||||
</List>
|
||||
</AvClass>
|
||||
<AvClass id="ATTR">
|
||||
<AvProp id="ATTR" name="__OMFI:ATTR:NumItems" type="int32">7</AvProp>
|
||||
<List id="OMFI:ATTR:AttrRefs">
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LONG_CREATE_DATE</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1789266258</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COLOR</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">Blue</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_USER</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">apple apple</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COM</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">[apple apple Sep 13, 2026 · 02:24] 60</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TC</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">558</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TRK</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">V1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LENGTH</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem/>
|
||||
</List>
|
||||
</AvClass>
|
||||
<AvClass id="ATTR">
|
||||
<AvProp id="ATTR" name="__OMFI:ATTR:NumItems" type="int32">7</AvProp>
|
||||
<List id="OMFI:ATTR:AttrRefs">
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LONG_CREATE_DATE</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1789266267</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COLOR</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">Blue</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_USER</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">apple apple</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COM</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">[apple apple Sep 13, 2026 · 02:24] pi</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TC</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">690</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TRK</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">V1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LENGTH</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem/>
|
||||
</List>
|
||||
</AvClass>
|
||||
<AvClass id="ATTR">
|
||||
<AvProp id="ATTR" name="__OMFI:ATTR:NumItems" type="int32">7</AvProp>
|
||||
<List id="OMFI:ATTR:AttrRefs">
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LONG_CREATE_DATE</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1789266289</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COLOR</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">Blue</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_USER</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">apple apple, matt</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COM</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">[apple apple Sep 13, 2026 · 02:24] fir
|
||||
[matt Sep 13, 2026 · 02:26] 这个好吃</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TC</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">1095</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TRK</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">V1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LENGTH</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem/>
|
||||
</List>
|
||||
</AvClass>
|
||||
<AvClass id="ATTR">
|
||||
<AvProp id="ATTR" name="__OMFI:ATTR:NumItems" type="int32">7</AvProp>
|
||||
<List id="OMFI:ATTR:AttrRefs">
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LONG_CREATE_DATE</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1789266300</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COLOR</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">Blue</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_USER</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">apple apple</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COM</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">[apple apple Sep 13, 2026 · 02:25] run</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TC</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">2496</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TRK</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">V1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LENGTH</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem/>
|
||||
</List>
|
||||
</AvClass>
|
||||
<AvClass id="ATTR">
|
||||
<AvProp id="ATTR" name="__OMFI:ATTR:NumItems" type="int32">7</AvProp>
|
||||
<List id="OMFI:ATTR:AttrRefs">
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LONG_CREATE_DATE</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1789266316</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COLOR</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">Blue</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_USER</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">apple apple</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COM</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">[apple apple Sep 13, 2026 · 02:25] good</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TC</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">2742</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TRK</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">V1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LENGTH</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem/>
|
||||
</List>
|
||||
</AvClass>
|
||||
<AvClass id="ATTR">
|
||||
<AvProp id="ATTR" name="__OMFI:ATTR:NumItems" type="int32">7</AvProp>
|
||||
<List id="OMFI:ATTR:AttrRefs">
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LONG_CREATE_DATE</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1789266360</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COLOR</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">Blue</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_USER</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">matt</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COM</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">[matt Sep 13, 2026 · 02:26] yes</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TC</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">3660</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TRK</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">V1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LENGTH</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem/>
|
||||
</List>
|
||||
</AvClass>
|
||||
<AvClass id="ATTR">
|
||||
<AvProp id="ATTR" name="__OMFI:ATTR:NumItems" type="int32">7</AvProp>
|
||||
<List id="OMFI:ATTR:AttrRefs">
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LONG_CREATE_DATE</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1789266370</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COLOR</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">Blue</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_USER</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">matt</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COM</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">[matt Sep 13, 2026 · 02:26] 楼梯</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TC</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">3756</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TRK</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">V1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LENGTH</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem/>
|
||||
</List>
|
||||
</AvClass>
|
||||
<AvClass id="ATTR">
|
||||
<AvProp id="ATTR" name="__OMFI:ATTR:NumItems" type="int32">7</AvProp>
|
||||
<List id="OMFI:ATTR:AttrRefs">
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LONG_CREATE_DATE</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1789266459</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COLOR</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">Blue</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_USER</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">matt</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COM</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">[matt Sep 13, 2026 · 02:27] 起飞</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TC</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">4434</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TRK</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">V1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LENGTH</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem/>
|
||||
</List>
|
||||
</AvClass>
|
||||
<AvClass id="ATTR">
|
||||
<AvProp id="ATTR" name="__OMFI:ATTR:NumItems" type="int32">7</AvProp>
|
||||
<List id="OMFI:ATTR:AttrRefs">
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LONG_CREATE_DATE</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1789266470</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COLOR</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">Blue</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_USER</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">matt</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COM</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">[matt Sep 13, 2026 · 02:27] 发呆</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TC</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">5187</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TRK</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">V1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LENGTH</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem/>
|
||||
</List>
|
||||
</AvClass>
|
||||
<AvClass id="ATTR">
|
||||
<AvProp id="ATTR" name="__OMFI:ATTR:NumItems" type="int32">7</AvProp>
|
||||
<List id="OMFI:ATTR:AttrRefs">
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LONG_CREATE_DATE</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1789269862</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COLOR</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">Blue</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_USER</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">apple apple</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COM</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">[apple apple Sep 13, 2026 · 03:24] donedone</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TC</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">5670</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TRK</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">V1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LENGTH</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem/>
|
||||
</List>
|
||||
</AvClass>
|
||||
<AvClass id="ATTR">
|
||||
<AvProp id="ATTR" name="__OMFI:ATTR:NumItems" type="int32">7</AvProp>
|
||||
<List id="OMFI:ATTR:AttrRefs">
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LONG_CREATE_DATE</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1789269888</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COLOR</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">Blue</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_USER</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">apple apple</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_COM</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">[apple apple Sep 13, 2026 · 03:24] (Annotation) markup</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TC</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">5787</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">2</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_TRK</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:StringAttribute" type="string">V1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Kind" type="int32">1</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:Name" type="string">_ATN_CRM_LENGTH</AvProp>
|
||||
<AvProp id="ATTR" name="OMFI:ATTB:IntAttribute" type="int32">1</AvProp>
|
||||
</ListElem>
|
||||
<ListElem/>
|
||||
</List>
|
||||
</AvClass>
|
||||
</Avid:XMLFileData></Avid:StreamItems>
|
||||
@@ -0,0 +1,460 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE xmeml>
|
||||
<xmeml version="4">
|
||||
<sequence id="sequence" TL.SQAudioVisibleBase="0" TL.SQVideoVisibleBase="0" TL.SQVisibleBaseTime="0" TL.SQAVDividerPosition="0.5" TL.SQHideShyTracks="0" TL.SQHeaderWidth="292" Monitor.ProgramZoomOut="0" Monitor.ProgramZoomIn="0" TL.SQTimePerPixel="0.19999999999999998" MZ.EditLine="0" MZ.Sequence.PreviewFrameSizeHeight="1080" MZ.Sequence.PreviewFrameSizeWidth="1920" MZ.Sequence.AudioTimeDisplayFormat="200" MZ.Sequence.PreviewRenderingClassID="1061109567" MZ.Sequence.PreviewRenderingPresetCodec="1634755439" MZ.Sequence.PreviewRenderingPresetPath="EncoderPresets/SequencePreview/795454d9-d3c2-429d-9474-923ab13b7018/QuickTime.epr" MZ.Sequence.PreviewUseMaxRenderQuality="false" MZ.Sequence.PreviewUseMaxBitDepth="false" MZ.Sequence.EditingModeGUID="795454d9-d3c2-429d-9474-923ab13b7018" MZ.Sequence.VideoTimeDisplayFormat="101" MZ.WorkOutPoint="4612930560000" MZ.WorkInPoint="0" explodedTracks="true">
|
||||
<uuid>7dcf0da5-fbe2-4459-adcc-aa46dd4e3822</uuid>
|
||||
<duration>6287</duration>
|
||||
<rate>
|
||||
<timebase>24</timebase>
|
||||
<ntsc>FALSE</ntsc>
|
||||
</rate>
|
||||
<name>YTDown_YouTube_Ed-Sheeran-Pokemon-Celestial-Official-Vi_Media_23g5HBOg3Ic_002_720p.mp4 2026-9-13 03-26-31</name>
|
||||
<media>
|
||||
<video>
|
||||
<format>
|
||||
<samplecharacteristics>
|
||||
<rate>
|
||||
<timebase>24</timebase>
|
||||
<ntsc>FALSE</ntsc>
|
||||
</rate>
|
||||
<codec>
|
||||
<name>Apple ProRes 422</name>
|
||||
<appspecificdata>
|
||||
<appname>Final Cut Pro</appname>
|
||||
<appmanufacturer>Apple Inc.</appmanufacturer>
|
||||
<appversion>7.0</appversion>
|
||||
<data>
|
||||
<qtcodec>
|
||||
<codecname>Apple ProRes 422</codecname>
|
||||
<codectypename>Apple ProRes 422</codectypename>
|
||||
<codecname>Apple ProRes 422</codecname>
|
||||
<codectypecode>apcn</codectypecode>
|
||||
<codecvendorcode>appl</codecvendorcode>
|
||||
<spatialquality>1024</spatialquality>
|
||||
<temporalquality>0</temporalquality>
|
||||
<keyframerate>0</keyframerate>
|
||||
<datarate>0</datarate>
|
||||
</qtcodec>
|
||||
</data>
|
||||
</appspecificdata>
|
||||
</codec>
|
||||
<width>1920</width>
|
||||
<height>1080</height>
|
||||
<anamorphic>FALSE</anamorphic>
|
||||
<pixelaspectratio>square</pixelaspectratio>
|
||||
<fielddominance>none</fielddominance>
|
||||
<colordepth>24</colordepth>
|
||||
</samplecharacteristics>
|
||||
</format>
|
||||
<track TL.SQTrackShy="0" TL.SQTrackExpandedHeight="25" TL.SQTrackExpanded="0" MZ.TrackTargeted="0">
|
||||
<enabled>TRUE</enabled>
|
||||
<locked>FALSE</locked>
|
||||
<generatoritem id="clipitem-1">
|
||||
<name>Marker Color Matte (2026-9-13 03-26-31)</name>
|
||||
<enabled>TRUE</enabled>
|
||||
<duration>6287</duration>
|
||||
<rate>
|
||||
<timebase>24</timebase>
|
||||
<ntsc>FALSE</ntsc>
|
||||
</rate>
|
||||
<start>0</start>
|
||||
<end>6287</end>
|
||||
<in>0</in>
|
||||
<out>6287</out>
|
||||
<alphatype>none</alphatype>
|
||||
<effect>
|
||||
<name>Color</name>
|
||||
<effectid>Color</effectid>
|
||||
<effectcategory>Matte</effectcategory>
|
||||
<effecttype>generator</effecttype>
|
||||
<mediatype>video</mediatype>
|
||||
<parameter authoringApp="PremierePro">
|
||||
<parameterid>fillcolor</parameterid>
|
||||
<name>Color</name>
|
||||
<value>
|
||||
<alpha>0</alpha>
|
||||
<red>0</red>
|
||||
<green>0</green>
|
||||
<blue>0</blue>
|
||||
</value>
|
||||
</parameter>
|
||||
</effect>
|
||||
<filter>
|
||||
<effect>
|
||||
<name>Opacity</name>
|
||||
<effectid>opacity</effectid>
|
||||
<effectcategory>motion</effectcategory>
|
||||
<effecttype>motion</effecttype>
|
||||
<mediatype>video</mediatype>
|
||||
<pproBypass>false</pproBypass>
|
||||
<parameter authoringApp="PremierePro">
|
||||
<parameterid>opacity</parameterid>
|
||||
<name>opacity</name>
|
||||
<valuemin>0</valuemin>
|
||||
<valuemax>100</valuemax>
|
||||
<value>0</value>
|
||||
</parameter>
|
||||
</effect>
|
||||
</filter>
|
||||
<marker>
|
||||
<comment>fly</comment>
|
||||
<name>apple apple</name>
|
||||
<in>51</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>yellow</comment>
|
||||
<name>apple apple</name>
|
||||
<in>115</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>foo</comment>
|
||||
<name>apple apple</name>
|
||||
<in>408</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>火了</comment>
|
||||
<name>matt</name>
|
||||
<in>408</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>@matt 很棒</comment>
|
||||
<name>apple apple</name>
|
||||
<in>408</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>60</comment>
|
||||
<name>apple apple</name>
|
||||
<in>558</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>pi</comment>
|
||||
<name>apple apple</name>
|
||||
<in>690</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>fir</comment>
|
||||
<name>apple apple</name>
|
||||
<in>1095</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>这个好吃</comment>
|
||||
<name>matt</name>
|
||||
<in>1095</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>run</comment>
|
||||
<name>apple apple</name>
|
||||
<in>2496</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>good</comment>
|
||||
<name>apple apple</name>
|
||||
<in>2742</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>yes</comment>
|
||||
<name>matt</name>
|
||||
<in>3660</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>楼梯</comment>
|
||||
<name>matt</name>
|
||||
<in>3756</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>起飞</comment>
|
||||
<name>matt</name>
|
||||
<in>4434</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>发呆</comment>
|
||||
<name>matt</name>
|
||||
<in>5187</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>donedone</comment>
|
||||
<name>apple apple</name>
|
||||
<in>5670</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>markup</comment>
|
||||
<name>apple apple</name>
|
||||
<in>5787</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>notime</comment>
|
||||
<name>apple apple</name>
|
||||
<in>0</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>网吧</comment>
|
||||
<name>apple apple</name>
|
||||
<in>0</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
|
||||
</generatoritem>
|
||||
</track>
|
||||
</video>
|
||||
<audio>
|
||||
<numOutputChannels>2</numOutputChannels>
|
||||
<format>
|
||||
<samplecharacteristics>
|
||||
<depth>16</depth>
|
||||
<samplerate>48000</samplerate>
|
||||
</samplecharacteristics>
|
||||
</format>
|
||||
<outputs>
|
||||
<groups>
|
||||
<index>1</index>
|
||||
<numchannels>1</numchannels>
|
||||
<downmix>0</downmix>
|
||||
<channel>
|
||||
<index>1</index>
|
||||
</channel>
|
||||
</groups>
|
||||
<groups>
|
||||
<index>2</index>
|
||||
<numchannels>1</numchannels>
|
||||
<downmix>0</downmix>
|
||||
<channel>
|
||||
<index>2</index>
|
||||
</channel>
|
||||
</groups>
|
||||
</outputs>
|
||||
<track TL.SQTrackAudioKeyframeStyle="0" TL.SQTrackShy="0" TL.SQTrackExpandedHeight="25" TL.SQTrackExpanded="0" MZ.TrackTargeted="1" PannerCurrentValue="0.5" PannerIsInverted="true" PannerStartKeyframe="-91445760000000000,0.5,0,0,0,0,0,0" PannerName="Balance" currentExplodedTrackIndex="0" totalExplodedTrackCount="2" premiereTrackType="Stereo">
|
||||
<enabled>TRUE</enabled>
|
||||
<locked>FALSE</locked>
|
||||
<outputchannelindex>1</outputchannelindex>
|
||||
</track>
|
||||
<track TL.SQTrackAudioKeyframeStyle="0" TL.SQTrackShy="0" TL.SQTrackExpandedHeight="25" TL.SQTrackExpanded="0" MZ.TrackTargeted="1" PannerCurrentValue="0.5" PannerIsInverted="true" PannerStartKeyframe="-91445760000000000,0.5,0,0,0,0,0,0" PannerName="Balance" currentExplodedTrackIndex="1" totalExplodedTrackCount="2" premiereTrackType="Stereo">
|
||||
<enabled>TRUE</enabled>
|
||||
<locked>FALSE</locked>
|
||||
<outputchannelindex>2</outputchannelindex>
|
||||
</track>
|
||||
<track TL.SQTrackAudioKeyframeStyle="0" TL.SQTrackShy="0" TL.SQTrackExpandedHeight="25" TL.SQTrackExpanded="0" MZ.TrackTargeted="1" PannerCurrentValue="0.5" PannerIsInverted="true" PannerStartKeyframe="-91445760000000000,0.5,0,0,0,0,0,0" PannerName="Balance" currentExplodedTrackIndex="0" totalExplodedTrackCount="2" premiereTrackType="Stereo">
|
||||
<enabled>TRUE</enabled>
|
||||
<locked>FALSE</locked>
|
||||
<outputchannelindex>1</outputchannelindex>
|
||||
</track>
|
||||
<track TL.SQTrackAudioKeyframeStyle="0" TL.SQTrackShy="0" TL.SQTrackExpandedHeight="25" TL.SQTrackExpanded="0" MZ.TrackTargeted="1" PannerCurrentValue="0.5" PannerIsInverted="true" PannerStartKeyframe="-91445760000000000,0.5,0,0,0,0,0,0" PannerName="Balance" currentExplodedTrackIndex="1" totalExplodedTrackCount="2" premiereTrackType="Stereo">
|
||||
<enabled>TRUE</enabled>
|
||||
<locked>FALSE</locked>
|
||||
<outputchannelindex>2</outputchannelindex>
|
||||
</track>
|
||||
<track TL.SQTrackAudioKeyframeStyle="0" TL.SQTrackShy="0" TL.SQTrackExpandedHeight="25" TL.SQTrackExpanded="0" MZ.TrackTargeted="1" PannerCurrentValue="0.5" PannerIsInverted="true" PannerStartKeyframe="-91445760000000000,0.5,0,0,0,0,0,0" PannerName="Balance" currentExplodedTrackIndex="0" totalExplodedTrackCount="2" premiereTrackType="Stereo">
|
||||
<enabled>TRUE</enabled>
|
||||
<locked>FALSE</locked>
|
||||
<outputchannelindex>1</outputchannelindex>
|
||||
</track>
|
||||
<track TL.SQTrackAudioKeyframeStyle="0" TL.SQTrackShy="0" TL.SQTrackExpandedHeight="25" TL.SQTrackExpanded="0" MZ.TrackTargeted="1" PannerCurrentValue="0.5" PannerIsInverted="true" PannerStartKeyframe="-91445760000000000,0.5,0,0,0,0,0,0" PannerName="Balance" currentExplodedTrackIndex="1" totalExplodedTrackCount="2" premiereTrackType="Stereo">
|
||||
<enabled>TRUE</enabled>
|
||||
<locked>FALSE</locked>
|
||||
<outputchannelindex>2</outputchannelindex>
|
||||
</track>
|
||||
<track TL.SQTrackAudioKeyframeStyle="0" TL.SQTrackShy="0" TL.SQTrackExpandedHeight="25" TL.SQTrackExpanded="0" MZ.TrackTargeted="1" PannerCurrentValue="0.5" PannerIsInverted="true" PannerStartKeyframe="-91445760000000000,0.5,0,0,0,0,0,0" PannerName="Balance" currentExplodedTrackIndex="0" totalExplodedTrackCount="2" premiereTrackType="Stereo">
|
||||
<enabled>TRUE</enabled>
|
||||
<locked>FALSE</locked>
|
||||
<outputchannelindex>1</outputchannelindex>
|
||||
</track>
|
||||
<track TL.SQTrackAudioKeyframeStyle="0" TL.SQTrackShy="0" TL.SQTrackExpandedHeight="25" TL.SQTrackExpanded="0" MZ.TrackTargeted="1" PannerCurrentValue="0.5" PannerIsInverted="true" PannerStartKeyframe="-91445760000000000,0.5,0,0,0,0,0,0" PannerName="Balance" currentExplodedTrackIndex="1" totalExplodedTrackCount="2" premiereTrackType="Stereo">
|
||||
<enabled>TRUE</enabled>
|
||||
<locked>FALSE</locked>
|
||||
<outputchannelindex>2</outputchannelindex>
|
||||
</track>
|
||||
</audio>
|
||||
</media>
|
||||
<timecode>
|
||||
<rate>
|
||||
<timebase>24</timebase>
|
||||
<ntsc>FALSE</ntsc>
|
||||
</rate>
|
||||
<string>00:00:00:00</string>
|
||||
<frame>0</frame>
|
||||
<displayformat>NDF</displayformat>
|
||||
</timecode>
|
||||
<labels>
|
||||
<label2>Iris</label2>
|
||||
</labels>
|
||||
<logginginfo>
|
||||
<description/>
|
||||
<scene/>
|
||||
<shottake/>
|
||||
<lognote/>
|
||||
<good/>
|
||||
<originalvideofilename/>
|
||||
<originalaudiofilename/>
|
||||
</logginginfo>
|
||||
<marker>
|
||||
<comment>fly</comment>
|
||||
<name>apple apple</name>
|
||||
<in>51</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>yellow</comment>
|
||||
<name>apple apple</name>
|
||||
<in>115</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>foo</comment>
|
||||
<name>apple apple</name>
|
||||
<in>408</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>火了</comment>
|
||||
<name>matt</name>
|
||||
<in>408</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>@matt 很棒</comment>
|
||||
<name>apple apple</name>
|
||||
<in>408</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>60</comment>
|
||||
<name>apple apple</name>
|
||||
<in>558</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>pi</comment>
|
||||
<name>apple apple</name>
|
||||
<in>690</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>fir</comment>
|
||||
<name>apple apple</name>
|
||||
<in>1095</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>这个好吃</comment>
|
||||
<name>matt</name>
|
||||
<in>1095</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>run</comment>
|
||||
<name>apple apple</name>
|
||||
<in>2496</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>good</comment>
|
||||
<name>apple apple</name>
|
||||
<in>2742</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>yes</comment>
|
||||
<name>matt</name>
|
||||
<in>3660</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>楼梯</comment>
|
||||
<name>matt</name>
|
||||
<in>3756</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>起飞</comment>
|
||||
<name>matt</name>
|
||||
<in>4434</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>发呆</comment>
|
||||
<name>matt</name>
|
||||
<in>5187</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>donedone</comment>
|
||||
<name>apple apple</name>
|
||||
<in>5670</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>markup</comment>
|
||||
<name>apple apple</name>
|
||||
<in>5787</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>notime</comment>
|
||||
<name>apple apple</name>
|
||||
<in>0</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
<marker>
|
||||
<comment>网吧</comment>
|
||||
<name>apple apple</name>
|
||||
<in>0</in>
|
||||
<out>-1</out>
|
||||
<pproColor>4294741314</pproColor>
|
||||
</marker>
|
||||
|
||||
</sequence>
|
||||
</xmeml>
|
||||
@@ -0,0 +1,74 @@
|
||||
TITLE: YTDown_YouTube_Ed-Sheeran-Pokemon-Celestial-Official-Vi_Media_23g5HBOg3Ic_002_720p.mp4
|
||||
FCM: NON DROP FRAME
|
||||
|
||||
001 001 C V 00:00:02:03 00:00:02:03 00:00:02:03 00:00:02:03
|
||||
@apple apple, Sep 13 13 03:26am
|
||||
fly |C:ResolveColorPurple |M:apple apple |D:0
|
||||
|
||||
002 001 C V 00:00:04:19 00:00:04:19 00:00:04:19 00:00:04:19
|
||||
@apple apple, Sep 13 13 03:26am
|
||||
yellow |C:ResolveColorPurple |M:apple apple |D:0
|
||||
|
||||
003 001 C V 00:00:17:00 00:00:17:00 00:00:17:00 00:00:17:00
|
||||
@apple apple, Sep 13 13 03:26am
|
||||
foo
|
||||
@matt, Sep 13 03:26am [Reply]
|
||||
^ 火了
|
||||
@apple apple, Sep 13 03:26am [Reply]
|
||||
^ @matt 很棒 |C:ResolveColorPurple |M:apple apple |D:0
|
||||
|
||||
004 001 C V 00:00:23:06 00:00:23:06 00:00:23:06 00:00:23:06
|
||||
@apple apple, Sep 13 13 03:26am
|
||||
60 |C:ResolveColorPurple |M:apple apple |D:0
|
||||
|
||||
005 001 C V 00:00:28:18 00:00:28:18 00:00:28:18 00:00:28:18
|
||||
@apple apple, Sep 13 13 03:26am
|
||||
pi |C:ResolveColorPurple |M:apple apple |D:0
|
||||
|
||||
006 001 C V 00:00:45:15 00:00:45:15 00:00:45:15 00:00:45:15
|
||||
@apple apple, Sep 13 13 03:26am
|
||||
fir
|
||||
@matt, Sep 13 03:26am [Reply]
|
||||
^ 这个好吃 |C:ResolveColorPurple |M:apple apple |D:0
|
||||
|
||||
007 001 C V 00:01:44:00 00:01:44:00 00:01:44:00 00:01:44:00
|
||||
@apple apple, Sep 13 13 03:26am
|
||||
run |C:ResolveColorPurple |M:apple apple |D:0
|
||||
|
||||
008 001 C V 00:01:54:06 00:01:54:06 00:01:54:06 00:01:54:06
|
||||
@apple apple, Sep 13 13 03:26am
|
||||
good |C:ResolveColorPurple |M:apple apple |D:0
|
||||
|
||||
009 001 C V 00:02:32:12 00:02:32:12 00:02:32:12 00:02:32:12
|
||||
@matt, Sep 13 13 03:26am
|
||||
yes |C:ResolveColorPurple |M:matt |D:0
|
||||
|
||||
010 001 C V 00:02:36:12 00:02:36:12 00:02:36:12 00:02:36:12
|
||||
@matt, Sep 13 13 03:26am
|
||||
楼梯 |C:ResolveColorPurple |M:matt |D:0
|
||||
|
||||
011 001 C V 00:03:04:18 00:03:04:18 00:03:04:18 00:03:04:18
|
||||
@matt, Sep 13 13 03:26am
|
||||
起飞 |C:ResolveColorPurple |M:matt |D:0
|
||||
|
||||
012 001 C V 00:03:36:03 00:03:36:03 00:03:36:03 00:03:36:03
|
||||
@matt, Sep 13 13 03:26am
|
||||
发呆 |C:ResolveColorPurple |M:matt |D:0
|
||||
|
||||
013 001 C V 00:03:56:06 00:03:56:06 00:03:56:06 00:03:56:06
|
||||
@apple apple, Sep 13 13 03:26am
|
||||
donedone |C:ResolveColorPurple |M:apple apple |D:0
|
||||
|
||||
014 001 C V 00:04:01:03 00:04:01:03 00:04:01:03 00:04:01:03
|
||||
@apple apple, Sep 13 13 03:26am
|
||||
markup |C:ResolveColorPurple |M:apple apple |D:0
|
||||
|
||||
015 001 C V 00:00:00:00 00:00:00:00 00:00:00:00 00:00:00:00
|
||||
@apple apple, Sep 13 13 03:26am
|
||||
notime |C:ResolveColorPurple |M:apple apple |D:0
|
||||
|
||||
016 001 C V 00:00:00:00 00:00:00:00 00:00:00:00 00:00:00:00
|
||||
@apple apple, Sep 13 13 03:26am
|
||||
网吧 |C:ResolveColorPurple |M:apple apple |D:0
|
||||
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
import type { CommentExportFormat } from '@shumai/dtos'
|
||||
import type { ExportAssetMetadata, ExportCommentItem, ExportOptions, ExportResult } from './types'
|
||||
import { exportToFcpFioJson } from './exporters/fcp-fiojson'
|
||||
import { exportToMediaComposerXml } from './exporters/media-composer-xml'
|
||||
import { exportToPremiereXml } from './exporters/premiere-xml'
|
||||
import { exportToResolveEdl } from './exporters/resolve-edl'
|
||||
|
||||
export * from './types'
|
||||
export * from './timecode'
|
||||
export * from './exporters/fcp-fiojson'
|
||||
export * from './exporters/media-composer-xml'
|
||||
export * from './exporters/premiere-xml'
|
||||
export * from './exporters/resolve-edl'
|
||||
|
||||
export const exportCommentsToFormat = (
|
||||
metadata: ExportAssetMetadata,
|
||||
comments: ExportCommentItem[],
|
||||
format: CommentExportFormat,
|
||||
options?: ExportOptions,
|
||||
): ExportResult => {
|
||||
switch (format) {
|
||||
case 'fcp-fiojson':
|
||||
return exportToFcpFioJson(metadata, comments, options)
|
||||
case 'media-composer-xml':
|
||||
return exportToMediaComposerXml(metadata, comments, options)
|
||||
case 'premiere-xml':
|
||||
return exportToPremiereXml(metadata, comments, options)
|
||||
case 'resolve-edl':
|
||||
return exportToResolveEdl(metadata, comments, options)
|
||||
default: {
|
||||
const _exhaustive: never = format
|
||||
throw new Error(`Unsupported comment export format: ${_exhaustive}`)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,95 @@
|
||||
import { describe, expect, it } from 'vitest'
|
||||
import {
|
||||
formatDateAvid,
|
||||
formatDateEdl,
|
||||
formatDatePremiere,
|
||||
frameToTimecode,
|
||||
getEffectiveDropFrame,
|
||||
isDropFrameRate,
|
||||
secondToFrame,
|
||||
} from './timecode'
|
||||
|
||||
describe('Timecode and Frame utilities', () => {
|
||||
it('detects drop-frame frame rates correctly', () => {
|
||||
expect(isDropFrameRate(29.97)).toBe(true)
|
||||
expect(isDropFrameRate(59.94)).toBe(true)
|
||||
expect(isDropFrameRate(24)).toBe(false)
|
||||
expect(isDropFrameRate(23.976)).toBe(false)
|
||||
expect(isDropFrameRate(25)).toBe(false)
|
||||
expect(isDropFrameRate(30)).toBe(false)
|
||||
expect(isDropFrameRate(60)).toBe(false)
|
||||
})
|
||||
|
||||
it('determines effective drop-frame setting from fps and startTimecode separator', () => {
|
||||
// 29.97 with no startTimecode defaults to DF
|
||||
expect(getEffectiveDropFrame(29.97)).toBe(true)
|
||||
// 29.97 with NDF startTimecode (:) overrides to NDF
|
||||
expect(getEffectiveDropFrame(29.97, '01:00:00:00')).toBe(false)
|
||||
// 29.97 with DF startTimecode (;) remains DF
|
||||
expect(getEffectiveDropFrame(29.97, '01:00:00;00')).toBe(true)
|
||||
// 24 fps always defaults to NDF
|
||||
expect(getEffectiveDropFrame(24)).toBe(false)
|
||||
expect(getEffectiveDropFrame(24, '01:00:00:00')).toBe(false)
|
||||
// forced flag takes precedence
|
||||
expect(getEffectiveDropFrame(29.97, '01:00:00:00', true)).toBe(true)
|
||||
})
|
||||
|
||||
it('converts second to frame index with 0.45 offset', () => {
|
||||
expect(secondToFrame(null, 24)).toBe(0)
|
||||
expect(secondToFrame(undefined, 24)).toBe(0)
|
||||
expect(secondToFrame(0, 24)).toBe(0)
|
||||
// 2.168833s at 24000/1001 = 51.999992 -> +0.45 = 52.449992 -> 52 or 51?
|
||||
expect(secondToFrame(1.0, 24)).toBe(24)
|
||||
expect(secondToFrame(1.5, 24)).toBe(36)
|
||||
})
|
||||
|
||||
it('formats non-drop-frame timecode correctly', () => {
|
||||
expect(frameToTimecode(0, 24)).toBe('00:00:00:00')
|
||||
expect(frameToTimecode(24, 24)).toBe('00:00:01:00')
|
||||
expect(frameToTimecode(51, 24)).toBe('00:00:02:03')
|
||||
expect(frameToTimecode(115, 24)).toBe('00:00:04:19')
|
||||
expect(frameToTimecode(408, 24)).toBe('00:00:17:00')
|
||||
expect(frameToTimecode(2496, 24)).toBe('00:01:44:00')
|
||||
})
|
||||
|
||||
it('formats drop-frame timecode correctly for 29.97 fps', () => {
|
||||
expect(frameToTimecode(0, 29.97)).toBe('00:00:00;00')
|
||||
expect(frameToTimecode(30, 29.97)).toBe('00:00:01;00')
|
||||
// At minute 1, frames 0 and 1 are dropped in DF timecode
|
||||
expect(frameToTimecode(1799, 29.97)).toBe('00:00:59;29')
|
||||
expect(frameToTimecode(1800, 29.97)).toBe('00:01:00;02')
|
||||
})
|
||||
|
||||
it('respects startTimecode offset', () => {
|
||||
expect(frameToTimecode(0, 24, false, '01:00:00:00')).toBe('01:00:00:00')
|
||||
expect(frameToTimecode(24, 24, false, '01:00:00:00')).toBe('01:00:01:00')
|
||||
})
|
||||
|
||||
it('formats EDL dates matching expected reference patterns', () => {
|
||||
const testDate = new Date('2026-09-13T03:26:00Z')
|
||||
expect(formatDateEdl(testDate, false)).toBe('Sep 13 13 03:26am')
|
||||
expect(formatDateEdl(testDate, true)).toBe('Sep 13 03:26am')
|
||||
})
|
||||
|
||||
it('formats Avid dates matching expected reference patterns', () => {
|
||||
const testDate = new Date('2026-09-13T03:24:00Z')
|
||||
expect(formatDateAvid(testDate)).toBe('Sep 13, 2026 · 03:24')
|
||||
})
|
||||
|
||||
it('formats Premiere date matching expected sequence name suffix', () => {
|
||||
const testDate = new Date('2026-09-13T03:26:31Z')
|
||||
expect(formatDatePremiere(testDate)).toBe('2026-9-13 03-26-31')
|
||||
})
|
||||
|
||||
it('formats dates in custom timezones correctly', () => {
|
||||
const testDate = new Date('2026-09-13T03:26:31Z')
|
||||
// America/New_York is UTC-4 (EDT) -> Sep 12, 2026 23:26:31
|
||||
expect(formatDateEdl(testDate, false, 'America/New_York')).toBe('Sep 12 12 11:26pm')
|
||||
expect(formatDateEdl(testDate, true, 'America/New_York')).toBe('Sep 12 11:26pm')
|
||||
expect(formatDateAvid(testDate, 'America/New_York')).toBe('Sep 12, 2026 · 23:26')
|
||||
expect(formatDatePremiere(testDate, 'America/New_York')).toBe('2026-9-12 23-26-31')
|
||||
|
||||
// Asia/Shanghai is UTC+8 -> Sep 13, 2026 11:26:31
|
||||
expect(formatDatePremiere(testDate, 'Asia/Shanghai')).toBe('2026-9-13 11-26-31')
|
||||
})
|
||||
})
|
||||
@@ -0,0 +1,192 @@
|
||||
export const isDropFrameRate = (fps: number): boolean => {
|
||||
const frameRateRound = Math.round(fps)
|
||||
const isFractional = fps !== frameRateRound
|
||||
return isFractional && (frameRateRound === 30 || frameRateRound === 60)
|
||||
}
|
||||
|
||||
export const getEffectiveDropFrame = (
|
||||
fps: number,
|
||||
startTimecode?: string | null,
|
||||
forcedDropFrame?: boolean,
|
||||
): boolean => {
|
||||
if (forcedDropFrame !== undefined) {
|
||||
return forcedDropFrame
|
||||
}
|
||||
if (startTimecode) {
|
||||
const parts = startTimecode.match(/^([012]\d):(\d\d):(\d\d)(:|;|\.)(\d+)$/)
|
||||
if (parts) {
|
||||
return parts[4] !== ':'
|
||||
}
|
||||
}
|
||||
return isDropFrameRate(fps)
|
||||
}
|
||||
|
||||
export const secondToFrame = (second: number | null | undefined, fps: number): number => {
|
||||
if (second === null || second === undefined || isNaN(second)) {
|
||||
return 0
|
||||
}
|
||||
return Math.floor(second * fps)
|
||||
}
|
||||
|
||||
export const frameToTimecode = (
|
||||
frameIndex: number,
|
||||
fps: number,
|
||||
forcedDropFrame?: boolean,
|
||||
startTimecode?: string | null,
|
||||
): string => {
|
||||
const frameRateRound = Math.round(fps) || 24
|
||||
const dropFrame = getEffectiveDropFrame(fps, startTimecode, forcedDropFrame)
|
||||
|
||||
let startFrameCount = 0
|
||||
if (startTimecode) {
|
||||
const parts = startTimecode.match(/^([012]\d):(\d\d):(\d\d)(:|;|\.)(\d+)$/)
|
||||
if (parts) {
|
||||
const hours = parseInt(parts[1], 10)
|
||||
const minutes = parseInt(parts[2], 10)
|
||||
const seconds = parseInt(parts[3], 10)
|
||||
const frames = parseInt(parts[5], 10)
|
||||
startFrameCount = (hours * 3600 + minutes * 60 + seconds) * frameRateRound + frames
|
||||
if (dropFrame) {
|
||||
const totalMinutes = hours * 60 + minutes
|
||||
const df = frameRateRound < 45 ? 2 : 4
|
||||
startFrameCount -= df * (totalMinutes - Math.floor(totalMinutes / 10))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
let fc = frameIndex + startFrameCount
|
||||
|
||||
if (dropFrame) {
|
||||
const df = frameRateRound < 45 ? 2 : 4
|
||||
const d = Math.floor(fc / ((17982 * df) / 2))
|
||||
let m = fc % ((17982 * df) / 2)
|
||||
if (m < df) {
|
||||
m = m + df
|
||||
}
|
||||
fc += 9 * df * d + df * Math.floor((m - df) / ((1798 * df) / 2))
|
||||
}
|
||||
|
||||
const frames = fc % frameRateRound
|
||||
const seconds = Math.floor(fc / frameRateRound) % 60
|
||||
const minutes = Math.floor(fc / (frameRateRound * 60)) % 60
|
||||
const hours = Math.floor(fc / (frameRateRound * 3600)) % 24
|
||||
|
||||
const separator = dropFrame ? ';' : ':'
|
||||
return `${hours.toString().padStart(2, '0')}:${minutes.toString().padStart(2, '0')}:${seconds.toString().padStart(2, '0')}${separator}${frames.toString().padStart(2, '0')}`
|
||||
}
|
||||
|
||||
export interface DateTimeParts {
|
||||
year: number
|
||||
month: number
|
||||
day: number
|
||||
hour: number
|
||||
minute: number
|
||||
second: number
|
||||
}
|
||||
|
||||
export const getDateTimeParts = (date: Date, timeZone?: string): DateTimeParts => {
|
||||
if (!timeZone || timeZone.toUpperCase() === 'UTC') {
|
||||
return {
|
||||
year: date.getUTCFullYear(),
|
||||
month: date.getUTCMonth() + 1,
|
||||
day: date.getUTCDate(),
|
||||
hour: date.getUTCHours(),
|
||||
minute: date.getUTCMinutes(),
|
||||
second: date.getUTCSeconds(),
|
||||
}
|
||||
}
|
||||
|
||||
const formatter = new Intl.DateTimeFormat('en-US', {
|
||||
timeZone,
|
||||
year: 'numeric',
|
||||
month: 'numeric',
|
||||
day: 'numeric',
|
||||
hour: 'numeric',
|
||||
minute: 'numeric',
|
||||
second: 'numeric',
|
||||
hour12: false,
|
||||
})
|
||||
|
||||
const parts = formatter.formatToParts(date)
|
||||
let year = 0
|
||||
let month = 0
|
||||
let day = 0
|
||||
let hour = 0
|
||||
let minute = 0
|
||||
let second = 0
|
||||
|
||||
for (const part of parts) {
|
||||
if (part.type === 'year') year = parseInt(part.value, 10)
|
||||
else if (part.type === 'month') month = parseInt(part.value, 10)
|
||||
else if (part.type === 'day') day = parseInt(part.value, 10)
|
||||
else if (part.type === 'hour') {
|
||||
const val = parseInt(part.value, 10)
|
||||
hour = val === 24 ? 0 : val
|
||||
} else if (part.type === 'minute') minute = parseInt(part.value, 10)
|
||||
else if (part.type === 'second') second = parseInt(part.value, 10)
|
||||
}
|
||||
|
||||
return { year, month, day, hour, minute, second }
|
||||
}
|
||||
|
||||
export const formatDateEdl = (date: Date, isReply = false, timeZone?: string): string => {
|
||||
const months = [
|
||||
'Jan',
|
||||
'Feb',
|
||||
'Mar',
|
||||
'Apr',
|
||||
'May',
|
||||
'Jun',
|
||||
'Jul',
|
||||
'Aug',
|
||||
'Sep',
|
||||
'Oct',
|
||||
'Nov',
|
||||
'Dec',
|
||||
]
|
||||
const parts = getDateTimeParts(date, timeZone)
|
||||
const month = months[parts.month - 1]
|
||||
const day = parts.day
|
||||
const hours = parts.hour
|
||||
const minutes = parts.minute.toString().padStart(2, '0')
|
||||
const ampm = hours >= 12 ? 'pm' : 'am'
|
||||
const hour12 = (hours % 12 || 12).toString().padStart(2, '0')
|
||||
const timeStr = `${hour12}:${minutes}${ampm}`
|
||||
|
||||
if (isReply) {
|
||||
return `${month} ${day} ${timeStr}`
|
||||
}
|
||||
return `${month} ${day} ${day} ${timeStr}`
|
||||
}
|
||||
|
||||
export const formatDateAvid = (date: Date, timeZone?: string): string => {
|
||||
const months = [
|
||||
'Jan',
|
||||
'Feb',
|
||||
'Mar',
|
||||
'Apr',
|
||||
'May',
|
||||
'Jun',
|
||||
'Jul',
|
||||
'Aug',
|
||||
'Sep',
|
||||
'Oct',
|
||||
'Nov',
|
||||
'Dec',
|
||||
]
|
||||
const parts = getDateTimeParts(date, timeZone)
|
||||
const month = months[parts.month - 1]
|
||||
const day = parts.day
|
||||
const year = parts.year
|
||||
const hours = parts.hour.toString().padStart(2, '0')
|
||||
const minutes = parts.minute.toString().padStart(2, '0')
|
||||
return `${month} ${day}, ${year} · ${hours}:${minutes}`
|
||||
}
|
||||
|
||||
export const formatDatePremiere = (date: Date, timeZone?: string): string => {
|
||||
const parts = getDateTimeParts(date, timeZone)
|
||||
const hours = parts.hour.toString().padStart(2, '0')
|
||||
const minutes = parts.minute.toString().padStart(2, '0')
|
||||
const seconds = parts.second.toString().padStart(2, '0')
|
||||
return `${parts.year}-${parts.month}-${parts.day} ${hours}-${minutes}-${seconds}`
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
export interface ExportCommentUser {
|
||||
id: string
|
||||
name: string
|
||||
image?: string | null
|
||||
email?: string | null
|
||||
avatarColor?: string | null
|
||||
}
|
||||
|
||||
export interface ExportCommentItem {
|
||||
id: string
|
||||
message: string | null
|
||||
second: number | null
|
||||
createdAt: Date | string
|
||||
isCompleted: boolean
|
||||
creator: ExportCommentUser
|
||||
annotations?: unknown
|
||||
replies?: ExportCommentItem[]
|
||||
}
|
||||
|
||||
export interface ExportAssetMetadata {
|
||||
id: string
|
||||
name: string
|
||||
fps: number
|
||||
duration: number
|
||||
totalFrames: number
|
||||
startTimecode?: string | null
|
||||
width?: number
|
||||
height?: number
|
||||
rawMedia?: unknown
|
||||
}
|
||||
|
||||
export interface ExportOptions {
|
||||
exportDate?: Date
|
||||
timeZone?: string
|
||||
}
|
||||
|
||||
export interface ExportResult {
|
||||
content: string
|
||||
filename: string
|
||||
mimeType: string
|
||||
}
|
||||
@@ -30,3 +30,4 @@ export * from './quota/quota-service'
|
||||
export * from './kanban/kanban'
|
||||
export * from './media-generation/media-generation'
|
||||
export * from './sandbox'
|
||||
export * from './asset/comments-export'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@shumai/db",
|
||||
"version": "0.4.4",
|
||||
"version": "0.4.5",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"main": "./src/index.ts",
|
||||
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
-- CreateIndex
|
||||
CREATE INDEX "asset_comments_asset_id_idx" ON "asset_comments"("asset_id");
|
||||
@@ -657,6 +657,7 @@ model AssetComment {
|
||||
|
||||
attachments AssetCommentAttachment[] @relation("CommentToAttachment")
|
||||
|
||||
@@index([assetId])
|
||||
@@map("asset_comments")
|
||||
}
|
||||
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@shumai/dtos",
|
||||
"version": "0.4.4",
|
||||
"version": "0.4.5",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"main": "./src/index.ts",
|
||||
|
||||
@@ -83,6 +83,7 @@ export const assetInfoSchema = z.object({
|
||||
startTime: z.number().optional().nullable(),
|
||||
endTime: z.number().optional().nullable(),
|
||||
hasAgentsMd: z.boolean().optional(),
|
||||
commentsCount: z.number().optional(),
|
||||
|
||||
media: z
|
||||
.object({
|
||||
@@ -339,3 +340,35 @@ export const getDownloadLinksResponseSchema = z.object({
|
||||
files: z.array(downloadLinkItemSchema),
|
||||
})
|
||||
export type GetDownloadLinksResponse = z.infer<typeof getDownloadLinksResponseSchema>
|
||||
|
||||
export const commentExportFormatSchema = z.enum([
|
||||
'fcp-fiojson',
|
||||
'media-composer-xml',
|
||||
'premiere-xml',
|
||||
'resolve-edl',
|
||||
])
|
||||
export type CommentExportFormat = z.infer<typeof commentExportFormatSchema>
|
||||
|
||||
export const exportCommentsRequestSchema = z.object({
|
||||
format: commentExportFormatSchema,
|
||||
timeZone: z
|
||||
.string()
|
||||
.refine(
|
||||
(tz) => {
|
||||
try {
|
||||
Intl.DateTimeFormat(undefined, { timeZone: tz })
|
||||
return true
|
||||
} catch {
|
||||
return false
|
||||
}
|
||||
},
|
||||
{ message: 'Invalid IANA time zone identifier' },
|
||||
)
|
||||
.optional(),
|
||||
})
|
||||
export type ExportCommentsRequest = z.infer<typeof exportCommentsRequestSchema>
|
||||
|
||||
/** @deprecated Use exportCommentsRequestSchema */
|
||||
export const exportCommentsQuerySchema = exportCommentsRequestSchema
|
||||
/** @deprecated Use ExportCommentsRequest */
|
||||
export type ExportCommentsQuery = ExportCommentsRequest
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@shumai/e2e",
|
||||
"version": "0.4.4",
|
||||
"version": "0.4.5",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@shumai/tableprinter",
|
||||
"version": "0.4.4",
|
||||
"version": "0.4.5",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"main": "./src/index.ts",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@shumai/transcode",
|
||||
"version": "0.4.4",
|
||||
"version": "0.4.5",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"main": "./src/index.ts",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// @vitest-environment happy-dom
|
||||
import { cleanup, render, screen } from '@testing-library/react'
|
||||
import { cleanup, fireEvent, render, screen } from '@testing-library/react'
|
||||
import React from 'react'
|
||||
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'
|
||||
import { FileBrowser } from './file-browser'
|
||||
@@ -42,6 +42,14 @@ vi.mock('@/ui/hooks/use-permissions', () => ({
|
||||
}),
|
||||
}))
|
||||
|
||||
vi.mock('@/ui/components/file-viewer', () => ({
|
||||
FileViewer: ({ file }: { file: AssetInfo }) => (
|
||||
<div data-testid="mock-file-viewer">
|
||||
<span>Viewer for {file.name}</span>
|
||||
</div>
|
||||
),
|
||||
}))
|
||||
|
||||
vi.mock('@/ui/api/client', () => ({
|
||||
client: {
|
||||
api: {
|
||||
@@ -54,10 +62,14 @@ vi.mock('@/ui/api/client', () => ({
|
||||
$post: vi.fn().mockResolvedValue({ ok: true, json: async () => ({}) }),
|
||||
},
|
||||
':fileId': {
|
||||
$get: vi.fn().mockResolvedValue({
|
||||
$get: vi.fn().mockImplementation(async ({ param }: { param: { fileId: string } }) => ({
|
||||
ok: true,
|
||||
json: async () => ({}),
|
||||
}),
|
||||
json: async () => ({
|
||||
id: param.fileId,
|
||||
name: param.fileId === 'file-2' ? 'second_document.pdf' : 'photo.jpg',
|
||||
type: 'file',
|
||||
}),
|
||||
})),
|
||||
$put: vi.fn().mockResolvedValue({
|
||||
ok: true,
|
||||
json: async () => ({}),
|
||||
@@ -199,4 +211,105 @@ describe('FileBrowser', () => {
|
||||
expect(screen.queryByText(/This folder is empty|此文件夹为空/i)).toBeNull()
|
||||
expect(screen.getByTestId('file-browser-loading-skeleton')).toBeDefined()
|
||||
})
|
||||
|
||||
it('opens quick preview when Space is pressed on a selected file', async () => {
|
||||
renderComponent({
|
||||
selectedIds: new Set(['file-1']),
|
||||
selectedItem: mockFile,
|
||||
})
|
||||
|
||||
fireEvent.keyDown(window, { key: ' ', code: 'Space' })
|
||||
|
||||
expect(screen.getByTestId('file-preview-dialog-content')).toBeDefined()
|
||||
expect(await screen.findByTestId('mock-file-viewer')).toBeDefined()
|
||||
})
|
||||
|
||||
it('opens quick preview when Space is pressed on a selected folder', () => {
|
||||
renderComponent({
|
||||
selectedIds: new Set(['folder-1']),
|
||||
selectedItem: mockFolder,
|
||||
})
|
||||
|
||||
fireEvent.keyDown(window, { key: ' ', code: 'Space' })
|
||||
|
||||
expect(screen.getByTestId('file-preview-dialog-content')).toBeDefined()
|
||||
expect(screen.getByTestId('folder-preview-icon')).toBeDefined()
|
||||
})
|
||||
|
||||
it('previews the latest selected item when multiple items are selected', async () => {
|
||||
const mockFile2: AssetInfo = {
|
||||
id: 'file-2',
|
||||
name: 'second_document.pdf',
|
||||
type: 'file',
|
||||
sizeByte: 2048,
|
||||
createdAt: '2026-01-01T00:00:00Z',
|
||||
updatedAt: '2026-01-01T00:00:00Z',
|
||||
status: 'processed',
|
||||
} as AssetInfo
|
||||
|
||||
renderComponent({
|
||||
files: [mockFile, mockFile2],
|
||||
selectedIds: new Set(['file-1', 'file-2']),
|
||||
selectedItem: mockFile2,
|
||||
})
|
||||
|
||||
fireEvent.keyDown(window, { key: ' ', code: 'Space' })
|
||||
|
||||
expect(screen.getByTestId('file-preview-dialog-content')).toBeDefined()
|
||||
expect(await screen.findByText('Viewer for second_document.pdf')).toBeDefined()
|
||||
})
|
||||
|
||||
it('does not open quick preview when Space is pressed with no selection', () => {
|
||||
renderComponent({
|
||||
selectedIds: new Set(),
|
||||
selectedItem: null,
|
||||
})
|
||||
|
||||
fireEvent.keyDown(window, { key: ' ', code: 'Space' })
|
||||
|
||||
expect(screen.queryByTestId('file-preview-dialog-content')).toBeNull()
|
||||
})
|
||||
|
||||
it('does not open quick preview when Space is pressed while typing in an input element', () => {
|
||||
renderComponent({
|
||||
selectedIds: new Set(['file-1']),
|
||||
selectedItem: mockFile,
|
||||
})
|
||||
|
||||
const input = document.createElement('input')
|
||||
document.body.appendChild(input)
|
||||
input.focus()
|
||||
|
||||
fireEvent.keyDown(input, { key: ' ', code: 'Space' })
|
||||
|
||||
expect(screen.queryByTestId('file-preview-dialog-content')).toBeNull()
|
||||
document.body.removeChild(input)
|
||||
})
|
||||
|
||||
it('opens quick preview for a selected folder symlink showing folder preview', () => {
|
||||
const mockFolderSymlink: AssetInfo = {
|
||||
id: 'symlink-folder-1',
|
||||
name: 'Linked Folder',
|
||||
type: 'symlink',
|
||||
targetType: 'folder',
|
||||
fileCount: 3,
|
||||
sizeByte: 0,
|
||||
createdAt: '2026-01-01T00:00:00Z',
|
||||
updatedAt: '2026-01-01T00:00:00Z',
|
||||
status: 'processed',
|
||||
} as AssetInfo
|
||||
|
||||
renderComponent({
|
||||
folders: [mockFolderSymlink],
|
||||
files: [],
|
||||
selectedIds: new Set(['symlink-folder-1']),
|
||||
selectedItem: mockFolderSymlink,
|
||||
})
|
||||
|
||||
fireEvent.keyDown(window, { key: ' ', code: 'Space' })
|
||||
|
||||
expect(screen.getByTestId('file-preview-dialog-content')).toBeDefined()
|
||||
expect(screen.getByTestId('folder-preview-icon')).toBeDefined()
|
||||
expect(screen.getAllByText('Linked Folder').length).toBeGreaterThan(0)
|
||||
})
|
||||
})
|
||||
|
||||
@@ -26,6 +26,7 @@ import { ulid } from 'ulid'
|
||||
import type { DragState } from '../dnd-types'
|
||||
import { MoveCopyDialog } from '../move-copy-dialog'
|
||||
import { ManageVersionsDialog } from '../manage-versions-dialog'
|
||||
import { FilePreviewDialog } from '../file-preview-dialog'
|
||||
import { FileBrowserContentSkeleton } from '../loading-skeletons'
|
||||
import { FileBrowserContextMenu } from './context-menu'
|
||||
|
||||
@@ -97,6 +98,7 @@ interface FileBrowserProps {
|
||||
onUpdateCollection?: (updates: { name?: string; filter?: any }) => void
|
||||
rootFolderId?: string
|
||||
shareId?: string
|
||||
sharePassword?: string
|
||||
/** When false, hides download affordances (used by public share views). Defaults to true. */
|
||||
allowDownload?: boolean
|
||||
}
|
||||
@@ -147,12 +149,35 @@ export function FileBrowser({
|
||||
onUpdateCollection,
|
||||
rootFolderId,
|
||||
shareId,
|
||||
sharePassword,
|
||||
allowDownload = true,
|
||||
}: FileBrowserProps) {
|
||||
const [contextMenuItem, setContextMenuItem] = useState<AssetInfo | null>(null)
|
||||
const [manageVersionsStackId, setManageVersionsStackId] = useState<string | null>(null)
|
||||
const [moveCopyMode, setMoveCopyMode] = useState<'move' | 'copy' | null>(null)
|
||||
const [itemsToMoveCopy, setItemsToMoveCopy] = useState<AssetInfo[]>([])
|
||||
const [isPreviewOpen, setIsPreviewOpen] = useState(false)
|
||||
const [internalSelectedItem, setInternalSelectedItem] = useState<AssetInfo | null>(null)
|
||||
|
||||
useEffect(() => {
|
||||
if (selectedItem) {
|
||||
setInternalSelectedItem(selectedItem)
|
||||
}
|
||||
}, [selectedItem])
|
||||
|
||||
useEffect(() => {
|
||||
if (selectedIds.size === 0) {
|
||||
setInternalSelectedItem(null)
|
||||
}
|
||||
}, [selectedIds.size])
|
||||
|
||||
const handleItemSelectWrapper = useCallback(
|
||||
(item: AssetInfo, event: React.MouseEvent) => {
|
||||
setInternalSelectedItem(item)
|
||||
onItemSelect(item, event)
|
||||
},
|
||||
[onItemSelect],
|
||||
)
|
||||
const queryClient = useQueryClient()
|
||||
const navigate = useNavigate()
|
||||
|
||||
@@ -232,6 +257,50 @@ export function FileBrowser({
|
||||
return [...filteredLocal, ...files]
|
||||
}, [files, localUploadingFiles])
|
||||
|
||||
const activePreviewItem = useMemo(() => {
|
||||
if (selectedIds.size === 0) return null
|
||||
if (internalSelectedItem && selectedIds.has(internalSelectedItem.id!)) {
|
||||
return internalSelectedItem
|
||||
}
|
||||
if (selectedItem && selectedIds.has(selectedItem.id!)) {
|
||||
return selectedItem
|
||||
}
|
||||
const allItems = [...folders, ...displayedFiles]
|
||||
return allItems.find((i) => selectedIds.has(i.id!)) || null
|
||||
}, [selectedIds, internalSelectedItem, selectedItem, folders, displayedFiles])
|
||||
|
||||
useEffect(() => {
|
||||
const handleKeyDown = (e: KeyboardEvent) => {
|
||||
if (e.key !== ' ' && e.code !== 'Space') return
|
||||
|
||||
if (isPreviewOpen) return
|
||||
|
||||
const activeEl = document.activeElement
|
||||
if (
|
||||
activeEl &&
|
||||
(activeEl.tagName === 'INPUT' ||
|
||||
activeEl.tagName === 'TEXTAREA' ||
|
||||
(activeEl instanceof HTMLElement && activeEl.isContentEditable))
|
||||
) {
|
||||
return
|
||||
}
|
||||
|
||||
if (document.querySelector('[role="dialog"], [role="alertdialog"]')) {
|
||||
return
|
||||
}
|
||||
|
||||
if (selectedIds.size > 0 && activePreviewItem) {
|
||||
e.preventDefault()
|
||||
setIsPreviewOpen(true)
|
||||
}
|
||||
}
|
||||
|
||||
window.addEventListener('keydown', handleKeyDown)
|
||||
return () => {
|
||||
window.removeEventListener('keydown', handleKeyDown)
|
||||
}
|
||||
}, [isPreviewOpen, selectedIds.size, activePreviewItem])
|
||||
|
||||
const { data: shareLinksData } = useQuery({
|
||||
queryKey: ['shares', projectId, 'list'],
|
||||
queryFn: async () => {
|
||||
@@ -662,7 +731,7 @@ export function FileBrowser({
|
||||
isSelected: selectedItem?.id === item.id,
|
||||
isChecked: selectedIds.has(item.id!),
|
||||
isEditing: editingItemId === item.id,
|
||||
onSelect: onItemSelect,
|
||||
onSelect: handleItemSelectWrapper,
|
||||
onDoubleClick: onItemDoubleClick,
|
||||
onContextMenu: onContextMenu,
|
||||
onDragStart: () => {}, // Handled by dnd-kit
|
||||
@@ -949,7 +1018,7 @@ export function FileBrowser({
|
||||
selectedItem={selectedItem}
|
||||
selectedIds={selectedIds}
|
||||
displayedFields={displayedFields}
|
||||
onItemSelect={onItemSelect}
|
||||
onItemSelect={handleItemSelectWrapper}
|
||||
onItemDoubleClick={onItemDoubleClick}
|
||||
renderItem={renderItem}
|
||||
foldersExpanded={foldersExpanded}
|
||||
@@ -1276,6 +1345,16 @@ export function FileBrowser({
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
|
||||
<FilePreviewDialog
|
||||
item={activePreviewItem}
|
||||
isOpen={isPreviewOpen}
|
||||
onClose={() => setIsPreviewOpen(false)}
|
||||
allowDownload={allowDownload}
|
||||
shareId={shareId}
|
||||
sharePassword={sharePassword}
|
||||
isPublic={isPublic}
|
||||
/>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -214,4 +214,43 @@ describe('FileCard', () => {
|
||||
expect(tooltip.textContent).toContain('Very Long Creator Name')
|
||||
vi.useRealTimers()
|
||||
})
|
||||
|
||||
it('renders comments count badge in preview area when commentsCount > 0', () => {
|
||||
const itemWithComments: AssetInfo = {
|
||||
...fileItem,
|
||||
commentsCount: 5,
|
||||
} as AssetInfo
|
||||
|
||||
renderComponent({ item: itemWithComments })
|
||||
|
||||
const commentsBadge = screen.getByTestId('file-card-comments-count')
|
||||
expect(commentsBadge).toBeTruthy()
|
||||
expect(commentsBadge.textContent).toContain('5')
|
||||
expect(commentsBadge.className).toContain('absolute')
|
||||
expect(commentsBadge.className).toContain('bottom-1')
|
||||
expect(commentsBadge.className).toContain('left-1')
|
||||
expect(commentsBadge.className).toContain('bg-black/60')
|
||||
expect(commentsBadge.className).toContain('text-white')
|
||||
expect(commentsBadge.className).toContain('pointer-events-none')
|
||||
expect(commentsBadge.className).toContain('tabular-nums')
|
||||
})
|
||||
|
||||
it('does not render comments count badge when commentsCount is 0 or undefined', () => {
|
||||
const itemZeroComments: AssetInfo = {
|
||||
...fileItem,
|
||||
commentsCount: 0,
|
||||
} as AssetInfo
|
||||
|
||||
const { unmount } = renderComponent({ item: itemZeroComments })
|
||||
expect(screen.queryByTestId('file-card-comments-count')).toBeNull()
|
||||
unmount()
|
||||
|
||||
const itemNoComments: AssetInfo = {
|
||||
...fileItem,
|
||||
commentsCount: undefined,
|
||||
} as AssetInfo
|
||||
|
||||
renderComponent({ item: itemNoComments })
|
||||
expect(screen.queryByTestId('file-card-comments-count')).toBeNull()
|
||||
})
|
||||
})
|
||||
|
||||
@@ -27,7 +27,15 @@ import { selectFileNameWithoutExtension } from '@/ui/lib/rename-utils'
|
||||
import { cn } from '@/ui/lib/utils'
|
||||
import { useUploadStore } from '@/ui/stores/upload'
|
||||
import { useDraggable, useDroppable } from '@dnd-kit/react'
|
||||
import { Download, Edit, History, Layers, MoreHorizontal, Trash2 } from 'lucide-react'
|
||||
import {
|
||||
Download,
|
||||
Edit,
|
||||
History,
|
||||
Layers,
|
||||
MessageCircleMore,
|
||||
MoreHorizontal,
|
||||
Trash2,
|
||||
} from 'lucide-react'
|
||||
import React, { useEffect, useMemo, useRef, useState } from 'react'
|
||||
import type { DragState } from '../dnd-types'
|
||||
import FieldRenderer from '../field-renderer'
|
||||
@@ -323,7 +331,18 @@ export function FileCard({
|
||||
)}
|
||||
</div>
|
||||
) : (
|
||||
<FilePreview item={displayItem} showDuration />
|
||||
<>
|
||||
<FilePreview item={displayItem} showDuration />
|
||||
{typeof displayItem.commentsCount === 'number' && displayItem.commentsCount > 0 && (
|
||||
<span
|
||||
data-testid="file-card-comments-count"
|
||||
className="pointer-events-none absolute bottom-1 left-1 z-10 flex items-center gap-1 rounded bg-black/60 px-1 py-0.5 text-xs font-medium tabular-nums text-white"
|
||||
>
|
||||
<MessageCircleMore className="h-3.5 w-3.5" />
|
||||
<span>{displayItem.commentsCount}</span>
|
||||
</span>
|
||||
)}
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
|
||||
|
||||
@@ -0,0 +1,245 @@
|
||||
// @vitest-environment happy-dom
|
||||
import { cleanup, fireEvent, render, screen } from '@testing-library/react'
|
||||
import React from 'react'
|
||||
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'
|
||||
import { QueryClient, QueryClientProvider } from '@tanstack/react-query'
|
||||
import type { AssetInfo } from '@shumai/dtos'
|
||||
import { client } from '@/ui/api/client'
|
||||
import { FilePreviewDialog } from './file-preview-dialog'
|
||||
|
||||
vi.mock('@/ui/components/file-viewer', () => ({
|
||||
FileViewer: ({ file, autoPlay }: { file: AssetInfo; autoPlay?: boolean }) => (
|
||||
<div data-testid="mock-file-viewer" data-autoplay={String(autoPlay)}>
|
||||
<span>Viewer for {file.name}</span>
|
||||
</div>
|
||||
),
|
||||
}))
|
||||
|
||||
vi.mock('@/ui/api/client', () => ({
|
||||
client: {
|
||||
api: {
|
||||
files: {
|
||||
':fileId': {
|
||||
$get: vi.fn().mockResolvedValue({
|
||||
ok: true,
|
||||
json: async () => ({
|
||||
id: 'file-1',
|
||||
name: 'test_file.png',
|
||||
type: 'file',
|
||||
}),
|
||||
}),
|
||||
},
|
||||
},
|
||||
shares: {
|
||||
':shareId': {
|
||||
files: {
|
||||
':fileId': {
|
||||
$get: vi.fn().mockResolvedValue({
|
||||
ok: true,
|
||||
json: async () => ({
|
||||
id: 'share-file-1',
|
||||
name: 'share_file.png',
|
||||
type: 'file',
|
||||
}),
|
||||
}),
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}))
|
||||
|
||||
describe('FilePreviewDialog', () => {
|
||||
let queryClient: QueryClient
|
||||
|
||||
beforeEach(() => {
|
||||
queryClient = new QueryClient({
|
||||
defaultOptions: { queries: { retry: false } },
|
||||
})
|
||||
})
|
||||
|
||||
afterEach(() => {
|
||||
cleanup()
|
||||
})
|
||||
|
||||
const mockFolder: AssetInfo = {
|
||||
id: 'folder-1',
|
||||
name: 'Designs Folder',
|
||||
type: 'folder',
|
||||
fileCount: 5,
|
||||
sizeByte: 0,
|
||||
createdAt: '2026-01-01T00:00:00Z',
|
||||
updatedAt: '2026-01-01T00:00:00Z',
|
||||
status: 'processed',
|
||||
} as AssetInfo
|
||||
|
||||
const mockFile: AssetInfo = {
|
||||
id: 'file-1',
|
||||
name: 'photo.jpg',
|
||||
type: 'file',
|
||||
sizeByte: 2048,
|
||||
createdAt: '2026-01-01T00:00:00Z',
|
||||
updatedAt: '2026-01-01T00:00:00Z',
|
||||
status: 'processed',
|
||||
} as AssetInfo
|
||||
|
||||
it('renders folder preview with icon, folder name, and count', () => {
|
||||
render(
|
||||
<QueryClientProvider client={queryClient}>
|
||||
<FilePreviewDialog item={mockFolder} isOpen={true} onClose={vi.fn()} />
|
||||
</QueryClientProvider>,
|
||||
)
|
||||
|
||||
expect(screen.getByTestId('folder-preview-icon')).toBeDefined()
|
||||
expect(screen.getAllByText('Designs Folder').length).toBeGreaterThan(0)
|
||||
expect(screen.getByTestId('folder-preview-count').textContent).toMatch(/5/)
|
||||
})
|
||||
|
||||
it('renders real file preview with header and FileViewer', async () => {
|
||||
render(
|
||||
<QueryClientProvider client={queryClient}>
|
||||
<FilePreviewDialog item={mockFile} isOpen={true} onClose={vi.fn()} />
|
||||
</QueryClientProvider>,
|
||||
)
|
||||
|
||||
expect(screen.getByText('photo.jpg')).toBeDefined()
|
||||
const viewer = await screen.findByTestId('mock-file-viewer')
|
||||
expect(viewer).toBeDefined()
|
||||
expect(viewer.getAttribute('data-autoplay')).toBe('true')
|
||||
})
|
||||
|
||||
it('calls onClose when close button is clicked', () => {
|
||||
const handleClose = vi.fn()
|
||||
render(
|
||||
<QueryClientProvider client={queryClient}>
|
||||
<FilePreviewDialog item={mockFile} isOpen={true} onClose={handleClose} />
|
||||
</QueryClientProvider>,
|
||||
)
|
||||
|
||||
const closeBtn = screen.getByTestId('quick-preview-close-button')
|
||||
fireEvent.click(closeBtn)
|
||||
|
||||
expect(handleClose).toHaveBeenCalledTimes(1)
|
||||
})
|
||||
|
||||
it('calls onClose when Space key is pressed while dialog is open', () => {
|
||||
const handleClose = vi.fn()
|
||||
render(
|
||||
<QueryClientProvider client={queryClient}>
|
||||
<FilePreviewDialog item={mockFile} isOpen={true} onClose={handleClose} />
|
||||
</QueryClientProvider>,
|
||||
)
|
||||
|
||||
const spaceEvent = new KeyboardEvent('keydown', { key: ' ', code: 'Space', bubbles: true })
|
||||
const preventDefaultSpy = vi.spyOn(spaceEvent, 'preventDefault')
|
||||
const stopPropagationSpy = vi.spyOn(spaceEvent, 'stopPropagation')
|
||||
|
||||
window.dispatchEvent(spaceEvent)
|
||||
|
||||
expect(handleClose).toHaveBeenCalledTimes(1)
|
||||
expect(preventDefaultSpy).toHaveBeenCalled()
|
||||
expect(stopPropagationSpy).toHaveBeenCalled()
|
||||
})
|
||||
|
||||
it('applies max 1920x1080 or 70vw/70vh bounds styling', () => {
|
||||
render(
|
||||
<QueryClientProvider client={queryClient}>
|
||||
<FilePreviewDialog item={mockFile} isOpen={true} onClose={vi.fn()} />
|
||||
</QueryClientProvider>,
|
||||
)
|
||||
|
||||
const content = screen.getByTestId('file-preview-dialog-content')
|
||||
expect(content.style.maxWidth).toBe('min(1920px, 70vw)')
|
||||
expect(content.style.maxHeight).toBe('min(1080px, 70vh)')
|
||||
})
|
||||
|
||||
it('does not render when item is null', () => {
|
||||
const { container } = render(
|
||||
<QueryClientProvider client={queryClient}>
|
||||
<FilePreviewDialog item={null} isOpen={true} onClose={vi.fn()} />
|
||||
</QueryClientProvider>,
|
||||
)
|
||||
|
||||
expect(container.firstChild).toBeNull()
|
||||
})
|
||||
|
||||
it('renders folder preview for folder symlinks without querying file detail', () => {
|
||||
const mockFolderSymlink: AssetInfo = {
|
||||
id: 'symlink-folder-1',
|
||||
name: 'Linked Folder',
|
||||
type: 'symlink',
|
||||
targetType: 'folder',
|
||||
fileCount: 8,
|
||||
sizeByte: 0,
|
||||
createdAt: '2026-01-01T00:00:00Z',
|
||||
updatedAt: '2026-01-01T00:00:00Z',
|
||||
status: 'processed',
|
||||
} as AssetInfo
|
||||
|
||||
render(
|
||||
<QueryClientProvider client={queryClient}>
|
||||
<FilePreviewDialog item={mockFolderSymlink} isOpen={true} onClose={vi.fn()} />
|
||||
</QueryClientProvider>,
|
||||
)
|
||||
|
||||
expect(screen.getByTestId('folder-preview-icon')).toBeDefined()
|
||||
expect(screen.getAllByText('Linked Folder').length).toBeGreaterThan(0)
|
||||
expect(screen.getByTestId('folder-preview-count').textContent).toMatch(/8/)
|
||||
})
|
||||
|
||||
it('includes x-share-password header when fetching file detail in a password-protected share', async () => {
|
||||
const getShareFileMock = client.api.shares[':shareId'].files[':fileId']
|
||||
.$get as unknown as ReturnType<typeof vi.fn>
|
||||
getShareFileMock.mockClear()
|
||||
|
||||
render(
|
||||
<QueryClientProvider client={queryClient}>
|
||||
<FilePreviewDialog
|
||||
item={mockFile}
|
||||
isOpen={true}
|
||||
onClose={vi.fn()}
|
||||
shareId="share-protected-1"
|
||||
sharePassword="secret-password-123"
|
||||
/>
|
||||
</QueryClientProvider>,
|
||||
)
|
||||
|
||||
expect(getShareFileMock).toHaveBeenCalledWith(
|
||||
{ param: { shareId: 'share-protected-1', fileId: 'file-1' } },
|
||||
{ headers: { 'x-share-password': 'secret-password-123' } },
|
||||
)
|
||||
|
||||
const viewer = await screen.findByTestId('mock-file-viewer')
|
||||
expect(viewer).toBeDefined()
|
||||
})
|
||||
|
||||
it('reads share password from localStorage when sharePassword prop is omitted', async () => {
|
||||
const getShareFileMock = client.api.shares[':shareId'].files[':fileId']
|
||||
.$get as unknown as ReturnType<typeof vi.fn>
|
||||
getShareFileMock.mockClear()
|
||||
|
||||
localStorage.setItem('share_pwd_share-stored-1', 'stored-pwd-456')
|
||||
|
||||
render(
|
||||
<QueryClientProvider client={queryClient}>
|
||||
<FilePreviewDialog
|
||||
item={mockFile}
|
||||
isOpen={true}
|
||||
onClose={vi.fn()}
|
||||
shareId="share-stored-1"
|
||||
/>
|
||||
</QueryClientProvider>,
|
||||
)
|
||||
|
||||
expect(getShareFileMock).toHaveBeenCalledWith(
|
||||
{ param: { shareId: 'share-stored-1', fileId: 'file-1' } },
|
||||
{ headers: { 'x-share-password': 'stored-pwd-456' } },
|
||||
)
|
||||
|
||||
const viewer = await screen.findByTestId('mock-file-viewer')
|
||||
expect(viewer).toBeDefined()
|
||||
|
||||
localStorage.removeItem('share_pwd_share-stored-1')
|
||||
})
|
||||
})
|
||||
@@ -0,0 +1,172 @@
|
||||
import React, { useEffect } from 'react'
|
||||
import { Folder, Loader2, X } from 'lucide-react'
|
||||
import { useQuery } from '@tanstack/react-query'
|
||||
import type { AssetInfo } from '@shumai/dtos'
|
||||
import { client } from '@/ui/api/client'
|
||||
import { m } from '@/ui/paraglide/messages.js'
|
||||
import { Dialog, DialogContent, DialogTitle } from '@/ui/components/ui/dialog'
|
||||
import { FileViewer } from './file-viewer'
|
||||
import { cn } from '../lib/utils'
|
||||
|
||||
export interface FilePreviewDialogProps {
|
||||
item: AssetInfo | null
|
||||
isOpen: boolean
|
||||
onClose: () => void
|
||||
allowDownload?: boolean
|
||||
shareId?: string
|
||||
sharePassword?: string
|
||||
isPublic?: boolean
|
||||
}
|
||||
|
||||
export function FilePreviewDialog({
|
||||
item,
|
||||
isOpen,
|
||||
onClose,
|
||||
allowDownload = true,
|
||||
shareId,
|
||||
sharePassword,
|
||||
}: FilePreviewDialogProps) {
|
||||
// Capture-phase keydown listener for Space key to unconditionally close the preview
|
||||
useEffect(() => {
|
||||
if (!isOpen) return
|
||||
|
||||
const handleKeyDown = (e: KeyboardEvent) => {
|
||||
if (e.key === ' ' || e.code === 'Space') {
|
||||
e.preventDefault()
|
||||
e.stopPropagation()
|
||||
onClose()
|
||||
}
|
||||
}
|
||||
|
||||
window.addEventListener('keydown', handleKeyDown, true)
|
||||
return () => {
|
||||
window.removeEventListener('keydown', handleKeyDown, true)
|
||||
}
|
||||
}, [isOpen, onClose])
|
||||
|
||||
const isFolder = item?.type === 'folder' || item?.targetType === 'folder'
|
||||
const targetFileId = item?.versionStack ? item.versionStack.id : item?.id
|
||||
|
||||
const resolvedPassword =
|
||||
sharePassword ??
|
||||
(shareId && typeof window !== 'undefined'
|
||||
? localStorage.getItem(`share_pwd_${shareId}`) || ''
|
||||
: '')
|
||||
|
||||
// Fetch full asset data (with presigned high-res/transcoded media URLs) when previewing a file
|
||||
const { data: detailedFile } = useQuery({
|
||||
queryKey: shareId
|
||||
? ['shares', shareId, 'files', targetFileId, resolvedPassword]
|
||||
: ['files', targetFileId],
|
||||
queryFn: async () => {
|
||||
if (!targetFileId) throw new Error('No target file ID')
|
||||
const res = shareId
|
||||
? await client.api.shares[':shareId'].files[':fileId'].$get(
|
||||
{
|
||||
param: { shareId, fileId: targetFileId },
|
||||
},
|
||||
resolvedPassword
|
||||
? {
|
||||
headers: {
|
||||
'x-share-password': resolvedPassword,
|
||||
},
|
||||
}
|
||||
: undefined,
|
||||
)
|
||||
: await client.api.files[':fileId'].$get({
|
||||
param: { fileId: targetFileId },
|
||||
})
|
||||
if (!res.ok) throw new Error('Failed to fetch file detail')
|
||||
return (await res.json()) as unknown as AssetInfo
|
||||
},
|
||||
enabled: isOpen && !isFolder && !!targetFileId,
|
||||
})
|
||||
|
||||
if (!item) return null
|
||||
|
||||
const hasPlayableUrl = Boolean(
|
||||
item.media?.videoTranscodes?.some((t) => !!t.url) ||
|
||||
item.media?.imageTranscodes?.some((t) => !!t.url) ||
|
||||
item.media?.pdfTranscode?.url,
|
||||
)
|
||||
const fileToDisplay = detailedFile || (hasPlayableUrl ? item : null)
|
||||
|
||||
return (
|
||||
<Dialog
|
||||
open={isOpen}
|
||||
onOpenChange={(open) => {
|
||||
if (!open) onClose()
|
||||
}}
|
||||
>
|
||||
<DialogContent
|
||||
data-testid="file-preview-dialog-content"
|
||||
showCloseButton={false}
|
||||
className={cn(
|
||||
'p-0 overflow-hidden flex flex-col gap-0 border bg-background rounded-lg shadow-2xl outline-none focus:outline-none focus-visible:outline-none',
|
||||
isFolder
|
||||
? 'w-full max-w-md max-h-[min(1080px,70vh)]'
|
||||
: 'w-[min(1920px,70vw)] h-[min(1080px,70vh)] max-w-[min(1920px,70vw)] max-h-[min(1080px,70vh)]',
|
||||
)}
|
||||
style={{
|
||||
maxWidth: 'min(1920px, 70vw)',
|
||||
maxHeight: 'min(1080px, 70vh)',
|
||||
}}
|
||||
>
|
||||
{/* Subtle top header bar with title and close button */}
|
||||
<div className="flex items-center justify-between px-4 py-2.5 border-b border-border bg-card select-none shrink-0">
|
||||
<div className="flex items-center gap-2 min-w-0 mr-4">
|
||||
<DialogTitle className="text-sm font-medium text-foreground truncate" title={item.name}>
|
||||
{item.name}
|
||||
</DialogTitle>
|
||||
</div>
|
||||
<button
|
||||
data-testid="quick-preview-close-button"
|
||||
onClick={onClose}
|
||||
className="p-1 rounded-sm text-muted-foreground hover:text-foreground hover:bg-muted transition-colors cursor-pointer"
|
||||
aria-label="Close"
|
||||
>
|
||||
<X size={16} />
|
||||
</button>
|
||||
</div>
|
||||
|
||||
{/* Content Area */}
|
||||
{isFolder ? (
|
||||
<div className="flex flex-col items-center justify-center p-8 text-center select-none gap-4">
|
||||
<div className="p-4 rounded-2xl bg-primary/10 text-primary">
|
||||
<Folder className="w-16 h-16 stroke-[1.5]" data-testid="folder-preview-icon" />
|
||||
</div>
|
||||
<div className="flex flex-col items-center gap-1 max-w-full px-2">
|
||||
<h3
|
||||
className="text-lg font-semibold text-foreground truncate max-w-full"
|
||||
title={item.name}
|
||||
>
|
||||
{item.name}
|
||||
</h3>
|
||||
<p className="text-sm text-muted-foreground" data-testid="folder-preview-count">
|
||||
{(item.fileCount || 0) === 1
|
||||
? m.n_items_singular({ count: item.fileCount || 0 })
|
||||
: m.n_items_plural({ count: item.fileCount || 0 })}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
) : !fileToDisplay ? (
|
||||
<div
|
||||
data-testid="preview-loading-spinner"
|
||||
className="flex-1 flex items-center justify-center bg-background min-h-[300px]"
|
||||
>
|
||||
<Loader2 className="h-8 w-8 animate-spin text-muted-foreground" />
|
||||
</div>
|
||||
) : (
|
||||
<div className="flex-1 relative min-h-0 overflow-hidden bg-background">
|
||||
<FileViewer
|
||||
file={fileToDisplay}
|
||||
allowDownload={allowDownload}
|
||||
shareId={shareId}
|
||||
autoPlay={true}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
</DialogContent>
|
||||
</Dialog>
|
||||
)
|
||||
}
|
||||
@@ -388,14 +388,23 @@ export default function FileSystemManager({
|
||||
const newSelectedIds = new Set(selectedIds)
|
||||
if (newSelectedIds.has(item.id)) {
|
||||
newSelectedIds.delete(item.id)
|
||||
setSelectedIds(newSelectedIds)
|
||||
if (selectedItem?.id === item.id) {
|
||||
const allItems = [...folders, ...files]
|
||||
const remaining = allItems.find((i) => newSelectedIds.has(i.id))
|
||||
setSelectedItem(remaining || null)
|
||||
setLastSelectedId(remaining ? remaining.id : null)
|
||||
}
|
||||
} else {
|
||||
newSelectedIds.add(item.id)
|
||||
setSelectedIds(newSelectedIds)
|
||||
setLastSelectedId(item.id)
|
||||
setSelectedItem(item)
|
||||
}
|
||||
setSelectedIds(newSelectedIds)
|
||||
} else {
|
||||
setSelectedIds(new Set([item.id]))
|
||||
return
|
||||
}
|
||||
|
||||
setSelectedIds(new Set([item.id]))
|
||||
setLastSelectedId(item.id)
|
||||
setSelectedItem(item)
|
||||
}
|
||||
|
||||
@@ -0,0 +1,305 @@
|
||||
// @vitest-environment happy-dom
|
||||
import { cleanup, fireEvent, render, screen, waitFor } from '@testing-library/react'
|
||||
import React from 'react'
|
||||
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'
|
||||
import { QueryClient, QueryClientProvider } from '@tanstack/react-query'
|
||||
import { FileViewerRightSidebar } from './file-viewer-right-sidebar'
|
||||
import type { AssetInfo } from '@shumai/dtos'
|
||||
import { toast } from 'sonner'
|
||||
|
||||
vi.mock('react-intersection-observer', () => ({
|
||||
useInView: () => ({
|
||||
ref: vi.fn(),
|
||||
inView: false,
|
||||
}),
|
||||
}))
|
||||
|
||||
vi.mock('@/ui/hooks/use-permissions', () => ({
|
||||
usePermissions: () => ({
|
||||
canEdit: true,
|
||||
}),
|
||||
}))
|
||||
|
||||
vi.mock('sonner', () => ({
|
||||
toast: {
|
||||
error: vi.fn(),
|
||||
success: vi.fn(),
|
||||
},
|
||||
}))
|
||||
|
||||
const mockExportPost = vi.fn()
|
||||
|
||||
vi.mock('@/ui/api/client', () => ({
|
||||
client: {
|
||||
api: {
|
||||
projects: {
|
||||
':projectId': {
|
||||
fields: {
|
||||
$get: vi.fn().mockResolvedValue({
|
||||
ok: true,
|
||||
json: async () => [],
|
||||
}),
|
||||
},
|
||||
team: {
|
||||
$get: vi.fn().mockResolvedValue({
|
||||
ok: true,
|
||||
json: async () => ({ id: 'team-1' }),
|
||||
}),
|
||||
},
|
||||
},
|
||||
},
|
||||
files: {
|
||||
':fileId': {
|
||||
comments: {
|
||||
$get: vi.fn().mockResolvedValue({
|
||||
ok: true,
|
||||
json: async () => ({
|
||||
data: [
|
||||
{
|
||||
id: 'comment-1',
|
||||
message: 'Great shot!',
|
||||
userId: 'user-1',
|
||||
createdAt: new Date().toISOString(),
|
||||
},
|
||||
],
|
||||
pageInfo: {},
|
||||
}),
|
||||
}),
|
||||
$post: vi.fn().mockResolvedValue({
|
||||
ok: true,
|
||||
json: async () => ({ id: 'new-comment-id' }),
|
||||
}),
|
||||
export: {
|
||||
$post: (...args: unknown[]) => mockExportPost(...args),
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
shares: {
|
||||
':shareId': {
|
||||
files: {
|
||||
':fileId': {
|
||||
comments: {
|
||||
$get: vi.fn().mockResolvedValue({
|
||||
ok: true,
|
||||
json: async () => ({ data: [], pageInfo: {} }),
|
||||
}),
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
me: {
|
||||
$get: vi.fn().mockResolvedValue({
|
||||
ok: true,
|
||||
json: async () => ({ id: 'user-1', name: 'Test User' }),
|
||||
}),
|
||||
},
|
||||
},
|
||||
},
|
||||
}))
|
||||
|
||||
describe('FileViewerRightSidebar - Comments Export', () => {
|
||||
let queryClient: QueryClient
|
||||
let createObjectUrlMock: ReturnType<typeof vi.spyOn>
|
||||
let revokeObjectUrlMock: ReturnType<typeof vi.spyOn>
|
||||
|
||||
beforeEach(() => {
|
||||
queryClient = new QueryClient({
|
||||
defaultOptions: {
|
||||
queries: { retry: false },
|
||||
},
|
||||
})
|
||||
vi.clearAllMocks()
|
||||
|
||||
createObjectUrlMock = vi.spyOn(window.URL, 'createObjectURL').mockReturnValue('blob:mock-url')
|
||||
revokeObjectUrlMock = vi.spyOn(window.URL, 'revokeObjectURL').mockImplementation(() => {})
|
||||
window.HTMLElement.prototype.hasPointerCapture = vi.fn().mockReturnValue(false)
|
||||
window.HTMLElement.prototype.setPointerCapture = vi.fn()
|
||||
window.HTMLElement.prototype.releasePointerCapture = vi.fn()
|
||||
window.HTMLElement.prototype.scrollIntoView = vi.fn()
|
||||
})
|
||||
|
||||
afterEach(() => {
|
||||
cleanup()
|
||||
})
|
||||
|
||||
const mockFile: AssetInfo = {
|
||||
id: 'file-123',
|
||||
name: 'sample_cut.mp4',
|
||||
proxyType: 'video',
|
||||
media: {
|
||||
metadata: {
|
||||
duration: 120,
|
||||
frameRate: 24,
|
||||
},
|
||||
},
|
||||
} as AssetInfo
|
||||
|
||||
it('renders "All comments" and the three-dot button in authenticated sidebar', async () => {
|
||||
render(
|
||||
<QueryClientProvider client={queryClient}>
|
||||
<FileViewerRightSidebar
|
||||
teamId="team-1"
|
||||
projectId="proj-1"
|
||||
file={mockFile}
|
||||
onSaveField={vi.fn()}
|
||||
members={[{ id: 'user-1', name: 'User One', role: 'owner' }]}
|
||||
isPublic={false}
|
||||
/>
|
||||
</QueryClientProvider>,
|
||||
)
|
||||
|
||||
expect(screen.getByText('All comments')).toBeDefined()
|
||||
expect(screen.getByRole('button', { name: 'More options' })).toBeDefined()
|
||||
})
|
||||
|
||||
it('does NOT render "All comments" header row in public share view', async () => {
|
||||
render(
|
||||
<QueryClientProvider client={queryClient}>
|
||||
<FileViewerRightSidebar
|
||||
teamId="team-1"
|
||||
projectId="proj-1"
|
||||
file={mockFile}
|
||||
onSaveField={vi.fn()}
|
||||
members={[]}
|
||||
isPublic={true}
|
||||
shareId="share-123"
|
||||
/>
|
||||
</QueryClientProvider>,
|
||||
)
|
||||
|
||||
expect(screen.queryByText('All comments')).toBeNull()
|
||||
expect(screen.queryByRole('button', { name: 'More options' })).toBeNull()
|
||||
})
|
||||
|
||||
it('opens dropdown menu with Export Comments and the 4 NLE options', async () => {
|
||||
render(
|
||||
<QueryClientProvider client={queryClient}>
|
||||
<FileViewerRightSidebar
|
||||
teamId="team-1"
|
||||
projectId="proj-1"
|
||||
file={mockFile}
|
||||
onSaveField={vi.fn()}
|
||||
members={[{ id: 'user-1', name: 'User One', role: 'owner' }]}
|
||||
isPublic={false}
|
||||
/>
|
||||
</QueryClientProvider>,
|
||||
)
|
||||
|
||||
const moreButton = screen.getByRole('button', { name: 'More options' })
|
||||
fireEvent.pointerDown(moreButton, { button: 0, ctrlKey: false })
|
||||
|
||||
// Submenu trigger should be visible
|
||||
const exportText = await screen.findByText('Export Comments')
|
||||
const subTrigger = exportText.closest('[data-slot="dropdown-menu-sub-trigger"]') || exportText
|
||||
expect(subTrigger).toBeDefined()
|
||||
|
||||
// Open submenu via ArrowRight or click
|
||||
fireEvent.keyDown(subTrigger, { key: 'ArrowRight', code: 'ArrowRight' })
|
||||
|
||||
// All 4 formats should be rendered
|
||||
expect(await screen.findByText('FCP 10.4.0+')).toBeDefined()
|
||||
expect(screen.getByText('FIOJSON')).toBeDefined()
|
||||
|
||||
expect(screen.getByText('Media Composer')).toBeDefined()
|
||||
|
||||
expect(screen.getByText('Premiere Pro')).toBeDefined()
|
||||
expect(screen.getAllByText('XML').length).toBe(2) // Media Composer + Premiere Pro
|
||||
|
||||
expect(screen.getByText('Resolve')).toBeDefined()
|
||||
expect(screen.getByText('EDL')).toBeDefined()
|
||||
})
|
||||
|
||||
it('calls export API and triggers download when selecting an NLE format', async () => {
|
||||
const mockBlob = new Blob(['TITLE: sample\n001 ...'], { type: 'application/edl' })
|
||||
mockExportPost.mockResolvedValueOnce({
|
||||
ok: true,
|
||||
blob: async () => mockBlob,
|
||||
headers: new Headers({
|
||||
'content-disposition': 'attachment; filename="sample_cut_comments.edl"',
|
||||
}),
|
||||
})
|
||||
|
||||
const clickSpy = vi.spyOn(HTMLAnchorElement.prototype, 'click').mockImplementation(() => {})
|
||||
|
||||
render(
|
||||
<QueryClientProvider client={queryClient}>
|
||||
<FileViewerRightSidebar
|
||||
teamId="team-1"
|
||||
projectId="proj-1"
|
||||
file={mockFile}
|
||||
onSaveField={vi.fn()}
|
||||
members={[{ id: 'user-1', name: 'User One', role: 'owner' }]}
|
||||
isPublic={false}
|
||||
/>
|
||||
</QueryClientProvider>,
|
||||
)
|
||||
|
||||
const moreButton = screen.getByRole('button', { name: 'More options' })
|
||||
fireEvent.pointerDown(moreButton, { button: 0, ctrlKey: false })
|
||||
|
||||
const exportText = await screen.findByText('Export Comments')
|
||||
const subTrigger = exportText.closest('[data-slot="dropdown-menu-sub-trigger"]') || exportText
|
||||
fireEvent.keyDown(subTrigger, { key: 'ArrowRight', code: 'ArrowRight' })
|
||||
|
||||
const resolveOption = await screen.findByText('Resolve')
|
||||
fireEvent.click(resolveOption.closest('[data-slot="dropdown-menu-item"]') || resolveOption)
|
||||
|
||||
await waitFor(() => {
|
||||
expect(mockExportPost).toHaveBeenCalledWith({
|
||||
param: { fileId: 'file-123' },
|
||||
json: {
|
||||
format: 'resolve-edl',
|
||||
timeZone: expect.any(String),
|
||||
},
|
||||
})
|
||||
})
|
||||
|
||||
expect(createObjectUrlMock).toHaveBeenCalledWith(mockBlob)
|
||||
expect(clickSpy).toHaveBeenCalled()
|
||||
expect(revokeObjectUrlMock).toHaveBeenCalledWith('blob:mock-url')
|
||||
clickSpy.mockRestore()
|
||||
})
|
||||
|
||||
it('shows error toast when export fails', async () => {
|
||||
mockExportPost.mockResolvedValueOnce({
|
||||
ok: false,
|
||||
status: 500,
|
||||
})
|
||||
|
||||
render(
|
||||
<QueryClientProvider client={queryClient}>
|
||||
<FileViewerRightSidebar
|
||||
teamId="team-1"
|
||||
projectId="proj-1"
|
||||
file={mockFile}
|
||||
onSaveField={vi.fn()}
|
||||
members={[{ id: 'user-1', name: 'User One', role: 'owner' }]}
|
||||
isPublic={false}
|
||||
/>
|
||||
</QueryClientProvider>,
|
||||
)
|
||||
|
||||
const moreButton = screen.getByRole('button', { name: 'More options' })
|
||||
fireEvent.pointerDown(moreButton, { button: 0, ctrlKey: false })
|
||||
|
||||
const exportText = await screen.findByText('Export Comments')
|
||||
const subTrigger = exportText.closest('[data-slot="dropdown-menu-sub-trigger"]') || exportText
|
||||
fireEvent.keyDown(subTrigger, { key: 'ArrowRight', code: 'ArrowRight' })
|
||||
|
||||
const premiereOption = await screen.findByText('Premiere Pro')
|
||||
fireEvent.click(premiereOption.closest('[data-slot="dropdown-menu-item"]') || premiereOption)
|
||||
|
||||
await waitFor(() => {
|
||||
expect(mockExportPost).toHaveBeenCalledWith({
|
||||
param: { fileId: 'file-123' },
|
||||
json: {
|
||||
format: 'premiere-xml',
|
||||
timeZone: expect.any(String),
|
||||
},
|
||||
})
|
||||
expect(toast.error).toHaveBeenCalledWith('Failed to export comments')
|
||||
})
|
||||
})
|
||||
})
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { AssetInfo, CommentInfo, FieldValueInfo } from '@shumai/dtos'
|
||||
import type { AssetInfo, CommentExportFormat, CommentInfo, FieldValueInfo } from '@shumai/dtos'
|
||||
import { type FieldInfo as MetadataFieldInfo } from '@shumai/dtos'
|
||||
import type { MemberInfo } from '@/ui/stores/members'
|
||||
import { client } from '@/ui/api/client'
|
||||
@@ -14,6 +14,18 @@ import { ChatInput } from './chat/message-input'
|
||||
import FieldRenderer from './field-renderer'
|
||||
import { GuestIdentityPopup } from './guest-identity-popup'
|
||||
import { ScrollArea } from './ui/scroll-area'
|
||||
import { Button } from './ui/button'
|
||||
import {
|
||||
DropdownMenu,
|
||||
DropdownMenuContent,
|
||||
DropdownMenuItem,
|
||||
DropdownMenuSub,
|
||||
DropdownMenuSubContent,
|
||||
DropdownMenuSubTrigger,
|
||||
DropdownMenuTrigger,
|
||||
} from './ui/dropdown-menu'
|
||||
import { MoreHorizontal } from 'lucide-react'
|
||||
import { toast } from 'sonner'
|
||||
import { m } from '@/ui/paraglide/messages.js'
|
||||
import { getViewerForFile } from '@/ui/components/viewers/registry'
|
||||
|
||||
@@ -34,6 +46,17 @@ interface FileViewerRightSidebarProps {
|
||||
selectedCommentId?: string | null
|
||||
}
|
||||
|
||||
const COMMENT_EXPORT_OPTIONS: {
|
||||
format: CommentExportFormat
|
||||
label: string
|
||||
ext: string
|
||||
}[] = [
|
||||
{ format: 'fcp-fiojson', label: 'FCP 10.4.0+', ext: 'FIOJSON' },
|
||||
{ format: 'media-composer-xml', label: 'Media Composer', ext: 'XML' },
|
||||
{ format: 'premiere-xml', label: 'Premiere Pro', ext: 'XML' },
|
||||
{ format: 'resolve-edl', label: 'Resolve', ext: 'EDL' },
|
||||
]
|
||||
|
||||
export function FileViewerRightSidebar({
|
||||
teamId,
|
||||
projectId,
|
||||
@@ -56,6 +79,7 @@ export function FileViewerRightSidebar({
|
||||
const { ref, inView } = useInView()
|
||||
const [replyingTo, setReplyingTo] = useState<CommentInfo | null>(null)
|
||||
const [isGuestPopupOpen, setIsGuestPopupOpen] = useState(false)
|
||||
const [isExporting, setIsExporting] = useState(false)
|
||||
const [pendingComment, setPendingComment] = useState<{
|
||||
text: string
|
||||
attachmentIds: string[]
|
||||
@@ -64,6 +88,49 @@ export function FileViewerRightSidebar({
|
||||
second?: number | null
|
||||
} | null>(null)
|
||||
|
||||
const handleExportComments = async (format: CommentExportFormat) => {
|
||||
if (!file?.id || isExporting) return
|
||||
try {
|
||||
setIsExporting(true)
|
||||
const timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone
|
||||
const res = await client.api.files[':fileId'].comments.export.$post({
|
||||
param: { fileId: file.id },
|
||||
json: { format, timeZone },
|
||||
})
|
||||
|
||||
if (!res.ok) {
|
||||
throw new Error('Failed to export comments')
|
||||
}
|
||||
|
||||
const disposition = res.headers.get('content-disposition')
|
||||
let filename = `${file.name || 'comments'}_comments`
|
||||
if (disposition) {
|
||||
const utf8Match = /filename\*=UTF-8''([^;]+)/i.exec(disposition)
|
||||
const basicMatch = /filename="?([^";]+)"?/i.exec(disposition)
|
||||
if (utf8Match?.[1]) {
|
||||
filename = decodeURIComponent(utf8Match[1])
|
||||
} else if (basicMatch?.[1]) {
|
||||
filename = basicMatch[1]
|
||||
}
|
||||
}
|
||||
|
||||
const blob = await res.blob()
|
||||
const downloadUrl = window.URL.createObjectURL(blob)
|
||||
const link = document.createElement('a')
|
||||
link.href = downloadUrl
|
||||
link.download = filename
|
||||
document.body.appendChild(link)
|
||||
link.click()
|
||||
document.body.removeChild(link)
|
||||
window.URL.revokeObjectURL(downloadUrl)
|
||||
} catch (error) {
|
||||
console.error('Failed to export comments:', error)
|
||||
toast.error(m.failed_to_export_comments())
|
||||
} finally {
|
||||
setIsExporting(false)
|
||||
}
|
||||
}
|
||||
|
||||
const { data: apiFields } = useQuery({
|
||||
queryKey: ['fields', projectId],
|
||||
queryFn: async () => {
|
||||
@@ -298,8 +365,47 @@ export function FileViewerRightSidebar({
|
||||
</TabsTrigger>
|
||||
</TabsList>
|
||||
<TabsContent value="comments" className="flex-1 flex flex-col overflow-hidden min-h-0 mt-0">
|
||||
{!isPublic && (
|
||||
<div className="flex items-center justify-between px-1 py-1.5 shrink-0 border-b border-border/50">
|
||||
<span className="text-xs font-semibold text-foreground">{m.all_comments()}</span>
|
||||
<DropdownMenu modal={false}>
|
||||
<DropdownMenuTrigger asChild>
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
className="h-6 w-6 text-muted-foreground hover:text-foreground cursor-pointer"
|
||||
aria-label={m.more_options()}
|
||||
>
|
||||
<MoreHorizontal className="size-4" />
|
||||
</Button>
|
||||
</DropdownMenuTrigger>
|
||||
<DropdownMenuContent align="end" className="w-48">
|
||||
<DropdownMenuSub>
|
||||
<DropdownMenuSubTrigger className="cursor-pointer">
|
||||
<span>{m.export_comments()}</span>
|
||||
</DropdownMenuSubTrigger>
|
||||
<DropdownMenuSubContent className="w-56">
|
||||
{COMMENT_EXPORT_OPTIONS.map((opt) => (
|
||||
<DropdownMenuItem
|
||||
key={opt.format}
|
||||
className="flex items-center justify-between cursor-pointer"
|
||||
disabled={isExporting}
|
||||
onClick={() => handleExportComments(opt.format)}
|
||||
>
|
||||
<span>{opt.label}</span>
|
||||
<span className="text-xs text-muted-foreground ml-auto pl-4">
|
||||
{opt.ext}
|
||||
</span>
|
||||
</DropdownMenuItem>
|
||||
))}
|
||||
</DropdownMenuSubContent>
|
||||
</DropdownMenuSub>
|
||||
</DropdownMenuContent>
|
||||
</DropdownMenu>
|
||||
</div>
|
||||
)}
|
||||
<ScrollArea className="flex-1 min-h-0 [&>div>div]:block!">
|
||||
<div className="space-y-4">
|
||||
<div className="space-y-4 pt-2">
|
||||
{comments.map((comment) => (
|
||||
<div key={comment.id}>
|
||||
<MessageCard
|
||||
|
||||
@@ -16,6 +16,7 @@ export function FileViewer({
|
||||
startTime,
|
||||
shareId,
|
||||
allowDownload,
|
||||
autoPlay,
|
||||
children,
|
||||
}: OuterFileViewerProps) {
|
||||
const viewerDef = getViewerForFile(file)
|
||||
@@ -33,6 +34,7 @@ export function FileViewer({
|
||||
startTime={startTime}
|
||||
shareId={shareId}
|
||||
allowDownload={allowDownload}
|
||||
autoPlay={autoPlay}
|
||||
>
|
||||
{children}
|
||||
</ViewerComponent>
|
||||
|
||||
@@ -143,6 +143,7 @@ export function PublicShareManager({
|
||||
}
|
||||
}, [folderInfo, shareInfo, currentFolderId])
|
||||
|
||||
const [selectedItem, setSelectedItem] = useState<AssetInfo | null>(null)
|
||||
const [selectedIds, setSelectedIds] = useState<Set<string>>(new Set())
|
||||
const [rightSidebarWidth, setRightSidebarWidth] = useState(360)
|
||||
const [isRightSidebarCollapsed, setIsRightSidebarCollapsed] = useState(() => !initialFileId)
|
||||
@@ -352,6 +353,7 @@ export function PublicShareManager({
|
||||
})
|
||||
}
|
||||
setSelectedIds(new Set())
|
||||
setSelectedItem(null)
|
||||
}
|
||||
|
||||
const handleCommentSelect = (comment: CommentInfo) => {
|
||||
@@ -673,20 +675,33 @@ export function PublicShareManager({
|
||||
totalFiles={totalFiles}
|
||||
totalFoldersSize={totalFoldersSize}
|
||||
totalFilesSize={totalFilesSize}
|
||||
selectedItem={null}
|
||||
selectedItem={selectedItem}
|
||||
selectedIds={selectedIds}
|
||||
onItemSelect={(item, e) => {
|
||||
if (e.metaKey || e.ctrlKey) {
|
||||
const next = new Set(selectedIds)
|
||||
if (next.has(item.id!)) next.delete(item.id!)
|
||||
else next.add(item.id!)
|
||||
setSelectedIds(next)
|
||||
if (next.has(item.id!)) {
|
||||
next.delete(item.id!)
|
||||
setSelectedIds(next)
|
||||
if (selectedItem?.id === item.id) {
|
||||
const remaining = [...folders, ...files].find((i) => next.has(i.id!))
|
||||
setSelectedItem(remaining || null)
|
||||
}
|
||||
} else {
|
||||
next.add(item.id!)
|
||||
setSelectedIds(next)
|
||||
setSelectedItem(item)
|
||||
}
|
||||
} else {
|
||||
setSelectedIds(new Set([item.id!]))
|
||||
setSelectedItem(item)
|
||||
}
|
||||
}}
|
||||
onItemDoubleClick={handleItemDoubleClick}
|
||||
onClearSelection={() => setSelectedIds(new Set())}
|
||||
onClearSelection={() => {
|
||||
setSelectedIds(new Set())
|
||||
setSelectedItem(null)
|
||||
}}
|
||||
fetchNextFoldersPage={fetchNextFoldersPage}
|
||||
hasNextFoldersPage={hasNextPageFolders}
|
||||
isFetchingNextFoldersPage={isFetchingNextFoldersPage}
|
||||
@@ -706,22 +721,35 @@ export function PublicShareManager({
|
||||
assetId={currentFolderId}
|
||||
folders={folders}
|
||||
files={files}
|
||||
selectedItem={null}
|
||||
selectedItem={selectedItem}
|
||||
selectedIds={selectedIds}
|
||||
onItemSelect={(item, e) => {
|
||||
if (e.metaKey || e.ctrlKey) {
|
||||
const next = new Set(selectedIds)
|
||||
if (next.has(item.id!)) next.delete(item.id!)
|
||||
else next.add(item.id!)
|
||||
setSelectedIds(next)
|
||||
if (next.has(item.id!)) {
|
||||
next.delete(item.id!)
|
||||
setSelectedIds(next)
|
||||
if (selectedItem?.id === item.id) {
|
||||
const remaining = [...folders, ...files].find((i) => next.has(i.id!))
|
||||
setSelectedItem(remaining || null)
|
||||
}
|
||||
} else {
|
||||
next.add(item.id!)
|
||||
setSelectedIds(next)
|
||||
setSelectedItem(item)
|
||||
}
|
||||
} else {
|
||||
setSelectedIds(new Set([item.id!]))
|
||||
setSelectedItem(item)
|
||||
}
|
||||
}}
|
||||
onItemDoubleClick={handleItemDoubleClick}
|
||||
onSaveField={() => {}}
|
||||
displayStyle={(shareInfo.viewMode as 'card' | 'list') ?? 'card'}
|
||||
onClearSelection={() => setSelectedIds(new Set())}
|
||||
onClearSelection={() => {
|
||||
setSelectedIds(new Set())
|
||||
setSelectedItem(null)
|
||||
}}
|
||||
fetchNextFoldersPage={fetchNextFoldersPage}
|
||||
hasNextFoldersPage={hasNextPageFolders}
|
||||
isFetchingNextFoldersPage={isFetchingNextFoldersPage}
|
||||
@@ -732,6 +760,7 @@ export function PublicShareManager({
|
||||
isShareView={true}
|
||||
isPublic={true}
|
||||
shareId={shareId}
|
||||
sharePassword={password}
|
||||
allowDownload={shareInfo.allowDownload}
|
||||
/>
|
||||
))
|
||||
|
||||
@@ -202,12 +202,14 @@ export default function ShareManager({
|
||||
clearProjectState,
|
||||
])
|
||||
|
||||
const [selectedItem, setSelectedItem] = useState<AssetInfo | null>(null)
|
||||
const [selectedIds, setSelectedIds] = useState<Set<string>>(new Set())
|
||||
|
||||
const handleClearSelection = () => {
|
||||
setSelectedIds(new Set())
|
||||
setSelectedItem(null)
|
||||
}
|
||||
|
||||
const [selectedIds, setSelectedIds] = useState<Set<string>>(new Set())
|
||||
|
||||
const { dragState, handleDragStart, handleDragEnd } = useFileSystemDnd({
|
||||
teamId,
|
||||
projectId,
|
||||
@@ -301,16 +303,26 @@ export default function ShareManager({
|
||||
assetId={currentFolderId || ''}
|
||||
folders={folders}
|
||||
files={files}
|
||||
selectedItem={null}
|
||||
selectedItem={selectedItem}
|
||||
selectedIds={selectedIds}
|
||||
onItemSelect={(item, e) => {
|
||||
if (e.metaKey || e.ctrlKey) {
|
||||
const next = new Set(selectedIds)
|
||||
if (next.has(item.id)) next.delete(item.id)
|
||||
else next.add(item.id)
|
||||
setSelectedIds(next)
|
||||
if (next.has(item.id)) {
|
||||
next.delete(item.id)
|
||||
setSelectedIds(next)
|
||||
if (selectedItem?.id === item.id) {
|
||||
const remaining = [...folders, ...files].find((i) => next.has(i.id))
|
||||
setSelectedItem(remaining || null)
|
||||
}
|
||||
} else {
|
||||
next.add(item.id)
|
||||
setSelectedIds(next)
|
||||
setSelectedItem(item)
|
||||
}
|
||||
} else {
|
||||
setSelectedIds(new Set([item.id]))
|
||||
setSelectedItem(item)
|
||||
}
|
||||
}}
|
||||
onItemDoubleClick={handleItemDoubleClick}
|
||||
|
||||
@@ -21,6 +21,7 @@ export interface FileViewerProps {
|
||||
shareId?: string
|
||||
/** When false, the viewer hides its download affordances. Defaults to true. */
|
||||
allowDownload?: boolean
|
||||
autoPlay?: boolean
|
||||
children?: React.ReactNode
|
||||
}
|
||||
|
||||
|
||||
@@ -119,4 +119,67 @@ describe('VideoViewer', () => {
|
||||
}),
|
||||
)
|
||||
})
|
||||
|
||||
it('initializes VideoJS when transcode URL becomes available after initially empty with same ID', () => {
|
||||
const initialVideo: AssetInfo = {
|
||||
id: 'video-pending',
|
||||
name: 'pending.mp4',
|
||||
proxyType: 'video',
|
||||
media: {
|
||||
metadata: {
|
||||
originalWidth: 1920,
|
||||
originalHeight: 1080,
|
||||
duration: 10,
|
||||
frameRate: 30,
|
||||
totalFrames: 300,
|
||||
},
|
||||
videoTranscodes: [
|
||||
{
|
||||
resolution: '1080p',
|
||||
// URL not yet presigned (e.g. from file list payload)
|
||||
url: undefined as unknown as string,
|
||||
width: 1920,
|
||||
height: 1080,
|
||||
},
|
||||
],
|
||||
},
|
||||
} as unknown as AssetInfo
|
||||
|
||||
const detailedVideo: AssetInfo = {
|
||||
...initialVideo,
|
||||
media: {
|
||||
...initialVideo.media,
|
||||
videoTranscodes: [
|
||||
{
|
||||
resolution: '1080p',
|
||||
url: 'https://cdn.example.com/signed-pending-1080p.mp4',
|
||||
width: 1920,
|
||||
height: 1080,
|
||||
},
|
||||
],
|
||||
},
|
||||
} as unknown as AssetInfo
|
||||
|
||||
const { rerender } = render(<VideoViewer file={initialVideo} autoPlay={true} />)
|
||||
|
||||
// Initially targetSrc is empty, videojs should not be initialized
|
||||
expect(videojsMock).not.toHaveBeenCalled()
|
||||
|
||||
// Rerender with detailedVideo (same id, but signed URL now available)
|
||||
rerender(<VideoViewer file={detailedVideo} autoPlay={true} />)
|
||||
|
||||
// VideoJS should now be initialized with the new URL
|
||||
expect(videojsMock).toHaveBeenCalledWith(
|
||||
expect.anything(),
|
||||
expect.objectContaining({
|
||||
autoplay: false,
|
||||
sources: [
|
||||
{
|
||||
src: 'https://cdn.example.com/signed-pending-1080p.mp4',
|
||||
type: 'video/mp4',
|
||||
},
|
||||
],
|
||||
}),
|
||||
)
|
||||
})
|
||||
})
|
||||
|
||||
@@ -27,6 +27,7 @@ const VideoViewer = React.forwardRef<MediaController, FileViewerProps>(
|
||||
shareId,
|
||||
children,
|
||||
allowDownload,
|
||||
autoPlay,
|
||||
},
|
||||
ref,
|
||||
) => {
|
||||
@@ -144,7 +145,7 @@ const VideoViewer = React.forwardRef<MediaController, FileViewerProps>(
|
||||
setIsPlayerReady(false)
|
||||
setBuffered(0)
|
||||
lastProcessedStartTimeRef.current = null
|
||||
}, [data.id])
|
||||
}, [data.id, Boolean(initialRes?.url)])
|
||||
|
||||
const vidW = data.media?.metadata?.originalWidth || 1920
|
||||
const vidH = data.media?.metadata?.originalHeight || 1080
|
||||
@@ -304,6 +305,30 @@ const VideoViewer = React.forwardRef<MediaController, FileViewerProps>(
|
||||
],
|
||||
}))
|
||||
|
||||
if (autoPlay) {
|
||||
const startAutoPlay = () => {
|
||||
if (player.isDisposed()) return
|
||||
const playPromise = player.play()
|
||||
if (playPromise !== undefined) {
|
||||
playPromise.catch(() => {
|
||||
if (player.isDisposed()) return
|
||||
player.muted(true)
|
||||
setState((prev) => ({ ...prev, isMuted: true }))
|
||||
player.play()?.catch(() => {})
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
player.ready(() => {
|
||||
if (player.isDisposed()) return
|
||||
if (player.readyState() >= 2) {
|
||||
startAutoPlay()
|
||||
} else {
|
||||
player.one('canplay', startAutoPlay)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// Extract video element for Konva
|
||||
const htmlVid = videoElement.querySelector('video')
|
||||
if (htmlVid) {
|
||||
@@ -378,7 +403,7 @@ const VideoViewer = React.forwardRef<MediaController, FileViewerProps>(
|
||||
videoRef.current = null
|
||||
}
|
||||
}
|
||||
}, [data.id])
|
||||
}, [data.id, Boolean(initialRes?.url), autoPlay])
|
||||
|
||||
// Handle changes to startTime (e.g., clicking different chunks in search results)
|
||||
useEffect(() => {
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
"select_asset_to_view_details": "Select an asset to view details",
|
||||
"all_collections": "All Collections",
|
||||
"file_not_found": "File not found.",
|
||||
"quick_preview": "Quick Preview",
|
||||
"recently_deleted_notice": "Items are automatically deleted after 30 days.",
|
||||
"all_share_links": "All Share Links",
|
||||
"link_visibility": "Link Visibility",
|
||||
@@ -1354,6 +1355,8 @@
|
||||
"linked_tasks_count": "{count} tasks",
|
||||
"current_project_label": "Current Project",
|
||||
"all_comments": "All comments",
|
||||
"export_comments": "Export Comments",
|
||||
"failed_to_export_comments": "Failed to export comments",
|
||||
"previous_file": "Previous file",
|
||||
"next_file": "Next file",
|
||||
"switch_version": "Switch version",
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
"select_asset_to_view_details": "选择资产查看详情",
|
||||
"all_collections": "所有媒体合集",
|
||||
"file_not_found": "文件未找到。",
|
||||
"quick_preview": "快速预览",
|
||||
"recently_deleted_notice": "项目将在 30 天后自动删除。",
|
||||
"all_share_links": "所有分享链接",
|
||||
"link_visibility": "链接可见性",
|
||||
@@ -1354,6 +1355,8 @@
|
||||
"linked_tasks_count": "{count} 个任务",
|
||||
"current_project_label": "当前项目",
|
||||
"all_comments": "所有评论",
|
||||
"export_comments": "导出评论",
|
||||
"failed_to_export_comments": "导出评论失败",
|
||||
"previous_file": "上一个文件",
|
||||
"next_file": "下一个文件",
|
||||
"switch_version": "切换版本",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@shumai/webui",
|
||||
"version": "0.4.4",
|
||||
"version": "0.4.5",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"main": "./index.html",
|
||||
|
||||
@@ -1 +1 @@
|
||||
export const APP_VERSION = '0.4.4'
|
||||
export const APP_VERSION = '0.4.5'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@shumai/workflow-core",
|
||||
"version": "0.4.4",
|
||||
"version": "0.4.5",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"main": "./src/index.ts",
|
||||
|
||||
Reference in New Issue
Block a user