handy online tools for AT Protocol boat.kelinci.net
atproto bluesky atcute typescript solidjs
20
fork

Configure Feed

Select the types of activity you want to include in your feed.

refactor: account -> identity

Mary 0d138720 446b0263

+9 -9
+9 -9
src/views/identity/plc-oplogs.tsx
··· 119 119 let title = 'Unknown log entry'; 120 120 let node: JSX.Element; 121 121 122 - if (diff.type === 'account_created') { 123 - title = `Account created`; 124 - } else if (diff.type === 'account_tombstoned') { 125 - title = `Account tombstoned`; 122 + if (diff.type === 'identity_created') { 123 + title = `Identity created`; 124 + } else if (diff.type === 'identity_tombstoned') { 125 + title = `Identity tombstoned`; 126 126 } else if (diff.type === 'handle_added') { 127 127 const handle = diff.handle; 128 128 ··· 343 343 344 344 type DiffEntry = 345 345 | { 346 - type: 'account_created'; 346 + type: 'identity_created'; 347 347 orig: PlcLogEntry; 348 348 nullified: boolean; 349 349 at: string; ··· 353 353 services: Record<string, { type: string; endpoint: string }>; 354 354 } 355 355 | { 356 - type: 'account_tombstoned'; 356 + type: 'identity_tombstoned'; 357 357 orig: PlcLogEntry; 358 358 nullified: boolean; 359 359 at: string; ··· 458 458 459 459 if (op.type === 'create') { 460 460 history.push({ 461 - type: 'account_created', 461 + type: 'identity_created', 462 462 orig: entry, 463 463 nullified: entry.nullified, 464 464 at: entry.createdAt, ··· 482 482 483 483 if (!prevOp) { 484 484 history.push({ 485 - type: 'account_created', 485 + type: 'identity_created', 486 486 orig: entry, 487 487 nullified: entry.nullified, 488 488 at: entry.createdAt, ··· 658 658 } 659 659 } else if (op.type === 'plc_tombstone') { 660 660 history.push({ 661 - type: 'account_tombstoned', 661 + type: 'identity_tombstoned', 662 662 orig: entry, 663 663 nullified: entry.nullified, 664 664 at: entry.createdAt,