feat(sync): cn event coverage, bootstrap and outbox sender
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -24,6 +24,10 @@ export const ErrorCodes = {
|
||||
PHOTO_NOT_FOUND: 'PHOTO_NOT_FOUND',
|
||||
PHOTO_NOT_PUBLIC: 'PHOTO_NOT_PUBLIC',
|
||||
VALIDATION_FAILED: 'VALIDATION_FAILED',
|
||||
// P2 Task 3:内部同步接口(/internal/**)HMAC 鉴权失败的 401。AUTH_TOKEN_EXPIRED
|
||||
// 语义绑死观众/员工会话,服务间签名失败复用它会对客户端撒谎;与 openapi.yaml
|
||||
// Error enum 同步增补(1:1 守护见 __tests__/events.test.ts)。
|
||||
SYNC_AUTH_FAILED: 'SYNC_AUTH_FAILED',
|
||||
INTERNAL_ERROR: 'INTERNAL_ERROR',
|
||||
} as const;
|
||||
export type ErrorCode = (typeof ErrorCodes)[keyof typeof ErrorCodes];
|
||||
|
||||
Reference in New Issue
Block a user