Files
AppFlowy-Web/deploy/publish-error.ts
Nathan.fooo 3de8aaa565 refactor: server ts (#179)
* refactor: server ts

* refactor: add more tests
2025-11-27 16:02:54 +08:00

15 lines
300 B
TypeScript

export type PublishErrorCode =
| 'NO_DEFAULT_PAGE'
| 'PUBLISH_VIEW_LOOKUP_FAILED'
| 'FETCH_ERROR'
| 'UNKNOWN_FALLBACK';
export type PublishErrorPayload = {
code: PublishErrorCode;
message: string;
namespace?: string;
publishName?: string;
response?: unknown;
detail?: string;
};