Skip to content

Commit c6aee0a

Browse files
committed
use uid instead of type
1 parent 0dcb8e7 commit c6aee0a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/roam/src/components/settings/utils/zodSchema.example.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const suggestiveRules: SuggestiveRules = {
4242

4343
const discourseNodeSettings: DiscourseNodeSettings = {
4444
text: "Claim",
45-
type: "_CLM-node",
45+
uid: "_CLM-node",
4646
format: "[[CLM]] - {content}",
4747
shortcut: "C",
4848
tag: "#claim",

apps/roam/src/components/settings/utils/zodSchema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ const booleanWithDefault = (defaultVal: boolean) =>
101101

102102
export const DiscourseNodeSchema = z.object({
103103
text: z.string(),
104-
type: z.string(),
104+
uid: z.string(),
105105
format: stringWithDefault(""),
106106
shortcut: stringWithDefault(""),
107107
tag: stringWithDefault(""),

0 commit comments

Comments
 (0)