Move collection description rendering to JSON (#6944)
* First pass, moving collection description rendering to JSON * tsc * docs * refactor * test
This commit is contained in:
@@ -10,6 +10,7 @@ import {
|
||||
DocumentPermission,
|
||||
JSONValue,
|
||||
UnfurlResourceType,
|
||||
ProsemirrorData,
|
||||
} from "@shared/types";
|
||||
import { BaseSchema } from "@server/routes/api/schema";
|
||||
import { AccountProvisionerResult } from "./commands/accountProvisioner";
|
||||
@@ -494,7 +495,8 @@ export type CollectionJSONExport = {
|
||||
id: string;
|
||||
urlId: string;
|
||||
name: string;
|
||||
description: Record<string, any> | null;
|
||||
data?: ProsemirrorData | null;
|
||||
description?: ProsemirrorData | null;
|
||||
permission?: CollectionPermission | null;
|
||||
color: string;
|
||||
icon?: string | null;
|
||||
|
||||
Reference in New Issue
Block a user