@echovisionlab/geul-proto 0.1.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38,7 +38,7 @@ import {
38
38
  } from "./block_content_pb.ts";
39
39
 
40
40
  export const contentBlockCatalogFingerprint =
41
- "1b0b80933dd4e3a92f66d8f85d25c915d74410ee47bb6cf6ec3adffcfe964bc8" as const;
41
+ "e037d77d859734c7c716372434602edfe8872d521e8f0f9b9e28e12827635335" as const;
42
42
  export const contentBlockRuntimeForbiddenFields = [
43
43
  "_tempUrl",
44
44
  "allowOriginalDownload",
@@ -99,6 +99,7 @@ export const richTextBlockKinds = [
99
99
  "map",
100
100
  "file",
101
101
  "callout",
102
+ "mermaid",
102
103
  ] as const;
103
104
  export type RichTextBlockKind = (typeof richTextBlockKinds)[number];
104
105
  export const pageSectionKinds = [
@@ -122,6 +123,7 @@ export const pageSectionKinds = [
122
123
  "map",
123
124
  "immersive-scene",
124
125
  "columns",
126
+ "mermaid",
125
127
  ] as const;
126
128
  export type PageSectionKind = (typeof pageSectionKinds)[number];
127
129
  export const richTextProfiles = {
@@ -143,6 +145,7 @@ export const richTextProfiles = {
143
145
  "map",
144
146
  "file",
145
147
  "callout",
148
+ "mermaid",
146
149
  ],
147
150
  inline_math: true,
148
151
  paragraph_external_video: true,
@@ -174,6 +177,7 @@ export const richTextProfiles = {
174
177
  "math",
175
178
  "file",
176
179
  "callout",
180
+ "mermaid",
177
181
  ],
178
182
  inline_math: false,
179
183
  paragraph_external_video: true,
@@ -206,6 +210,7 @@ export const richTextProfiles = {
206
210
  "map",
207
211
  "file",
208
212
  "callout",
213
+ "mermaid",
209
214
  ],
210
215
  inline_math: true,
211
216
  paragraph_external_video: false,
@@ -238,6 +243,7 @@ export const richTextProfiles = {
238
243
  "map",
239
244
  "file",
240
245
  "callout",
246
+ "mermaid",
241
247
  ],
242
248
  inline_math: true,
243
249
  paragraph_external_video: false,
@@ -1070,6 +1076,23 @@ export const richTextBlockCatalog = {
1070
1076
  },
1071
1077
  content: "inline",
1072
1078
  },
1079
+ mermaid: {
1080
+ fields: {
1081
+ title: {
1082
+ type: "string",
1083
+ default: "",
1084
+ ownership: "locale",
1085
+ translatable: true,
1086
+ },
1087
+ source: {
1088
+ type: "string",
1089
+ default: "",
1090
+ max_length: 100000,
1091
+ ownership: "source",
1092
+ },
1093
+ },
1094
+ content: "none",
1095
+ },
1073
1096
  } as const;
1074
1097
  const richTextInlineStyleCatalog = {
1075
1098
  bold: {
@@ -2739,6 +2762,24 @@ export const pageSectionCatalog = {
2739
2762
  richTextProfile: null,
2740
2763
  columns: true,
2741
2764
  },
2765
+ mermaid: {
2766
+ fields: {
2767
+ title: {
2768
+ type: "string",
2769
+ default: "",
2770
+ ownership: "locale",
2771
+ translatable: true,
2772
+ },
2773
+ source: {
2774
+ type: "string",
2775
+ default: "",
2776
+ max_length: 100000,
2777
+ ownership: "source",
2778
+ },
2779
+ },
2780
+ richTextProfile: null,
2781
+ columns: false,
2782
+ },
2742
2783
  } as const;
2743
2784
  export const pageSectionSettingsCatalog = {
2744
2785
  backgroundColor: {
@@ -2960,6 +3001,7 @@ export const pageColumnChildKinds = [
2960
3001
  "author-list",
2961
3002
  "form",
2962
3003
  "map",
3004
+ "mermaid",
2963
3005
  ] as const;
2964
3006
  export const contentBlockFileReferencePolicies = {
2965
3007
  file: {},
@@ -3002,6 +3044,7 @@ export const richTextBlockKindByProtoCase = {
3002
3044
  map: "map",
3003
3045
  file: "file",
3004
3046
  callout: "callout",
3047
+ mermaid: "mermaid",
3005
3048
  } as const;
3006
3049
  export const pageSectionKindByProtoCase = {
3007
3050
  richText: "rich-text",
@@ -3024,6 +3067,7 @@ export const pageSectionKindByProtoCase = {
3024
3067
  map: "map",
3025
3068
  immersiveScene: "immersive-scene",
3026
3069
  columns: "columns",
3070
+ mermaid: "mermaid",
3027
3071
  } as const;
3028
3072
  export const richTextCollaborativeTextCatalog = {
3029
3073
  paragraph: ["content"],
@@ -3042,6 +3086,7 @@ export const richTextCollaborativeTextCatalog = {
3042
3086
  map: ["props.caption"],
3043
3087
  file: ["props.name", "props.alt", "props.caption"],
3044
3088
  callout: ["props.icon", "content"],
3089
+ mermaid: ["props.title", "props.source"],
3045
3090
  } as const;
3046
3091
  export const pageSectionCollaborativeTextCatalog = {
3047
3092
  "rich-text": [],
@@ -3070,6 +3115,7 @@ export const pageSectionCollaborativeTextCatalog = {
3070
3115
  "units[*].props.text",
3071
3116
  ],
3072
3117
  columns: [],
3118
+ mermaid: ["props.title", "props.source"],
3073
3119
  } as const;
3074
3120
  const profileByNumber = {
3075
3121
  "1": "post",